• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index.php .htaccess trick won't work

#1
[eluser]timpiele[/eluser]
I am on a CentOS server and .htaccess files work everywhere else on my server but in CI.

Trying to remove the index.php of course using this snippet in my application/.htaccess file:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

I am just using those three lines, that's it and I get
a Page Forbidden error...



Messages In This Thread
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 02:00 PM
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 03:07 PM
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 06:21 PM
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 11:06 PM
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 11:25 PM
index.php .htaccess trick won't work - by El Forum - 02-08-2012, 11:56 PM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 01:25 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 01:43 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 01:50 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 01:53 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:09 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:33 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:34 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:37 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:45 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:45 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 02:50 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 10:45 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 11:29 AM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 03:44 PM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 04:18 PM
index.php .htaccess trick won't work - by El Forum - 02-09-2012, 04:34 PM
index.php .htaccess trick won't work - by El Forum - 02-10-2012, 09:00 AM
index.php .htaccess trick won't work - by El Forum - 02-10-2012, 11:06 AM
index.php .htaccess trick won't work - by El Forum - 02-10-2012, 04:19 PM
index.php .htaccess trick won't work - by El Forum - 02-10-2012, 07:09 PM
index.php .htaccess trick won't work - by El Forum - 02-11-2012, 04:15 AM
index.php .htaccess trick won't work - by El Forum - 02-11-2012, 05:09 AM
index.php .htaccess trick won't work - by El Forum - 02-12-2012, 12:50 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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