Eliminate index.php from URL |
[eluser]Unknown[/eluser]
I follow this structure. / applications/ frontend/ backend/ system/ .htaccess index.php admin/ index.php Now i want to remove index.php from the url. I can access this urls : http://localhost/ci1/ http://localhost/ci1/index.php/welcome but not able to access this url: http://localhost/ci1/welcome I have used this .htaccess to get read of index.php without any success, <IfModule mod_rewrite.c> RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] </IfModule> I have my rewrite mode on, checked in httpd.conf file. Any help would be appreciated.
[eluser]CodeIgniteMe[/eluser]
Try a simpler htaccess. Try the htaccess directives from the userguide http://ellislab.com/codeigniter/user-gui.../urls.html
[eluser]boltsabre[/eluser]
No worries champ;-) Update, sorry i postrd on the wrong post
|
Welcome Guest, Not a member yet? Register Sign In |