[Jifty-commit] r2529 - in jifty/trunk: lib/Jifty/Script

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jan 19 12:59:55 EST 2007


Author: sterling
Date: Fri Jan 19 12:59:54 2007
New Revision: 2529

Modified:
   jifty/trunk/AUTHORS
   jifty/trunk/lib/Jifty/Script/FastCGI.pm

Log:
Added myself to AUTHORS.

Modified: jifty/trunk/AUTHORS
==============================================================================
--- jifty/trunk/AUTHORS	(original)
+++ jifty/trunk/AUTHORS	Fri Jan 19 12:59:54 2007
@@ -21,3 +21,4 @@
 Yves Agostini <agostini at univ-metz.fr>
 Agent Zhang <agentzh at gmail.com>
 Pawel Murias <pmurias at woobling.org>
+Andrew Sterling Hanenkamp <sterling at hanenkamp.com>

Modified: jifty/trunk/lib/Jifty/Script/FastCGI.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/FastCGI.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/FastCGI.pm	Fri Jan 19 12:59:54 2007
@@ -50,6 +50,25 @@
 commandline option C<--maxrequests=N> assigned, the fastcgi process
 will exit after serving N requests. 
 
+An alternative to Apache mod_fastcgi is to use mod_fcgid with mod_rewrite.
+If you use mod_fcgid and mod_rewrite, you can use this in your Apache
+configuration instead:
+
+ DocumentRoot /path/to/your/jifty/app/share/web/templates
+ ScriptAlias /cgi-bin /path/to/your/jifty/app/bin
+ DefaultInitEnv JIFTY_COMMAND fastcgi
+ <Directory /path/to/your/jifty/app/bin>
+     Options ExecCGI
+     SetHandler fcgid-script
+ </Directory>
+ <Directory /path/to/your/jifty/app/share/web/templates>
+     RewriteEngine on
+     RewriteRule ^$ index.html [QSA]
+     RewriteRule ^(.*)$ /cgi-bin/jifty/$1 [QSA,L]
+ </Directory>
+
+It may be possible to do this without using mod_rewrite.
+
 =head2 options
 
 =cut


More information about the Jifty-commit mailing list