summaryrefslogtreecommitdiff
path: root/py2/cherrypy/test/fcgi.conf
diff options
context:
space:
mode:
Diffstat (limited to 'py2/cherrypy/test/fcgi.conf')
-rw-r--r--py2/cherrypy/test/fcgi.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/py2/cherrypy/test/fcgi.conf b/py2/cherrypy/test/fcgi.conf
new file mode 100644
index 00000000..8cf24b64
--- /dev/null
+++ b/py2/cherrypy/test/fcgi.conf
@@ -0,0 +1,14 @@
+
+# Apache2 server conf file for testing CherryPy with mod_fcgid.
+
+DocumentRoot "C:\Python25\Lib\site-packages\cherrypy\test"
+ServerName 127.0.0.1
+Listen 8080
+LoadModule fastcgi_module modules/mod_fastcgi.dll
+LoadModule rewrite_module modules/mod_rewrite.so
+
+Options ExecCGI
+SetHandler fastcgi-script
+RewriteEngine On
+RewriteRule ^(.*)$ /fastcgi.pyc [L]
+FastCgiExternalServer "C:\\Python25\\Lib\\site-packages\\cherrypy\\test\\fastcgi.pyc" -host 127.0.0.1:4000