Welcome! Log In Create A New Profile

Advanced

Windows и пути к папкам (config)

August 15, 2010 03:08PM
Windows XP
на диске есть 2 папки:
C:/Program Files/www/
C:/Program Files/KLUpdater/Updates/
нужно чтобы они были доступны по адресам соответственно:
http://192.168.23.1:8080/
http://192.168.23.1:8080/files/

вот часть конфига:
[code]
server {
listen 192.168.23.1:8080;
server_name megaserver;

location / {
root "C:/Program Files/www/";
index index.html index.htm;
autoindex on;
}

location /files/ {
root "C:/Program Files/KLUpdater/Updates/";
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

}
[/code]

первая папка отображается по своему адресу, но вторая пишет 404 Not Found
что я делаю нетак?
Subject Author Posted

Windows и пути к папкам (config)

Fedia August 15, 2010 03:08PM

Re: Windows и пути к папкам (config)

Igor Sysoev August 15, 2010 03:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 200
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