Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WebDav на Windows
 
- To: nginx-ru@xxxxxxxxx
 
- Subject: WebDav на Windows
 
- From: "antarey" <nginx-forum@xxxxxxxx>
 
- Date: Tue, 15 Oct 2013 06:45:32 -0400
 
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x;  h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=V2R4kfvijyZMwYn2dwnWMIHlIrDN+f3wAo2rvYdaFmI=;  b=RVoWNvC/q3EA8wbev7qUJvbsSuNXkWc+J3nmGsGE+JYQGxBSztbl7BLz4ugZ/yPz4bAnfD4zglkAe3K7eJSIm0qycASCwcPABsVPOL9/x6z7r6u5KKIiNDBQWOTsoKGR2SQejY6vF4GnGGVaQaPn5hsIsKX8Prqd18X5LgUoyaE=;
 
 
 
Здравствуйте. Помогите поднять webdav с помощью nginx на Windows.
Скачал  nginx/Windows-1.5.6
Согласно инстукций настроил вебдав
вот конф 
#user  nobody;
worker_processes  1;
error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;
#pid        logs/nginx.pid;
events {
    worker_connections  1024;
}
http {
    include       mime.types;
    default_type  application/octet-stream;
    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request"
'
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';
    #access_log  logs/access.log  main;
    sendfile        on;
    #tcp_nopush     on;
    #keepalive_timeout  0;
    keepalive_timeout  65;
    #gzip  on;
    server {
        listen       8080;
        server_name  webdav;
        charset utf-8;
        #access_log  logs/host.access.log  main;
        location / {
            auth_basic           "Закритий сайт";
            auth_basic_user_file ./conf/htpasswd;
            root    html;
            client_body_temp_path ./temp/client_body_temp;
            dav_methods PUT DELETE MKCOL COPY MOVE;
            create_full_put_path  on;
            dav_access user:rw group:rw all:rw;
    limit_except GET {
        allow 127.0.0.1;
        deny  all;
    }
#            root   html;
#            index  index.html index.htm;
        }
        #error_page  404              /404.html;
        # redirect server error pages to the static page /50x.html
        #
##        error_page   500 502 503 504  /50x.html;
##        location = /50x.html {
##            root   html;
##        }
Если удаляю index.htm   получаю 403 ошибку. Подключить диск net use *
127.0.0.1:8080 не могу - сетевой ресурс не доступен
Что я делаю не так??? или надо перекомпилировать  ?? - если да то как сие
реализовать в винде?
И второй вопрос - как раздавать конкретным пользователям конкретные права на
конкретные папки?
Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,243701,243701#msg-243701
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
 
 |