Welcome Guest, Not a member yet? Register   Sign In
htaccess + virtualhost + remove index.php
#1

[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.


Messages In This Thread
htaccess + virtualhost + remove index.php - by El Forum - 05-06-2009, 02:05 PM
htaccess + virtualhost + remove index.php - by El Forum - 05-06-2009, 03:43 PM
htaccess + virtualhost + remove index.php - by El Forum - 05-09-2009, 02:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB