mod_rewrite virtual hosting question...

Mike Garfias mike at garfias.org
Wed May 24 16:04:11 MST 2006


try mod_vhost

jon spoke forth with the blessed manuscript:
> I'm totally confused when it comes to mod_rewrite, but here's what I'm 
> trying to do -- redirect any instance of a given domain to a specific 
> folder.
> 
> So.... let's say I want to visit example.com/index.php, the request 
> should go to /var/www/sites/example.com/index.php
> 
> What I'm looking for is something flexible -- I don't want to have to 
> add vhosts everytime we add a domain to the server, just a site.com 
> folder in /var/www/sites
> 
> Can anyone help... or point the way to good resources?
> 
> Thanks....
> 
> 	-- jon
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list