On Thu, Nov 25, 2010 at 08:12:31AM -0500, r00t wrote:
> Vladimir Rusinov Wrote:
> -------------------------------------------------------
> >
> > В конфиге вроде все
> > правильно. Смотрите error
> > логи на предмет того что
> > там
> > происходит - возможно у nginx
> > по какой-то причине нет
> > доступа к файлу с
> > текстом ошибки.
>
> В логах нечего нет конкретного на счет
> доступа к файлу .
>
> [code]
> 2010/11/25 15:50:07 [notice] 11253#0: using the "kqueue" event method
> 2010/11/25 15:50:07 [notice] 11253#0: nginx/0.7.67
> 2010/11/25 15:50:07 [notice] 11253#0: OS: FreeBSD 8.1-RELEASE
> 2010/11/25 15:50:07 [notice] 11253#0: kern.osreldate: 801000, built on
> 801000
> 2010/11/25 15:50:07 [notice] 11253#0: hw.ncpu: 2
> 2010/11/25 15:50:07 [notice] 11253#0: machdep.hlt_logical_cpus: 0
> 2010/11/25 15:50:07 [notice] 11253#0: net.inet.tcp.sendspace: 32768
> 2010/11/25 15:50:07 [notice] 11253#0: kern.ipc.somaxconn: 128
> 2010/11/25 15:50:07 [notice] 11253#0: getrlimit(RLIMIT_NOFILE):
> 11095:11095
> 2010/11/25 15:50:07 [notice] 11254#0: start worker processes
> 2010/11/25 15:50:07 [notice] 11254#0: start worker process 11255
> 2010/11/25 15:53:13 [error] 11255#0: *1 access forbidden by rule,
> client: 192.168.0.147, server: 192.168.0.185, request: "GET / HTTP/1.1",
> host: "192.168.0.185"
> 2010/11/25 15:53:13 [error] 11255#0: *1 access forbidden by rule,
> client: 192.168.0.147, server: 192.168.0.185, request: "GET / HTTP/1.1",
> host: "192.168.0.185"
> 2010/11/25 15:53:18 [error] 11255#0: *1 access forbidden by rule,
> client: 192.168.0.147, server: 192.168.0.185, request: "GET / HTTP/1.1",
> host: "192.168.0.185"
> 2010/11/25 15:53:18 [error] 11255#0: *1 access forbidden by rule,
> client: 192.168.0.147, server: 192.168.0.185, request: "GET / HTTP/1.1",
> host: "192.168.0.185"
> [/code]
location = /error.html {
allow any;
root /usr/local/www/nginx-dist;
}
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru