Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Simon Vetterli on April 12, 2002, 05:23:18 PM

Title: Hot to change the ServerAlias
Post by: Simon Vetterli on April 12, 2002, 05:23:18 PM
Hi

Wich file I have to change, so it's change the ServerAliases in the httpd.conf?

Like

NameVirtualHost 80.254.173.102


ServerName www.afro-pfingsten.ch
DocumentRoot DOCROOT



ServerName africa.ch
ServerAlias *africa.ch
ServerAlias *africamusic.org
ServerAlias *africulture.com
ServerAlias *afrikamusik.net
...
ServerAlias *afromusic.net
Redirect http://www.africa.ch


Waiting for an answer.

Thanks
Title: Re: Hot to change the ServerAlias
Post by: Luke Drumm on April 12, 2002, 06:43:46 PM
To edit the required file...

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80Aliases00
pico 80Aliases00

The best way to tackle the changes is probably best answered by somebody else but this should at least get you started in the right area...

Regards,
Luke
Title: Re: How to change the ServerAlias
Post by: Simon Vetterli on April 12, 2002, 11:49:31 PM
Hi Luke

Thank's for Yout tip.

But I don't know exactly what I have to change.

Where I can tell on SME wich alias I like to set?

Or do You know the part of it?

Thanks

Simon