nginx
(1)
location /blog {
alias /var/www/YoungFlower/WordPress;
index index.php;
}
location ~ ^/blog/.+\.php$ {
root /var/www/YoungFlower/WordPress/;
rewrite /blog/(.*\.php?) / $1 break;
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}
(2)
nginx PHP_SELF