From: <a_...@us...> - 2006-02-01 16:37:42
|
Update of /cvsroot/openinteract/OpenInteract2/sample/apache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32469 Modified Files: FILES httpd_cgi_solo.conf Added Files: httpd_fcgi_solo.conf Log Message: A separate config file for fcgi --- NEW FILE: httpd_fcgi_solo.conf --- # Change manually: # -- Change '127.0.0.1' to your IP address # -- Change 'web...@my...' to your contact e-mail address # -- Change 'www.mycompany.com' to your website hostname # If you're using Named virtual hosts, just remove the 'Listen' line Listen 127.0.0.1:80 <VirtualHost 127.0.0.1:80> Port 80 ServerAdmin web...@my... ServerName www.mycompany.com #SuexecUserGroup user group DocumentRoot [% website_dir %]/html LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog [% website_dir %]/logs/access_log combined ErrorLog [% website_dir %]/logs/error_log AddHandler fastcgi-script .fcgi Alias /cgi-bin [% website_dir %]/cgi-bin <Directory [% website_dir %]/cgi-bin> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> # Override any global /images alias #Alias /images [% website_dir %]/html/images # This sends all incoming requests (except for images, robot help and # dumb Code Red requests) to the OpenInteract cgi script handler # (/cgi-bin/oi2.cgi) # Tell mod_rewrite to start working for this VirtualHost RewriteEngine On # Any URL beginning with /images will be answered by this server and # no further mod_rewrite rules will be processed RewriteRule ^/images - [L] # Enable your front-end server to handle search engine requests RewriteRule ^/robots\.txt - [L] # Discard (with a '403 Forbidden') requests for the Code Red document # (hole in IIS servers that can keep your server busy...) RewriteRule ^/default\.ida - [F] # Pass all other request to the oi2 cgi script RewriteRule ^/(.*) [% website_dir %]/cgi-bin/oi2.fcgi/$1 [L] </VirtualHost> Index: FILES =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/apache/FILES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FILES 5 Jan 2004 11:49:39 -0000 1.2 --- FILES 1 Feb 2006 16:37:28 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- httpd_cgi_solo.conf --> conf httpd_cgi_solo.conf + httpd_fcgi_solo.conf --> conf httpd_fcgi_solo.conf httpd_modperl.conf --> conf httpd_modperl.conf httpd_modperl_solo.conf --> conf httpd_modperl_solo.conf Index: httpd_cgi_solo.conf =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/sample/apache/httpd_cgi_solo.conf,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** httpd_cgi_solo.conf 17 Mar 2005 13:51:59 -0000 1.4 --- httpd_cgi_solo.conf 1 Feb 2006 16:37:28 -0000 1.5 *************** *** 18,23 **** ErrorLog [% website_dir %]/logs/error_log - # Uncomment for using FastCGI - #AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi --- 18,21 ---- |