Koozali.org: home of the SME Server

Redirect in httpd.conf

Simon Vetterli

Redirect in httpd.conf
« on: April 18, 2002, 11:16:34 AM »
Hi Everybody

I have the follow problem:

I have a SME Vers. 5.1.2 online. Now I like to put a Redirect for each
of the domain inside, like the follow example.

Is it working with SME? If Yes where should I put in? In the file
80Aliases00?

And how I need to write the line for this redirect?

If I open the Browser and I open the location, It's have to change from

www.africa.ch to www.afro-pfingsten.ch  or
www.nomad.li  tp www.afro-pfingsten.ch


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


...

I need it very quickly.

Thanks

Bobby

Re: Redirect in httpd.conf
« Reply #1 on: April 18, 2002, 11:22:44 AM »
Where are the servers you are tring to redirect traffic to?

Are you wanting to proxy the requests or just redirect them?

/B

Simon Vetterli

Re: Redirect in httpd.conf
« Reply #2 on: April 18, 2002, 11:30:50 AM »
On this server I have one domain, the name www.africa.ch (africa.ch).

I also have three other virtual domain on this server, linking to africa.ch.

The ISP, wich have the nameservers for the other domains just has the ip-adresse
for africa.ch.

What I want is, if I put to the location in the browser, that the domainname (e.g. www.africa.ch) changed to (www.afro-pfingsten.ch).

What You mean? Is it possible?

Waiting.

Kenneth Wellin

Re: Redirect in httpd.conf
« Reply #3 on: April 19, 2002, 12:09:22 AM »
Censored