On Tuesday, November 6, 2012 3:54:47 PM UTC-5, Jonathan Lundell wrote:
>
>
> Your wsgi configuration should be pointing to wsgihandler.py in the web2py 
> root directory, wherever that happens to be. I'm not much of an expert 
> there, but I can help with routing once you have web2py up and running 
> *without* routing. Remove any routes.py until you've got things working.
>

Here's the VirtualHost configuration for the directory:

    WSGIDaemonProcess web2py \
        user=apache \
        group=apache \
        display-name=%{GROUP} \
        home=/home/people/mauriceling/public_html/refgene \
        processes=5 \
        threads=1 \
        maximum-requests=500
    WSGIProcessGroup web2py
    WSGIScriptAlias /refgene 
/home/people/mauriceling/public_html/refgene/wsgihandler.py
    <Directory /home/people/mauriceling/public_html/refgene>
        AllowOverride None
        Order Allow,Deny
        Deny from all
        <Files wsgihandler.py>
            Allow from all
        </Files>
        RemoveHandler python26-mod_python .py
    </Directory>
    AliasMatch ^/refgene/([^/]+)/static/(.*) 
/home/people/mauriceling/public_html/refgene/applications/$1/static/$2
    <Directory 
/home/people/mauriceling/public_html/refgene/applications/*/static/>
        Order Allow,Deny
        Allow from all
    </Directory>
    <Location /home/people/mauriceling/public_html/refgene/admin>
        Deny from all
    </Location>
    <LocationMatch ^/refgene/([^/]+)/appadmin>
        Deny from all
    </LocationMatch>

Thanks for your help.

-- 



Reply via email to