Welcome Guest, Not a member yet? Register   Sign In
.htaccess (to get rid of index.php in URI) and subfolding issue (retard in the house)
#1

[eluser]Dagobert Renouf[/eluser]
Hi guys,

I'm sure you will enlight me within the few minutes with theses 2 simple issues, so let's do it :

1) I set up the .htacces file to get ird of index.php in the URI in my system/application folder, but it doesn't seem to do anything (I'm in localhost, could it be the problem ?).

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

2) I'm creating my admin zone and the subfolding is tricking me:
- here's my tree to access the post.php controller : \system\application\controllers\admin\blog\post.php
- here's the uri I'm using : index.php/admin/blog/post/

but i have a 404 :-(.

Hope you gurus would be able to help me out.


Messages In This Thread
.htaccess (to get rid of index.php in URI) and subfolding issue (retard in the house) - by El Forum - 06-16-2008, 05:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB