In 2019 I really do not feel recommending using Apache to anybody. nginx 
has clearly won this battle.

On Sunday, 17 March 2019 19:35:55 UTC-7, gertk wrote:
>
> apt-get install libapache2-mod-wsgi-py3
>
> laupäev, 16. märts 2019 15:34.22 UTC+2 kirjutas Mamisoa Andriantafika:
>>
>> This script works with python 3 but is under nginx:
>>
>>
>> https://raw.githubusercontent.com/arisobel/web2py_scripts/master/setup-web2py-nginx-p3-uwsgi-ubuntu.sh
>>
>>
>>
>> Le samedi 16 mars 2019 13:12:06 UTC+1, Mamisoa Andriantafika a écrit :
>>>
>>> Sorry this does not work for me.
>>>
>>> Did you manage to get a server working with python 3 and apache?
>>>
>>> Le samedi 16 mars 2019 12:37:02 UTC+1, 黄祥 a écrit :
>>>>
>>>> think on line 164 and 165 is the culprit, should be
>>>> sudo -u www-data *python3* -c "from gluon.widget import console; 
>>>> console();"
>>>> sudo -u www-data *python3* -c "from gluon.main import save_password; 
>>>> save_password(raw_input('admin password: '),443)"
>>>>
>>>> best regards,
>>>> stifan
>>>>
>>>

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