htaccess issue after removing index.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: htaccess issue after removing index.php (/showthread.php?tid=11186) |
htaccess issue after removing index.php - El Forum - 08-29-2008 [eluser]socs[/eluser] 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] </IfModule> htaccess issue after removing index.php - El Forum - 08-29-2008 [eluser]socs[/eluser] solved. Possibly unrelated to my htaccess file but to ignore rules for a specific file type can add something like... RewriteCond %{REQUEST_URI} !\.jpeg$ |