Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nginx предлагает скачать index .php
- To: nginx-ru@xxxxxxxxx
- Subject: nginx предлагает скачать index .php
- From: "alexch" <nginx-forum@xxxxxxxx>
- Date: Thu, 20 Jan 2011 12:32:36 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=q4OvXDU2nqmVza+MxeKXKH2ExfU4P+78/poLChuBwrQ=; b=Ywedf3IiZguJHC/bfNokOTw/PzegtLRjH3SptwNNMynYiSiKltRgDCvRxmVj6E+qwkFB5NQe7bZq/YaqilQfpstZV86it/Uu0KQONldbM4m0h9eFePwk8cj7RryaAHDE;
Дд всем
apache+nginx
server {
listen 80;
server_name xxxx;
root /usr/home/xxxx/www/;
server_name_in_redirect off;
location / {
index index.html index.htm;
proxy_pass http://127.0.0.1:88/;
proxy_cache all;
.........
location /eng/adm/ { ; в папке admin
есть папки stat и news
index index.php index.html;
allow 192.168.1.0/24;
auth_basic "Engine admin";
auth_basic_user_file /usr/local/etc/apache/users;
deny all;
}
браузер по этому линку
http://xxx/eng/adm/stat/index.php предлагает скачать
index.php
по линку http://xxx/eng/adm/news/index.php -
аналогично
как поправить?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,167963,167963#msg-167963
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|