<div dir="ltr">Добрый вечер,<br>имеем след. конфиг:<br> server {<br> listen 80;<br> server_name nnn;<br> root /home/web/nnn;<br> rewrite ^(.*).(html)$ /index.php?cat=$1&$query_string last;<br>
location / {<br> index index.php index.html index.htm;<br> }<br> location ~ \.php$ {<br> root html;<br> fastcgi_pass <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br>
fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br> log_format cgi '$document_root$fastcgi_script_name';<br> access_log logs/cgi.txt cgi;<br>
include fastcgi_params;<br> }<br> location ~ /\.ht {<br> return 403;<br> }<br><br clear="all">в logs/cgi.txt:<br>/usr/local/nginx/html/index.php<br>Без рерайта $document_root - правильный.<br>
Как можно это объяснить? <br>Заранее спасибо.<br><br>-- <br>С уважением, Борис Долгов.<br>icq 77556665<br>e-mail <a href="mailto:boris@dolgov.name">boris@dolgov.name</a><br>
</div>