Welcome Guest, Not a member yet? Register   Sign In
Default Controller Route
#3

[eluser]tonanbarbarian[/eluser]
I find that if I have a site in a subfolder of the website and I want to remove the index.php I have to modify the .htaccess

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /testpage/index.php/$1 [L]

You might also be able to do something with the RewriteBase I am not sure
so the following might also work, i think I tried it and it didnt but not sure
Code:
RewriteEngine on
Rewrite Base /testpage/
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]


Messages In This Thread
Default Controller Route - by El Forum - 01-16-2008, 05:33 AM
Default Controller Route - by El Forum - 01-17-2008, 06:19 PM
Default Controller Route - by El Forum - 01-17-2008, 07:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB