I am new to Web2py. I tried to deploy it on my Snow Leopard Server running 
Mac OS X Server 10.6.8. I have already installed on the server the wsgi 
module which I use with a Django app.

I installed web2py on the server following the guidelines on the deployment 
chapter of the Web2py Book (4th ed). The steps I took were:

1. Created an user and group www-data using WorkGroup Manager;
2. Created a virtual host web2py.mobility-br.com on the server;
3. Downloaded the web2py source with the curl -O command;
4. Installed on the wwwdata directory;
5. Added the port 80 apache configuration lines to the 
web2py.mobility-br.com conf file using a include line;
6. restarted the web service. No error on the server.

When I try to access the site I get the following message:

Internal errorTicket issued: 
unrecoverable<http://web2py.mobility-br.com/admin/default/ticket/unrecoverable>

When I click on the link unrecoverable another page opens with:

Access forbidden!

You don't have permission to access the requested object. It is either 
read-protected or not readable by the server.

If you think this is a server error, please contact the 
webmaster<[email protected]>
.
Error 403web2py.mobility-br.com
Mon Apr 2 06:58:27 2012
Apache/2.2.21 (Unix) mod_python/3.3.1 Python/2.6.1 mod_ssl/2.2.21 
OpenSSL/0.9.8r DAV/2 mod_wsgi/3.3 PHP/5.3.8 SVN/1.6.17

In the error.log file I get the following error message:

[Fri Mar 30 07:13:49 2012] [error] ERROR:web2py:Traceback (most recent call 
last):
[Fri Mar 30 07:13:49 2012] [error]   File 
"/Users/wwwdata/web2py/gluon/main.py", line 394, in wsgibase
[Fri Mar 30 07:13:49 2012] [error]     socket.gethostbyname(http_host)]
[Fri Mar 30 07:13:49 2012] [error] gaierror: [Errno 8] nodename nor 
servname provided, or not known

Thanks for your help

Reply via email to