[code]
server {
listen 80;
server_name www.abc.com;
#root /data0/www/abc;
#index index.htm index.html index.php;
location / {
root /data0/www/abc;
index index.htm index.html index.php;
}
location /blog/ {
alias /data0/www/blog/;
}
#php fastcgi
location ~ \.php$ {
root /data0/www/abc;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf;
}
}
[/code]
http://www.abc.com/blog/index.php [b]error 403[/b]
in this case must copy [b]/data0/www/blog[/b] to [b]/data0/www/abc[/b]? not other idea?