[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-13 Thread Alfonso Pastor Sierra
The code is from: http://www.web2pyslices.com/slice/show/1383/make-web2py-sub-url-mountable-with-apachemod-wsgi I want to access a web2py application with the URL: http://server/controlies using apache and mod-wsgi. El viernes, 13 de junio de 2014 18:58:02 UTC+2, Massimo Di Pierro escribió:

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-13 Thread Massimo Di Pierro
What are you trying to do? This is not web2py code. On Friday, 13 June 2014 05:59:53 UTC-5, Alfonso Pastor Sierra wrote: > > > Hello, editing /var/web2py/subwsgihandler.py and commenting two lines: > > def start_response(self, status, headers, info=None): > # rewrite redirect URLs, so ext

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-13 Thread Alfonso Pastor Sierra
Hello, editing /var/web2py/subwsgihandler.py and commenting two lines: def start_response(self, status, headers, info=None): # rewrite redirect URLs, so external referencens have the SCRIPT_NAME prefix if not status.startswith('3'): return self._start_response(status

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-03 Thread Alfonso Pastor Sierra
Hello The apache setup is the same for both servers. I don't have routes.py files. With the URL http://ldap/controlies/init/default/user/login?_next=/controlies/init/default/index runs ok on both servers (Squeeze and Wheezy), but with http://ldap/controlies fails on the Debian Wheezy server.

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-02 Thread Niphlod
it seems that you were loading sites "before" inside a specific directory (controlies) while now those are in the root. The first 303 points to */controlies/init/default/user/login?_next=/controlies/init/default/index* while the second to */init/default/user/login?_next=/init/default/index* The

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-01 Thread Alfonso Pastor Sierra
More info: Apache version: 2.2.22-13+deb7u1 Web2py version: Version 1.95.1 (2011-04-25 15:04:14) Permissions: # ls -l /var/web2py total 68 drwxr-xr-x 3 www-data www-data 4096 may 29 13:10 applications -rw-r--r-- 1 www-data www-data 44 may 29 11:12 arranque.sh -rw-r--r-- 1 www-data www-da