05-06-2009, 02:05 PM
[eluser]Unknown[/eluser]
I have some problems with htacces to remove index.php from the URL.
I have read all the post about htaccess, but I didn't find the solution.
My configuration:
ubuntu 8.04 apache2
virtual host points to /home/myuser/www/ci and his url it's http://localhost/www/ci
inside the ci folder I have the system folder and the application/myciapplication
My htaccess:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|js|wms|css|captcha|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
If my url is http://localhost/www/ci/ works
If my url is http://localhost/www/ci/user/login the error is <The requested URL /index.php/home/news was not found on this server.>
What I'm doing wrong?
Thanks for advance.
I have some problems with htacces to remove index.php from the URL.
I have read all the post about htaccess, but I didn't find the solution.
My configuration:
ubuntu 8.04 apache2
virtual host points to /home/myuser/www/ci and his url it's http://localhost/www/ci
inside the ci folder I have the system folder and the application/myciapplication
My htaccess:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|js|wms|css|captcha|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
If my url is http://localhost/www/ci/ works
If my url is http://localhost/www/ci/user/login the error is <The requested URL /index.php/home/news was not found on this server.>
What I'm doing wrong?
Thanks for advance.