Всем привет!<br><br>Есть .htaccess, я пытаюсь прописывать rewrite в nginx.conf (вне секций location), в таком виде<br>rewrite ^/installer/(.*)$ /installer/index.php last;<br>или<br>rewrite ^/installer/$ /installer/index.php last;<br>
<br>вместо<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>
RewriteRule ^installer/(.*) installer/index.php [L]<br><br>и не работает! Помогите, где ошибка ?<br>
 <br>.htaccess:<br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule
^shop/(repo_themes|js|3rdparty|images_common|products_pictures|images|themes|css)/(.*)$
published/SC/html/scripts/$1/$2?frontend=1 [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule ^shop/(imgval.php|wbs_messageserserver.php) published/SC/html/scripts/$1 [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>
RewriteRule
^(repo_themes|js|3rdparty|images_common|products_pictures|images|themes|css)/(.*)$
published/SC/html/scripts/$1/$2?frontend=1 [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule ^(imgval.php|wbs_messageserserver.php|get_file.php) published/SC/html/scripts/$1 [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>
RewriteRule ^shop(.*) published/SC/html/scripts/$1&amp;frontend=1 [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule ^login/(.*) login/index.php [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule ^installer/(.*) installer/index.php [L]<br>
<br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteRule ^published/$ published/index.php [L]<br><br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteCond %{REQUEST_URI} !^published<br>RewriteRule (.*) published/SC/html/scripts/index.php?__furl_path=$1&amp;frontend=1 [QSA]<br>
<br>Спасибо!<br>