I've got a friend that's letting me try out web2py on his unlimited
host so I can compare to the GAE.  However, I'm just not clear on how
to get this setup.

He's using midphase and I have cPanel and FTP access to the site.
I've uploaded the contents of my web2py folder into the Public_html/
myfolder.

Going to www.example.com/myfolder
shows an Index of all files in the folder.

I tried adding a .htaccess file with:
Options +ExecCGI
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteBase /
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]

With that I renamed the fastcgihandler.py to dispatch.fcgi.  I've
given 755 permisions to the dispatch.fcgi file as well as
fcgihandler.py.  I get an error message saying that dispatch.fcgi
can't be found.

Then I tried using:
SetHandler python-program
PythonHandler web2py_modpython
##PythonDebug On

This time I set the web2py_modpython.py to 755 as well as
wsgihandler.py.  Now I get a 500 Internal Server error.

Midphase support says they support both FastCGI and WSGI.  Where do I
go from here?  What information do I need to ask for to get this
setup?  I had this same copy of web2py running via WSGI + Apache
following the instructions on in the book, but it's really lacking in
information if you can't setup the Apache config file and have to
use .htaccess with WSGI or FastCGI.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to