Hi Ryan,

you can find a fcgihandler.py file in the root web2py folder. I havn't used fcgi but the fcgihandler seems to have an example on how webserver should be configured.


Kenneth


Thanks for the responses guys. I read all of chapter 11 and I must say
this is why I feel like really am missing something important in the
grand scheme of things. I simply can not understand what it is I need
to do.

I do not have root access so I can't do anything that requires it or
sudo, so I looked on the SITE5 forums like was suggested and looked
for a django setup thread. I found one and feel like I could follow
its steps but honestly I just don't get what needs to be done for a
web2py website to work and therefor I can not figure out the changes
that need to be made.

I need to use FCGI like Brian pointed out but I don't understand the
contexts.

Is there anyway someone could give me a rudimentary check list of what
needs to be done for a website to work, and perhaps examples or
specific links on how to do each step?

What does a fcgi file need to look like for web2py? What files need to
be directly in the www folder (public_html).

-Ryan

On Dec 4, 1:42 pm, Brian M<[email protected]>  wrote:
Check the site5 forums for hints, it looks like wsgi isn't available
on the shared hosting plans but fastcgi is. There are some Django how
to threads you may be able to work off of and combine with what's in
chapter 11 of the web2py book.

~Brian

On Dec 3, 11:21 pm, RyaneD<[email protected]>  wrote:







Now I do understand that I am probably asking a very rudimentary
question but in the end I need a rudimentary answer that I am just not
finding. Or if I am finding I don't know what i am looking at.
A little background: I have experience in Python and in Web Design,
not much in the incorporation of the two which is the main reason I
have looked into Web2py. I am needing to build a website that is rich
in features that HTML and CSS just can not handle and I need to be
able to program it fast. Now I can get Web2py working on my Local
computer just fine, no problem. I am even jumping into the actual
development rather quickly and easily. The framework is really
extremely helpful in the quick implementation of code and I am very
grateful that it exists.
Before I get too far in the programming and development of the site
that is needed I needed to make sure that I can get it hosted on the
internet and that it will work, and this is where it falls down. I
have only ever worked in html, xhtml, css, or javascript when it comes
to the internet and I do not understand the intricacies of apache or
wsgi or CGI at all. I am currently having a mental block on this area
and it is causing me intense frustration.
Simply put, how do I setup web2py coming from my webhost (in this 
casewww.site5.com) I have setup a virtual enviroment and unzipped the
source of web2py on the website. I can run the script web2py.py and
get it to prompt that it is running a server but I do not know how to
access it and I am under the impression that the web2py.py script is
really made for development not deployment of websites.
It should be noted that one of the main features I need is automated
database evaluation and manipulation.
Any help is extremely welcomed and I would be most grateful. I am
simply running out of time to be stumped by what is most likely a
simple issue.

Reply via email to