nginx and fcgi but error with htaccess
I migrate to nginx and fcgi my vps, I tried and all web sites work fine, but I have a problem with sub directory of a single website, I think that the problem is .htaccess rules
[PHP]
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase /temi
Redirect 301 /temi/contacts.php http://www.maindomain.it/submitticket.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|ico|css|js|swf)$ [NC]
RewriteRule ^(.*)$ index.php/$1 [PT,L]
[/PHP]
-
Hello :) Could you elaborate on what the specific issue you are having with the subdirectory is? Does it not happen with the standard Apache installation? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment