File: man-cgi-fast.patch

package info (click to toggle)
libcgi-fast-perl 1%3A2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 156 kB
  • ctags: 12
  • sloc: perl: 244; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download | duplicates (2)
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
Description: fix paths to FastCGI scripts
Origin: vendor
Forwarded: not-needed
Author: AGOSTINI Yves <agostini@univ-metz.fr>
Reviewed-by: Nicholas Bamber <nicholas@periapt.co.uk>,
 gregor herrmann <gregoa@debian.org>
Last-Update: 2016-11-21

--- a/lib/CGI/Fast.pm
+++ b/lib/CGI/Fast.pm
@@ -191,7 +191,7 @@
 FastCGI scripts must end in the extension .fcgi.  For each script you
 install, you must add something like the following to srm.conf:
 
-    FastCgiServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -processes 2
+    FastCgiServer /usr/lib/cgi-bin/file_upload.fcgi -processes 2
 
 This instructs Apache to launch two copies of file_upload.fcgi at
 startup time.
@@ -209,7 +209,7 @@
 webserver to connect to an external FastCGI server, you would add the following
 to your srm.conf:
 
-    FastCgiExternalServer /usr/etc/httpd/fcgi-bin/file_upload.fcgi -host sputnik:8888
+    FastCgiExternalServer /usr/lib/cgi-bin/file_upload.fcgi -host sputnik:8888
 
 Two environment variables affect how the C<CGI::Fast> object is created,
 allowing C<CGI::Fast> to be used as an external FastCGI server. (See C<FCGI>