Welcome! Log In Create A New Profile

Advanced

Re: Help with convert .htaccess to nginx :(

October 27, 2011 11:58PM
Thank you. I've changed as you suggested, but it still hasn't worked. When I clicked Next button, it just reloaded the page.

Here is my new nginx configuration file content:
location ~ \.(lock|conf)$ { deny all; }
location ~ pre_.+\.php$ { deny all; }
location ~ /[^.]+$ {
try_files $uri $uri/ $uri.html /index.php;
}
location ~ \.php(/.+)$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME /var/www/siwapp/web$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
}
Subject Author Posted

Help with convert .htaccess to nginx :(

Giang October 27, 2011 11:26PM

Re: Help with convert .htaccess to nginx :(

Edho Arief October 27, 2011 11:36PM

Re: Help with convert .htaccess to nginx :(

Edho Arief October 27, 2011 11:38PM

Re: Help with convert .htaccess to nginx :(

Giang October 27, 2011 11:58PM

Re: Help with convert .htaccess to nginx :(

makononov March 21, 2012 03:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready