Re: best way to modify a URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux