Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added notes for using mod_proxy_scgi

  • Loading branch information...
commit de4c3cc2f0d4ceba545791d91c250e9f220547f8 1 parent e16beee
Timothy Totten authored August 01, 2010

Showing 1 changed file with 20 additions and 2 deletions. Show diff stats Hide diff stats

  1. 22  README
22  README
@@ -42,14 +42,32 @@ the heavy lifting for you:
42 42
 The output of the handler will be sent as the SCGI response, 
43 43
 so make it a valid CGI response.
44 44
 
45  
-** Apache configuration with mod_scgi:
  45
+** Apache configuration:
  46
+
  47
+*** If using mod_scgi:
46 48
 
47 49
 Add the following line to your site config, changing the details to match your
48 50
 SCGI script configuration:
49 51
 
50 52
   SCGIMount /scgi/ 127.0.0.1:8118
51 53
 
52  
-Then add the following lines either after the above statement, or in an
  54
+*** If using mod_proxy_scgi:
  55
+
  56
+Add the following line to your site config, changes the details to match your
  57
+SCGI script configuration:
  58
+
  59
+  <Proxy *>
  60
+    Order deny,allow
  61
+    Allow from all
  62
+  </Proxy>
  63
+  ProxyPass /scgi/ scgi://localhost:8118/
  64
+
  65
+*** Apache redirect rules
  66
+
  67
+Regardless of whether you are using mod_scgi or mod_proxy_scgi, you can
  68
+use the following steps to redirect non-exitent pages to your SCGI script.
  69
+
  70
+Add the following lines either after the above statement, or in an
53 71
 .htaccess file in your website root:
54 72
 
55 73
   RewriteEngine On

0 notes on commit de4c3cc

Please sign in to comment.
Something went wrong with that request. Please try again.