This is a discussion on Re: url redirect in Apache within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi Davide I have tryed this: <VirtualHost 192.168.3.10> DocumentRoot .../site ServerName www.a-a.com ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi Davide I have tryed this: <VirtualHost 192.168.3.10> DocumentRoot .../site ServerName www.a-a.com ServerAlias www.aa.com a-a.com www.a-a.com CustomLog "| ...... .... .... </VirtualHost> as you so kind surgested. But it does not work. I still get the default errorpage from the HTTP-server, and the url is still www.aa.com. Please advise on what to do... Regards brian Tolstrup -- Tolstrup ------------------------------------------------------------------------ Posted via http://www.webservertalk.com ------------------------------------------------------------------------ View this thread: http://www.webservertalk.com/message249739.html |
|
|||
|
"Tolstrup" <Tolstrup.17ciz0@mail.webservertalk.com> schreef in bericht
news:Tolstrup.17ciz0@mail.webservertalk.com... > <VirtualHost 192.168.3.10> > DocumentRoot .../site > ServerName www.a-a.com > ServerAlias www.aa.com a-a.com www.a-a.com > CustomLog "| ...... > ... > ... > </VirtualHost> http://httpd.apache.org/docs-2.0/mod...ml#serveralias "The ServerAlias directive sets the alternate names for a host, for use with /name-base virtual hosts/" I'ld prefer to redirect these aliasses to the true domain; at least safes you from (failing) cross-domain cookies. HansH |