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

#22
[eluser]GabrieleMartino[/eluser]
[quote author="Rowan Wilson" date="1357729266"]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.[/quote]

If I check the error-log of apache (and not the normal but the dummy error-log) i get that it is looking for the index.php in the root directory and not in the one of the project the error
is
Code:
script '/srv/www/htdocs/index.php' not found or unable to stat, referer: http://localhost/safememoirs/index.php

I'll try to check the solution and If i get it I will post the exact version of the htaccess

Thanks


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-2020 MyBB Group.