• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.