Welcome Guest, Not a member yet? Register   Sign In
remove index.php from urls using apache httpd.conf
#1

[eluser]omx[/eluser]
Hi, have viewed the wiki and after extensive googling I still can't get this to work...

Have inserted the following into my httpd.conf file (and yes mod_rewrite.so is enabled)

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^(/index\.php|/img|/js|/css|/robots\.txt|/favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

With this enabled I get a 404 when I point to:

http://localhost/CodeIgniter/index.php/welcome

Any ideas?

Cheers!


Messages In This Thread
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 05:08 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 05:12 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 06:19 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 06:44 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 07:57 AM
remove index.php from urls using apache httpd.conf - by El Forum - 08-04-2010, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB