• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Eliminating the index.php

#21
[eluser]Rowan Wilson[/eluser]
Append a trailing slash on your base_url:

Code:
$config['base_url'] = 'http://localhost/safememoirs/';

You can even try it without the base_url set.

If that doesn't work can try wrapping your htaccess inside IfModule:

Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Hide the application and system directories by redirecting the request to index.php
RewriteRule ^(application|system|\.svn) index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>

Otherwise, if you are certain mod_rewrite is working, check your apache logs? Looks like a server configuration rather than a CI configuration.


Messages In This Thread
Eliminating the index.php - by El Forum - 01-07-2013, 11:36 AM
Eliminating the index.php - by El Forum - 01-07-2013, 11:50 AM
Eliminating the index.php - by El Forum - 01-07-2013, 11:50 AM
Eliminating the index.php - by El Forum - 01-07-2013, 11:56 AM
Eliminating the index.php - by El Forum - 01-07-2013, 12:04 PM
Eliminating the index.php - by El Forum - 01-07-2013, 12:11 PM
Eliminating the index.php - by El Forum - 01-08-2013, 02:38 AM
Eliminating the index.php - by El Forum - 01-08-2013, 02:53 AM
Eliminating the index.php - by El Forum - 01-08-2013, 02:59 AM
Eliminating the index.php - by El Forum - 01-08-2013, 03:11 AM
Eliminating the index.php - by El Forum - 01-08-2013, 03:12 AM
Eliminating the index.php - by El Forum - 01-08-2013, 03:19 AM
Eliminating the index.php - by El Forum - 01-08-2013, 03:40 AM
Eliminating the index.php - by El Forum - 01-09-2013, 02:49 AM
Eliminating the index.php - by El Forum - 01-09-2013, 02:53 AM
Eliminating the index.php - by El Forum - 01-09-2013, 03:03 AM
Eliminating the index.php - by El Forum - 01-09-2013, 03:27 AM
Eliminating the index.php - by El Forum - 01-09-2013, 03:39 AM
Eliminating the index.php - by El Forum - 01-09-2013, 03:53 AM
Eliminating the index.php - by El Forum - 01-09-2013, 04:00 AM
Eliminating the index.php - by El Forum - 01-09-2013, 04:01 AM
Eliminating the index.php - by El Forum - 01-09-2013, 04:22 AM
Eliminating the index.php - by El Forum - 01-09-2013, 04:32 AM
Eliminating the index.php - by El Forum - 01-09-2013, 04:36 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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