First thing, try ditching the symlink and copy the wsgihandler.py directly 
to passenger_wsgi.py. There might be a security measure in place, 
preventing symlinks.

The next thing I'd try is seeing if the paths within the passenger_wsgi.py 
get proper values, but this might be a long shot.

Since you say you're on a shared host, I assume you can't see how your web 
server and passenger configuration files actually look like? That would 
help.


On Thursday, April 17, 2014 1:57:40 PM UTC+2, Krzysztof Socha wrote:
>
> Yes - this is what I did. And yes - it seams to be a configuration 
> issue... It is just that I have no clue where to look :( 
>
> On Wednesday, April 16, 2014 12:59:36 PM UTC+2, LightDot wrote:
>>
>> So, I would say this is a configuration issue... But I'm not sure what's 
>> the problem. @Krzysztof, when you say you've put all web2py files within 
>> the folder, expected by passenger, did you omit the top web2py 
>> directory? The structure should be simply:
>>
>> top_passenger_dir/
>>   applications
>>   deposit
>>   gluon
>>   ...etc...
>>   passenger_wsgi.py
>>   web2py.py
>>
>> Regards
>>
>> On Tuesday, April 15, 2014 6:17:17 PM UTC+2, Richard wrote:
>>>
>>> I make it works with Phusion long time ago, and then get convinced after 
>>> reading a blog post that this were a bad idea, since at that time phusion 
>>> was not following the same rule as other linux in matter of service 
>>> managment, so I resign. I remember having read and work hard, since there 
>>> were no single one-stop place to make it works... The phusion doc, was the 
>>> better place + blog post and tuto.
>>>
>>> Sorry I couldn't help more... But I would again suggest you to walkaway 
>>> of phusion if you can somehow. My understanding is this project is not 
>>> enough or wasn't (1,5 years ago) to work in production. I was required to 
>>> compile Nginx to include phusion module because it is not include by 
>>> default, to me just that is enough to not consider it prod ready...
>>>
>>> Richard
>>>
>>>
>>> On Tue, Apr 15, 2014 at 3:34 AM, Krzysztof Socha <ksz...@gmail.com>wrote:
>>>
>>>> Thanks... But I kinda cannot... The hosting I am using is providing 
>>>> nginx + phusion passenger... and it works with a simple script, as I have 
>>>> shown. Unfortunately, it looks like the web2py handler never returns 
>>>> anything and the request time-outs... I do not even know where to look to 
>>>> understand what happens... Any suggestions?
>>>>
>>>> Krzysztof.
>>>>
>>>>
>>>> On Monday, April 14, 2014 3:58:16 PM UTC+2, Richard wrote:
>>>>>
>>>>> Use unicorn!!
>>>>>
>>>>> Phusion is more work...
>>>>>
>>>>> You can have a look in contrib there is a scrip that help deploy 
>>>>> redmine beside web2py with unicorn, so you can derive something for you 
>>>>> need from it. It works with 12.04.
>>>>>
>>>>> Richard
>>>>>
>>>>>
>>>>>  -- 
>>>> 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+un...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
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