Re: [web2py] Re: Running web2py in an apache directory
Bumping the message as a reminder... El día 21 de octubre de 2011 19:54, José Luis Redrejo Rodríguez escribió: > El día 21 de octubre de 2011 19:51, José Luis Redrejo Rodríguez > escribió: >> 2011/10/21 Massimo Di Pierro : >>> Can you show us your routes? >>> >> >> >> >> The application name is controlies, placed at >> /var/web2py/applications/controlies >> >> a web2py-apache file placed at /etc/apache2/conf.d contains: >> >> >> WSGIScriptAlias /controlies /var/web2py/subwsgihandler.py >> >> WSGIDaemonProcess web2py user=www-data group=www-data \ >> home=/var processes=5 \ >> maximum-requests=1 \ >> threads=1 >> >> >> Order deny,allow >> Allow from all >> WSGIProcessGroup web2py >> >> >> >> >> And /var/web2py/subwsgihandler.py is the same as the one at >> http://www.web2pyslices.com/slices/take_slice/56 >> >> It all works correctly with web2py up to 1.95.1, but not since 1.96.1 . >> >> >> >> > > I've forgotten this in my previous email, there is also a symbolic link: > > /var/web2py/applications/controlies -> /var/web2py/applications/init > >> >> >> >> >> >> >>> On Oct 21, 5:20 am, José L. wrote: Hi, I've been running successfully web2py under apache in a directory following the slice athttp://www.web2pyslices.com/slices/take_slice/56. I need it running in a subdirectory because this apache server is running some other apps, some of them in php. It worked perfectly with version 1.95.1, but after trying to update web2py to versions >=1.96.1, it doesn't work. I see this behaviour when going to the url where web2py should work:http://miserver/mysubdir with 1.95.1, it redirects to:http://miserver/mysubdir/init/default/user/login?_next=/mysubdir/init... but with versions >=1.96.1 it redirects to:http://miserver/init/default/user/login?_next=/init/default/index So, web2py it's removing the "/mysubdir/" part somewhere. After checking the changelog between both versions I can not find anything related to this routes changes. Running under apache I'm not using the routes.py file nor changing apache configuration between web2py versions. Any idea? Thanks >> >
Re: [web2py] Re: Running web2py in an apache directory
El día 21 de octubre de 2011 19:51, José Luis Redrejo Rodríguez escribió: > 2011/10/21 Massimo Di Pierro : >> Can you show us your routes? >> > > > > The application name is controlies, placed at > /var/web2py/applications/controlies > > a web2py-apache file placed at /etc/apache2/conf.d contains: > > > WSGIScriptAlias /controlies /var/web2py/subwsgihandler.py > > WSGIDaemonProcess web2py user=www-data group=www-data \ > home=/var processes=5 \ > maximum-requests=1 \ > threads=1 > > > Order deny,allow > Allow from all > WSGIProcessGroup web2py > > > > > And /var/web2py/subwsgihandler.py is the same as the one at > http://www.web2pyslices.com/slices/take_slice/56 > > It all works correctly with web2py up to 1.95.1, but not since 1.96.1 . > > > > I've forgotten this in my previous email, there is also a symbolic link: /var/web2py/applications/controlies -> /var/web2py/applications/init > > > > > > >> On Oct 21, 5:20 am, José L. wrote: >>> Hi, >>> I've been running successfully web2py under apache in a directory following >>> the slice athttp://www.web2pyslices.com/slices/take_slice/56. I need it >>> running in a subdirectory because this apache server is running some other >>> apps, some of them in php. >>> >>> It worked perfectly with version 1.95.1, but after trying to update web2py >>> to versions >=1.96.1, it doesn't work. >>> >>> I see this behaviour when going to the url where web2py should >>> work:http://miserver/mysubdir >>> with 1.95.1, it redirects >>> to:http://miserver/mysubdir/init/default/user/login?_next=/mysubdir/init... >>> but with versions >=1.96.1 it redirects >>> to:http://miserver/init/default/user/login?_next=/init/default/index >>> >>> So, web2py it's removing the "/mysubdir/" part somewhere. >>> >>> After checking the changelog between both versions I can not find anything >>> related to this routes changes. Running under apache I'm not using the >>> routes.py file nor changing apache configuration between web2py versions. >>> >>> Any idea? >>> Thanks >
Re: [web2py] Re: Running web2py in an apache directory
2011/10/21 Massimo Di Pierro : > Can you show us your routes? > The application name is controlies, placed at /var/web2py/applications/controlies a web2py-apache file placed at /etc/apache2/conf.d contains: WSGIScriptAlias /controlies /var/web2py/subwsgihandler.py WSGIDaemonProcess web2py user=www-data group=www-data \ home=/var processes=5 \ maximum-requests=1 \ threads=1 Order deny,allow Allow from all WSGIProcessGroup web2py And /var/web2py/subwsgihandler.py is the same as the one at http://www.web2pyslices.com/slices/take_slice/56 It all works correctly with web2py up to 1.95.1, but not since 1.96.1 . > On Oct 21, 5:20 am, José L. wrote: >> Hi, >> I've been running successfully web2py under apache in a directory following >> the slice athttp://www.web2pyslices.com/slices/take_slice/56. I need it >> running in a subdirectory because this apache server is running some other >> apps, some of them in php. >> >> It worked perfectly with version 1.95.1, but after trying to update web2py >> to versions >=1.96.1, it doesn't work. >> >> I see this behaviour when going to the url where web2py should >> work:http://miserver/mysubdir >> with 1.95.1, it redirects >> to:http://miserver/mysubdir/init/default/user/login?_next=/mysubdir/init... >> but with versions >=1.96.1 it redirects >> to:http://miserver/init/default/user/login?_next=/init/default/index >> >> So, web2py it's removing the "/mysubdir/" part somewhere. >> >> After checking the changelog between both versions I can not find anything >> related to this routes changes. Running under apache I'm not using the >> routes.py file nor changing apache configuration between web2py versions. >> >> Any idea? >> Thanks
[web2py] Re: Running web2py in an apache directory
Can you show us your routes? On Oct 21, 5:20 am, José L. wrote: > Hi, > I've been running successfully web2py under apache in a directory following > the slice athttp://www.web2pyslices.com/slices/take_slice/56. I need it > running in a subdirectory because this apache server is running some other > apps, some of them in php. > > It worked perfectly with version 1.95.1, but after trying to update web2py > to versions >=1.96.1, it doesn't work. > > I see this behaviour when going to the url where web2py should > work:http://miserver/mysubdir > with 1.95.1, it redirects > to:http://miserver/mysubdir/init/default/user/login?_next=/mysubdir/init... > but with versions >=1.96.1 it redirects > to:http://miserver/init/default/user/login?_next=/init/default/index > > So, web2py it's removing the "/mysubdir/" part somewhere. > > After checking the changelog between both versions I can not find anything > related to this routes changes. Running under apache I'm not using the > routes.py file nor changing apache configuration between web2py versions. > > Any idea? > Thanks