Hi there
I have a problem when trying to redirect an URL. So please help me if
you can, because I am going crazy on this....
The platform is an IBM Apache HTTP Server V. 1.3 and an IBM Application
Server V. 4.x running a Devine solution.
Now my problem is that we have two URL's how should be showing the same
site.
Exampel:
We have already a site called
www.a-a.com. But now we have included the
URL
www.aa.com to oure litle firm. So now we would like the two URL's
to point to the same instance of the WAS.
I am already having this listed in my httpd.conf file:
<VirtualHost 192.168.3.10>
DocumentRoot .../site
ServerName
www.a-a.com
CustomLog "| ......
...
...
</VirtualHost>
And that work fine - we can see the site and so on.
Now I have tryed doing like this/adding this to the httpd.conf file:
<VirtualHost 192.168.3.10>
DocumentRoot .../site
ServerName aa.com
ServerAlias
www.aa.com a-a.com
www.a-a.com
</VirtualHost>
The total is now:
<VirtualHost 192.168.3.10>
DocumentRoot .../site
ServerName
www.a-a.com
CustomLog "| ......
...
...
</VirtualHost>
<VirtualHost 192.168.3.10>
DocumentRoot .../site
ServerName aa.com
ServerAlias
www.aa.com a-a.com
www.a-a.com
</VirtualHost>
But this does not work !??? I can reach the default errorpage of the
HTTP-server - but not get into the WAS or even the requested(redirected
URL).
There is a DNS server in oure enviroment, so we do not have to change
any windows HOSTS files.
I hope someone can help - and understand my english
Regards
Brian Tolstrup
--
Tolstrup
------------------------------------------------------------------------
Posted via
http://www.webservertalk.com
------------------------------------------------------------------------
View this thread:
http://www.webservertalk.com/message249739.html