On Jul 24, 2009, at 9:20 PM, Yarko Tymciurak wrote:
> check your processes - make sure you don't have another instance of
> web2py still running somewhere...
There's a path in wsgibase that looks like it could cause this
behavior if the execution environment gets sufficiently messed up:
if not os.path.exists(request.folder):
if request.application=='init':
request.application = 'welcome'
redirect(html.URL(r=request))
It might be worth looking to see whether that path ever gets taken,
and if so why.
>
> On Fri, Jul 24, 2009 at 10:30 PM, David Watson <[email protected]
> > wrote:
>
> Hi,
>
> I am running tip of the trunk from svn. I have my application in init
> and deleted the welcome application. I am running on ubuntu server
> 9.04 on a single core pentium 4. I start web2py with:
>
> sudo nohup python web2py.py -p 80 -i 192.168.1.40 -a whatever
>
> Everything is fine and the pages are served from init when
> requesting / as a for instance.
>
> Somewhere in a few hours, web2py starts pointing / at /welcome/
> default/
> index. If I restart, then it goes back to serving / against init.
>
> I don't think I've done anything wrong. Could this be a bug?
>
> Thanks,
> David
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---