correct me if i'm wrongCode:RewriteEngine On RewriteEngine on RewriteRule ^/main/$ / [QSA]
CATdude about IE6: "All your box-model are belong to us"
That doesn't do it
If you want to get rid of the /main/ for every request use this:
All files and folders must then be inside /main/ though (other than this .htaccess file).Code:RewriteEngine On RewriteRule ^main - [L] RewriteRule ^(.*)?$ /main/$1 [QSA]
Try that.Code:RewriteEngine On RewriteRule (.*)/main(.*) $1$2 [QSA]
Yep, that did it. Thank you!
EDIT: Only the first one did it, the second didn't
Last edited by chiefbutz; 09-11-2005 at 09:02 PM.