Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 5 and Version 6 of ApacheIntegration


Ignore:
Timestamp:
01/20/06 10:35:24 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ApacheIntegration

    v5 v6  
    2222baseUrlFilter.useXForwardedHost = True 
    2323}}} 
     24 
     25 
     26 
     27---- 
     28'''Another Example''' 
     29 
     30Karl Guertin wrote a step by step set of instructions in [http://tinyurl.com/cajr7 "this message"] on using VirtualPathFilter with Apache. 
     31 
     32{{{ 
     331. Put the following lines in your prodcfg.py: 
     34path("/") 
     35baseUrlFilter.on = True 
     36baseUrlFilter.useXForwardedHost = True 
     372. In your app directory 'python setup.py bdist_egg' to create an 
     38installable egg file. 
     393. Copy the egg to your server and easy_install your_app_name 
     404. Create an apache virtual host containing the following rules: 
     41    RewriteEngine on 
     42    RewriteRule ^(.*) http://127.0.0.1:8000$1 [P] 
     435. Restart apache 
     44 
     45There are other things you can optionally do and caveats, but the 
     46above should work just fine. I'm not 100% sure on the syntax of the 
     47first step, I've only deployed using the old .cfg format.  
     48}}} 
     49 
     50This page seemed like a logical place to capture these instructions. I haven't tried using this yet. 
     51