artemis
05-14-2008, 01:50 PM
Hi, I'm getting very confused with mod_rewrite.. what i want is to redirect all requests to the main domain to a folder i.e.
www.example.com/index.php
Go's to:
www.example.com/folder/index.php
(I don't want the folder name to be visible)
I keep on getting internal server errors though, the code is:
RewriteRule ^(.*) /folder/$1 [L,QSA]
Thanks!
www.example.com/index.php
Go's to:
www.example.com/folder/index.php
(I don't want the folder name to be visible)
I keep on getting internal server errors though, the code is:
RewriteRule ^(.*) /folder/$1 [L,QSA]
Thanks!