Zhang Jiuan’ Notes

VirtualHost + FastCGIExternalServer

在前面两篇文章讨论了VirtualHost相关配置,实际上当脚本程序(php, cgi等)采用cgi服务形势运行的时候,

虚拟主机的多服务并行同样适用。

只需要在对应VirtualHost内部添加FastCGIExtenalServer项即可。

 <VirtualHost *:80>
 ServerAdmin webmaster@jiuansafe.cn

….

FastCGIExternalServer /home/blog/blog/index.php -host 127.0.0.1:8080

</VirtualHost>

即可使用,多个虚拟主机,同样配置。

 

thx

张久安

If you enjoyed this post, make sure you subscribe to my RSS feed!

No Comments, Comment or Ping

Reply to “VirtualHost + FastCGIExternalServer”

You must be logged in to post a comment.

返回顶部