Darry,

I had the same problem, I post my solution 
at: 
http://nafiux.com/blog/2013/01/04/web2py-deploy-specific-app-with-apache-webserver/

In my case, the problem was caused by a bad RewriteRule configuration at my 
httpd.conf file.

The correct configuration that I used is:

<VirtualHost *:80>
    DocumentRoot /var/www/html
    ServerName www.domain.com
    ServerAlias domain.com *.domain.com
    <Directory /var/www/html>
        Options FollowSymLinks
        AllowOverride All
    </Directory>
 
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/myapp.* [NC]
    RewriteRule ^/(.*) /myapp/$1 [PT,L]
    WSGIScriptAlias /myapp /opt/web2py/wsgihandler.py
</VirtualHost>

Best regards.

On Wednesday, January 2, 2013 7:38:47 PM UTC-6, dr_eeves wrote:
>
> Hi,
>
> I have been developing a web application using web2py. Most of the 
> development has been done using the included development text editor (which 
> has been great to use!). I'm required to use https when using the 
> Administrative interface through my hosting provider. I get around this for 
> now by using an ssh tunnel that allows me to connect through local host on 
> my computer. When I log into my site with this setup (ssh tunnel), I have 
> no problems using the site. However, when I try to log in through my site's 
> domain directly, I get the following error:
>
> RuntimeError: Using a recursive select but encountered a broken reference
> : auth_group 1
>
> I am not sure what is different been the two access methods which would 
> cause such an error. Does anyone have any idea how to fix this issue?
>
> Thanks,
> Darryl 
>

-- 



Reply via email to