Welcome Guest, Not a member yet? Register   Sign In
problem of remove index.php from uri
#1

[eluser]vantao[/eluser]
my project structure is:
----root-
-system-
-application
-cache
-...
-index.php

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


while i put .htaccess with the same level with system folder and index.php,it returned nothing.while i check the access.log,there is a 404 message. then i put .htaccess under system folder,the same level with application folder, it works,but only to index.php,while i'm trying to access other target without typing index.php in uri, i got a 404 message too.

what's wrong?anyone help me?


thanks!


Messages In This Thread
problem of remove index.php from uri - by El Forum - 10-03-2009, 07:50 AM
problem of remove index.php from uri - by El Forum - 10-05-2009, 05:01 PM
problem of remove index.php from uri - by El Forum - 10-05-2009, 05:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB