Massimo, Thank you, I found the solution. I have wrong RewriteCond and RewriteRule parameters at httpd.conf
I have a domain.com working with Apache, and I configured an alias /myapp that works to web2py framework. The good configuration for this case 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 Friday, January 4, 2013 6:55:30 PM UTC-6, Massimo Di Pierro wrote: > > Looking into this... > > On Friday, 4 January 2013 15:53:05 UTC-6, Ignacio Ocampo wrote: >> >> I've an app, I register and user and it's ok. >> >> I have 1 instance running with "python web2py.py" at port 8080 (for admin >> console) ... and I have my httpd.conf configured with WSGI. >> >> Both work correctly, but when I try to login in the normal instance (at >> port 80), I get an error "RuntimeError: Using a recursive select but >> encountered a broken reference: auth_group 1". If I try to do it at port >> 8080 all works good. >> > --