However, on one box that uses mod_userdir, anytime that it rewrites the url, it seems to be coming out goofy. What should be converted from
Code: Select all
http://localhost/~foo.com/admin/user/loginCode: Select all
http://localhost/~foo.com/admin/index.php?page=user/loginCode: Select all
http://localhost/C:/Websites/foo.com/trunk/public_html/admin/index.php?page=user/loginCode: Select all
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [R,L,QSA]