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.

Thanks.






El lunes, 2 de junio de 2014 14:05:55 UTC+2, Niphlod escribió:
>
> 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 second seems to point to a "normal" setup, where all web2py 
> applications are served under the root website. The first instead looks 
> like a custom setup, where all applications are served under the 
> "controlies" virtual directory.
> Did you change routes ?
>
> On Sunday, June 1, 2014 5:36:37 PM UTC+2, Alfonso Pastor Sierra wrote:
>>
>>
>> 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-data   43 may 29 12:15 cron.master
>> drwxr-xr-x 2 www-data www-data 4096 jun  6  2011 deposit
>> -rw-r--r-- 1 www-data www-data 9623 may 29 11:53 httpserver.log
>> -rwxr-xr-x 1 www-data www-data    0 nov 18  2013 __init__.py
>> -rw-r--r-- 1 www-data www-data  105 may 27 11:36 __init__.pyc
>> drwxr-xr-x 2 www-data www-data 4096 jun  6  2011 logs
>> -rw-r--r-- 1 www-data www-data   44 may 29 11:12 parameters_8000.py
>> drwxr-xr-x 2 www-data www-data 4096 jun  6  2011 site-packages
>> -rwxr-xr-x 1 www-data www-data 2410 nov 18  2013 subwsgihandler.py
>> -rwxr-xr-x 1 www-data www-data   37 nov 18  2013 VERSION
>> -rwxr-xr-x 1 www-data www-data  448 may 28 09:22 web2py.py
>> -rw-r--r-- 1 www-data www-data   57 may 28 09:22 welcome.w2p
>> -rwxr-xr-x 1 www-data www-data 1007 nov 18  2013 wsgihandler.py
>> -rw-r--r-- 1 www-data www-data 1102 may 27 11:36 wsgihandler.pyc
>>
>> ldap:/var# ls -l | grep web
>> drwxr-xr-x  6 www-data www-data  4096 may 29 13:10 web2py
>>
>> When running standalone web2py with:
>>
>> python web2py.py -a mypwd  -i 0.0.0.0 -p 8000
>>
>> the application (http://ldap:8000) loads without error.
>>
>> Greetings
>>
>>
>>
>>
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to