Oliver Schoenborn wrote:
I have a simple problem: the URL root for a client website we are
setting up is http://foo.com/bar/*, but our client wants access to be
it via http://dodo.foo.com <http://qun.foo.com>/*, how would I set
this up? I have used mod_proxy in the past for something similar but
this doesn’t seem to be applicable here. I think mod_rewrite could
handle it but it is rather complicated to learn in short time, if
there is a simpler way or an example somewhere a link would be greatly
appreciated. Cheers,
Oliver
In your virtualhost add the line:
<VirtualHost>
ServerName foo.com
ServerAlias dodo.foo.com
...
...
</VirtualHost>
but you need to ensure that dodo.foo.com is also registered. Usually you
can do this through the same account as foo.com.
--
Norman Registered Linux user #461062 -Have you been to www.apache.org yet?-
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org