• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess issue after removing index.php

Need help...

After removing index.php using the following rules in my .htaccess file I can no longer create images on my server. Looks like it checks if the image file exists and if not trys to route it thru the index.php file.

Is there a way to skip the index.php rule for file creation in a specific directory ?

# Use PHP5CGI as default
AddHandler fcgid-script .php
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [QSA,L]

solved. Possibly unrelated to my htaccess file but to ignore rules for a specific file type can add something like...
RewriteCond %{REQUEST_URI} !\.jpeg$

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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