Commit 2fca4fd2 authored by Leigh Stoller's avatar Leigh Stoller

Add FCGID section for fast RPC path.

parent fc80556a
......@@ -853,6 +853,23 @@ SSLRequire ( %{SSL_CLIENT_S_DN_OU} ne "sslxmlrpc" )
ScriptAlias /protogeni/xmlrpc @prefix@/protogeni/xmlrpc/protogeni-wrapper.pl
<IfDefine PGENI_FCGID>
LoadModule fcgid_module libexec/apache22/mod_fcgid.so
FcgidBusyTimeout 1000
FcgidIOTimeout 1000
FcgidMaxProcessesPerClass 25
<LocationMatch "/protogeni/xmlrpc/(root|cluster)/*">
FcgidWrapper @prefix@/protogeni/xmlrpc/cluster-wrapper.pl
SetHandler fcgid-script
Options +ExecCGI
SSLRequireSSL
SSLOptions +StdEnvVars +ExportCertData
Order deny,allow
allow from all
</LocationMatch>
</IfDefine>
<Directory "@prefix@/www/protogeni">
SSLRequireSSL
Order deny,allow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment