need to know if I can use this in my .htaccess file:
--------------------------------------------------------------------------------
RewriteEngine On
RewriteCond %{REMOTE_USER} ^userx
RewriteRule ^/$ http://www.mysite.com/new/directory/userx/ [R]
RewriteCond %{REMOTE_USER} ^usery7
RewriteRule ^/$ http://www.mysite.com/new/directory/usery/ [R]
---------------------------------------------------------------------------------
what it should do is redirect a selected user to a predefined directory. I do not want to a standerd redirect due to mutiple users accessing the directory each with their own predefined base directory, and i do not want to use a cgi script so I can keep the stress on the system down, and I thought it would be cool to use mod_rewrite.
David Gutieirrez


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks