httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave [Hawk-Systems]" <>
Subject [users@httpd] RewriteRule - works for /~user/ but not /user/
Date Tue, 28 Oct 2003 14:50:20 GMT
have a domain name just for user personal sites.
mod_userdir makes "" work just fine.
user homedirs are in the /www/vhosts/username
mod_userdir correctly pushes ~user into the user public_html directory
	UserDir public_html

want to provide similar functionality to "".

using the below RewriteRule ends up dumping me in the /www directory though
    RewriteRule ^/([a-z0-9A-Z\.\-]+)(.*) /www/vhosts/$1/public_html/$2

excerpt from httpd.conf
RewriteEngine on
    DocumentRoot /www
    RewriteRule ^/([a-z0-9A-Z\.\-]+)(.*) /www/vhosts/$1/public_html/$2

comments appreciated.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message