Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nginx+dokuwiki+wikifarm - sitemap problem
- To: nginx-ru@xxxxxxxxx
- Subject: Nginx+dokuwiki+wikifarm - sitemap problem
- From: Roman Vasilev <2rvasilev@xxxxxxx>
- Date: Wed, 8 Feb 2012 21:38:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rhjc6uNlmJAlAyKnRTIMvSpGFaExL+V7Vwghk0LtOo4=; b=sCfvj8RHRWGMWw0yRMqCm+KnG5li1XBKX5GTve21wFlHhtbnJaC+S6UkHM3cPYHu+D mkAB9Z45sFKrJ1kE6MWOYodARyPKkXRPex2P68Y6ct3Rcgos92nh0Gn5oOJOUUo017N8 yXUNy96rkCPWAjypEV4dqDePvUT/FwnsoRvao=
Здравствуйте.
В наличие имеется
1. докувики в конфинурации фермы http://www.dokuwiki.org/tips:farm
2. конфиг nginx
####
server {
server_name wiki.com; ###домен подопечной вики
access_log /srv/www/wiki.farmer/logs/access.log;
error_log /srv/www/wiki.farmer/logs/error.log;
root /srv/www/wiki.farmer/htdocs; ###расположение "фермера"
server_name_in_redirect off;
location ~ /(data|conf|bin|inc)/ {
deny all;
}
location = /(robots.txt|favicon.ico) { access_log off; log_not_found off; }
location ~ ^.*\.(css|js|png|jpg|ico|gif|html??)$ {
allow all;
add_header Vary Accept-Encoding;
}
location / {
index doku.php;
try_files $uri $uri/ @dokuwiki;
}
location @dokuwiki {
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=$1 last;
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=$1 last;
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_$1&id=$2 last;
rewrite ^/(.*) /doku.php?id=$1&$args last;
rewrite ^/tag/(.*) /doku.php?id=tag:$1&do=showtag&tag=tag:$1 last;
}
location ~ \.php$ {
if (!-f $request_filename) { return 404; }
limit_req zone=flood burst=5;
include fastcgi.conf;
fastcgi_pass my_php;
}
}###server
####
При попытке создать sitemap созерцаю ошибку
####
2012/02/08 21:32:49 [error] 17281#0: *2363 access forbidden by rule,
client: *.*.*.* server: wikifarmer.me, request: "GET
/doku.php?do=sitemap
####
Подскажите, где в конфиге ошибка.
Спасибо.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|