Thank you for the information on setting up web2py using WSGI. I have thing somewhat working on using FastCGI within subdirectories by using .htaccess and dispatch.cgi.
The only problem I think I'm having with getting web2py working in a subdirectory with FastCGI is that the URL is missing the subdirectory base. For example, when I initially go to the web2py site in the subdirectory, it tries to redirects to the 'welcome' app: http://www.rppowell.com/web2py redirects to: http://www.rppowell.com/welcome/default/index The problem is that it is missing the web2py subdirectory; web2py should be redirecting to: http://www.rppowell.com/web2py/welcome/default/index I have verified that going to http://www.rppowell.com/web2py/welcome/default/index works; it returns valid HTML, except all internal URLs are missing the '/web2py' and thus images/css is borked. I think this is something internal to web2py that can be fixed: simpley prepend 'web2py/' to all the web2py URLs. How do I do that? -rppowell PS: I'm figuring out WSGI setup too, but the documentation has the same premise as setting up FastCGI: Everything seems to be specified in a root web directory. Using subdomains side-steps this issue; you're using the sub-domain name to distinguish which WSGI to use, not subdirectories. I want to use subdirectories/URLs to organize/specify which instance of web2py/django/whatnot, to be used all within the same domain. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---