nano /home/wwwroot/cn/vhost/qubot.cn.conf
location ~ ^(.+\.php)(.*)$
{
fastcgi_pass unix:/tmp/php-cgi-cn-qubot.cn.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fcgi.conf;
fastcgi_param DOCUMENT_ROOT /home/wwwroot/cn/domain/qubot.cn/web$subdomain;
fastcgi_param SCRIPT_FILENAME /home/wwwroot/cn/domain/qubot.cn/web$subdomain$fastcgi_script_name;
}
暂无评论