View Single Post
Old 06-11-2012, 11:28 AM  
Just Alex
Liv Benson to You, Bitch
 
Just Alex's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Maryland and WV
Posts: 6,060
Quote:
Originally Posted by - Jesus Christ - View Post
Fucking LOVE nginx! A bad implementation wouldn't kill images based on .htaccess rules. It could bypass them if you are not correctly passing the request to apache.

You might need a rewrite base defined. Try this.

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php
You know what it was? Upper case !-d and !-f

WTF? works once I changed it to lower case.
__________________
Just Alex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote