File: libapache2-mod-fastcgi.README.Debian

package info (click to toggle)
libapache-mod-fastcgi 2.4.2-8
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 568 kB
  • ctags: 576
  • sloc: ansic: 6,200; sh: 276; makefile: 55
file content (29 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Config Tips
----------------------

 * How to run your FastCGI app

   In case that FastCGI script has ".fcgi" suffix, you just put the script
   in /usr/lib/cgi-bin (or other directory has "+ExecCGI") and can run it.

 * Using non-".fcgi" suffix

   If your app have non-".fcgi" suffix, add AddHandler/SetHandler to httpd.conf.
   For exapmple;
   ---
     <Directory /var/www/myfcgiapp>
       AddHandler fastcgi-script .yourext .pl .rb .cgi .sh
     </Directory>
   ---

 * How to run under SuExec

   make enable following line;
     #FastCgiWrapper /usr/lib/apache2/suexec2
   in /etc/apache/conf.d/fastcgi.conf or /etc/apache2/mods-enabled/fastcgi.conf

 * If you change apache's uid

   You need to change owner of /var/lib/apache*/fastcgi to uid of apache run.