mod_python

Discussion in 'Pre-Sales Questions' started by gerard_w, Nov 8, 2006.

  1. gerard_w

    gerard_w New Member

    Joined:
    Aug 22, 2006
    Messages:
    1
    I have a fellow Developer that is looking to purches amember after seeing how well it worked on my site. Only problem is he is using mod_python via apache for the site.
    Is there some way to have amaber to function with this setup.

    the httpd.conf entry for it looks something like this
    <Location "/mysite/">
    SetHandler python-program
    PythonPath "['/home/test/'] + sys.path"
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all

    </Location>

    As we can't use php in his site because of it being pure python we tried using new_rewrite to no effect. Apache seems to pass off the handling before Amember get's a chance to process. Can you suggest something in Apache config that would help? It would be helpfull for both of us as I have another site I will be doing and would like to use Django on also with Amember.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Gerard, I believe it is possible to resolve by placing Rewrite instructions into your httpd.conf, contact us via helpdesk with aMember CP login info and we will help.

Share This Page