Welcome! Log In Create A New Profile

Advanced

Re: satisfy problem

lhmwzy
April 08, 2011 12:56AM
my conf is:

server {
listen 80;
server_name 10.66.23.112;
#charset koi8-r;
more_set_headers "Server:lhmwzy web server";
access_log off;
root /usr/www/112/www;
index index.php index.html index.htm;
location ^~ /phpmyadmin/
{
satisfy any;
#allow 10.68.136.241;
allow 10.68.9.210;
deny all;
auth_basic "passwd";
auth_basic_user_file ksadminpasswd;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:10080;
include fastcgi;
fastcgi_index index.php;
}
}

location ~ \.php$ {
fastcgi_pass 127.0.0.1:10080;
include fastcgi;
fastcgi_index index.php;
}

error_page 401 403 /error/401.html;
error_page 404 /error/404.html;
error_page 500 502 503 504 = /error/50x.html;
}

When access phpmyadmin from 10.68.136.241, nginx can not show the
/error/401.html,but the default 401 error_page.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

satisfy problem

lhmwzy April 07, 2011 11:54AM

Re: satisfy problem

Francis Daly April 07, 2011 01:02PM

Re: satisfy problem

Thomas Love April 07, 2011 02:28PM

Re: satisfy problem

lhmwzy April 07, 2011 07:54PM

Re: satisfy problem

lhmwzy April 07, 2011 07:54PM

Re: satisfy problem

Oleksandr V. Typlyns'kyi April 07, 2011 08:10PM

Re: satisfy problem

lhmwzy April 08, 2011 12:18AM

Re: satisfy problem

lhmwzy April 08, 2011 12:56AM

Re: satisfy problem

Igor Sysoev April 11, 2011 06:14AM

Re: satisfy problem

Igor Sysoev April 11, 2011 06:20AM

Re: satisfy problem

lhmwzy April 11, 2011 10:52AM

Re: satisfy problem

lhmwzy April 11, 2011 10:50AM

Re: satisfy problem

lhmwzy April 11, 2011 11:02AM

Re: satisfy problem

ylshjx April 11, 2011 10:20PM

Re: satisfy problem

ylshjx April 11, 2011 10:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready