Sun Java System Web Server 7.0 Update 3 管理員指南

配置多個 FastCGI 應用程式

您無法透過管理主控台或 CLI 配置多個 FastCGI 應用程式。為解決此問題,您可以修改 obj.conf 檔案,藉以配置多個應用程式。例如:

<If> $uri =~ '^/fcgi/(.*)'>

Service fn="responder-fastcgi" app-path="/export/home/bits/fastcgi/fcgi-2.4.0/examples/$1" app-env="LD_LIBRARY_LIBRARY_PATH=/export/home/bits/fastcgi/fcgi-2.4.0/libfcgi/.libs"</If>

此表示式會建立不需個別配置的 <app-path> 程序。


備註 –

您不可對多個應用程式配置相同的 bind-path。這會導致啟動作業因 bind-path 相同而失敗。