"Fossies" - the Fresh Open Source Software Archive

Member "mod_fastcgi-2.4.7-0910052141/debian/libapache2-mod-fastcgi.README.Debian" (10 Apr 2012, 735 Bytes) of package /linux/www/apache_httpd_modules/old/mod_fastcgi-2.4.7-0910052141.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Config Tips
    3 ----------------------
    4 
    5  * How to run your FastCGI app
    6 
    7    In case that FastCGI script has ".fcgi" suffix, you just put the script
    8    in /usr/lib/cgi-bin (or other directory has "+ExecCGI") and can run it.
    9 
   10  * Using non-".fcgi" suffix
   11 
   12    If your app have non-".fcgi" suffix, add AddHandler/SetHandler to httpd.conf.
   13    For exapmple;
   14    ---
   15      <Directory /var/www/myfcgiapp>
   16        AddHandler fastcgi-script .yourext .pl .rb .cgi .sh
   17      </Directory>
   18    ---
   19 
   20  * How to run under SuExec
   21 
   22    make enable following line;
   23      #FastCgiWrapper /usr/lib/apache2/suexec
   24    in /etc/apache2/mods-enabled/fastcgi.conf
   25 
   26  * If you change apache's uid
   27 
   28    You need to change owner of /var/lib/apache*/fastcgi to uid of apache run.
   29