if ($http_host !~ "^vb.sitename.com"){ set $rule_0 1$rule_0; } if ($request_filename ~ "vb/"){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite /(.*) http://vb.dardarkom.com/$1 permanent; break; } rewrite ^/page/(.*)$ /index.php?cstart=$1 last; rewrite ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ /index.php?subactionby st1905 - Nginx Mailing List - English
Hi, That error is because /webhost/tmp/0004372283 is a file but /webhost/tmp/xxxxxxx/ is a directory which is being tried to rename. I wonder what is trying to rename a file to directory ?by st1905 - Nginx Mailing List - English
Never mind, i fixed it on my own. location /ats-plug-helper.php { rewrite ^/ats-plug-helper.php/?$ /includes/ats.php last ; }by st1905 - Nginx Mailing List - English
Hello, Here is the rule from apache RewriteRule ^ats-plug-helper.php/?$ includes/ats.php and here is my rule for nginx rewrite ^/ats-plug-helper.php/?$ /includes/ats.php last ; I`m using php-fpm for php files. The problem is url works www.domain.com/ats-plug-helper.php/ but not with www.domain.com/ats-plug-helper.php Can you please tell me what i`m missing here ? Thanby st1905 - Nginx Mailing List - English
Hi, It says patch: **** malformed patch at line 7: ngx_http_variable_value_t *v, uintptr_t data); Can you please upload a patched version of the .c file or how can i fix that issue ? Thanks.by st1905 - Nginx Mailing List - English
I have fixed this issue, thanks.by st1905 - Migration from Other Servers
I have made a rule like this but not sure if its ok or not rewrite "^/([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$" /index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$6 last;by st1905 - Migration from Other Servers
Hi, I`m struggling to convert the following to nginx rules, can you help me please ? RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$6 RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&amby st1905 - Migration from Other Servers