I am trying to deploy web2py on Ubuntu 16.04 behind Apache.

For that purpose, I have followed the deployment recipe 
<http://web2py.com/books/default/chapter/29/13/deployment-recipes>, or more 
specifically the Apache setup 
<http://web2py.com/books/default/chapter/29/13/deployment-recipes#Apache-setup> 
and the mod_wsgi 
<http://web2py.com/books/default/chapter/29/13/deployment-recipes#mod_wsgi> 
setup. In that recipe,
I only made the following modifications:


   - Based on this post 
   
<https://stackoverflow.com/questions/24688445/cant-get-apache2-4-to-pass-requests-to-web2py-using-mod-wsgi>
 
   at stackoverflow, I have renamed the config file from 
   /etc/apache2/sites-available/web2py to 
   /etc/apache2/sites-available/web2py.conf
   - In that config file, I changed the paths for error logging from 
   /private/var/log/apache2/access.log to /var/log/apache2/access.log, 
   otherwise Apache would not restart
   - I tried to enable web2py using sudo a2ensite web2py.conf

When I try to visit my http://myserver.xy, I only get the Apache2 Ubuntu 
Default Page. When I try http://myserver.xy/web2py or 
http://myserver.xy/welcome, I am getting a Not Found error. Any ideas?

Thanks in advance for taking the time for this request - I am a total 
newbie in this field.

Kind regards,
Maik

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