Re: [users@httpd] Virtual Host or mod_rewrite

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

 



> I am a pretty new user to Apache and I set up networks for small 
> businesses (file storage, e-mail, security, etc...). One issue I'm 
> having is that I have a number of services that allow users to 
> complete work remotely and also allow me to administer their servers
> remotely. The downside is that because they're small businesses, 
> they only have one static IP address.
> 
> Here is my question: In order to get domain names to point to the 
> right resources, do I use virtual hosts or mod_rewrite?

Named-based virtual hosts are what you want to use. There is a good 
explanation at http://httpd.apache.org/docs/2.0/vhosts/ on how to 
configure vhosts.

You can then use mod_rewrite inside your vhosts for whatever url 
manipulations you want to do

Regards,

Gaël

---------------------------------------------------------------------
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