Jump to content

[SOLVED] Web2Py


felipe73

Recommended Posts

Thanx, but i'm talking about web2py, not web.py.

with web.py is going allright.

With web2py this is the log:

[Mon Nov 21 00:37:27 2011] [error] [client 95.234.26.42] File does not exist: /home1/felipe73/public_html/404.shtml

[Mon Nov 21 00:37:27 2011] [error] [client 95.234.26.42] File does not exist: /home1/felipe73/public_html/favicon.ico

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] File does not exist: /home1/felipe73/public_html/500.shtml, referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] OSError: [Errno 13] Permission denied: '/home1/felipe73/public_html/web2py/deposit', referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] File "/home1/felipe73/public_html/web2py/gluon/admin.py", line 439, in create_missing_folders, referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] File "/home1/felipe73/public_html/web2py/gluon/main.py", line 68, in , referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] File "/home1/felipe73/public_html/web2py/wsgihandler.py", line 33, in , referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] mod_wsgi (pid=23515): Exception occurred processing WSGI script '/home1/felipe73/public_html/web2py/wsgihandler.py'., referer: http://toscofanta.heliohost.org/

[sun Nov 20 22:37:03 2011] [error] [client 95.234.26.42] mod_wsgi (pid=23515): Target WSGI script '/home1/felipe73/public_html/web2py/wsgihandler.py' cannot be loaded as Python module., referer: http://toscofanta.heliohost.org

Link to comment
Share on other sites

I solved most problems.

I had to install web2py directly in the public_html folder.

 

in. htaccess file I put:

 

 

RewriteEngine On

RewriteBase /

RewriteRule ^dispatch\.wsgi/ - [L]

RewriteRule ^(.*)$ dispatch.wsgi/$1 [QSA,L]

 

I created the file by copying it from dispatch.wsgi wsgihandler.py.

 

Finally, for each "myapp" I had to give write permissions (666) for the application directory /myapp / cache and application / myapp / databases and the files they contain.

 

Now it all works. I just have to find out how:

- Use admin (at me "admin disabled: communication is not secure")

- Being able to run everything from the web2py folder and not from the root

 

If anyone has any suggestion is very welcome.

Anyway thanks for the support!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...