OLD | NEW |
(Empty) | |
| 1 # Apache2 server conf file for using CherryPy with mod_fcgid. |
| 2 |
| 3 # This doesn't have to be "C:/", but it has to be a directory somewhere, and |
| 4 # MUST match the directory used in the FastCgiExternalServer directive, below. |
| 5 DocumentRoot "C:/" |
| 6 |
| 7 ServerName 127.0.0.1 |
| 8 Listen 80 |
| 9 LoadModule fastcgi_module modules/mod_fastcgi.dll |
| 10 LoadModule rewrite_module modules/mod_rewrite.so |
| 11 |
| 12 Options ExecCGI |
| 13 SetHandler fastcgi-script |
| 14 RewriteEngine On |
| 15 # Send requests for any URI to our fastcgi handler. |
| 16 RewriteRule ^(.*)$ /fastcgi.pyc [L] |
| 17 |
| 18 # The FastCgiExternalServer directive defines filename as an external FastCGI ap
plication. |
| 19 # If filename does not begin with a slash (/) then it is assumed to be relative
to the ServerRoot. |
| 20 # The filename does not have to exist in the local filesystem. URIs that Apache
resolves to this |
| 21 # filename will be handled by this external FastCGI application. |
| 22 FastCgiExternalServer "C:/fastcgi.pyc" -host 127.0.0.1:8088 |
OLD | NEW |