Include don't Loading have Variables Path
Nginx fans
lists at ruby-forum.com
Wed Dec 30 10:54:58 MSK 2009
server {
listen 80;
server_name localhost;
charset utf-8;
location / {
set $web_root d:/website/wordpress;
root $web_root;
index index.html index.htm index.php;
}
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 $web_root;
}
location ~ \.php$ {
root $web_root;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$web_root$fastcgi_script_name;
include fastcgi_params;
}
include $web_root/.htaccess;
}
###
include $web_root/.htaccess; This is load Rewrite Rule for nginx
But Nginx don't load why?
[emerg]: CreateFile() "D:\nginx/conf/$web_root\.htaccess" failed (3: The
system cannot find the path specified) in D:\nginx/conf/nginx.conf:42
How should I do? How do NGINX make it support.
please thanks.
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list