Have a look at using WSGI instead, I am currently using it with my web2py on
dreamhost, and it runs faster than fastcgi.

Take a look at these articles:

The first one is about WSGI on dreamhost, and the second one has web2py
instructions about it near the end of the page.

The last page will most likely be the most help :)

http://wiki.dreamhost.com/Passenger_WSGI
http://wiki.dreamhost.com/Web2py
http://www.web2pyslices.com/main/slices/take_slice/1

And access to the admin securly

http://webhostingreal.com/content/view/20/1/



-Thadeus




On Tue, Sep 15, 2009 at 10:30 PM, rppowell <[email protected]> wrote:

>
> Hey guys;
>
> I'm trying to setup web2py in a subdirectory off of my main www
> directory using FastCGI.
>
> I want to use subdirectories and .htaccess to manage and organize
> seperate projects, for example:
>
>  Directory structure:
>    www
>      fastcgi
>      web2py
>      ...
>  URL structure:
>  index.html
>    fastcgi
>    web2py
>    ...
>
> I verified that I can use .htaccess and FastCGI to run a simple python
> script under the fastcgi directory/URL.
>
> I used a similar setup and configuration to run web2py, except that
> web2py still thinks its running from the root URL path.
>
> When I try to go to the web2py base, it redirects to "/welcome/default/
> index".
> I need to have "/web2py" included in the URL base.
>
> How do I configure web2py to work in the web subdirectory?
>
> -rppowell
> >
>

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

Reply via email to