On Aug 20, 4:06 am, Jonathan Benn <[email protected]> wrote:
> I'm curious to know the answer to this as well. Did you ever figure it
> out?  If yes, can you please post the Apache .conf file you used?

Unless Massimo comes back and says there is some magic option which
can be set to allow it, I don't believe there is a way. I had a quick
look at it when getting a decent mod_wsgi configuration together for
web2py but couldn't get it to work out of the box. In default
configuration, web2py appears not to honour WSGI method of having
SCRIPT_NAME define the mount point of the application.

That said, there are ways of configuring mod_wsgi so that the web2py
application would still logically be mounted at the root of the web
server, and so allow it to work, but for where physical resource/
script files exists, such as static files, CGI scripts and PHP pages,
the latter would take precedence.

In other words, can be set up so that if physical resources exists,
then use that, else send all other URLs into web2py for processing. In
effect it allows you to arbitrarily overlay stuff on top of same URL
namespace that web2py occupies.

Is this what you need?

Graham


> Thanks
>
> --Jonathan
>
> On Jul 24, 3:01 am, Arvind <[email protected]> wrote:
>
>
>
> > Hello,
>
> > I am trying to configure my WSGIScriptAlias to be not /, but /python.
>
> > The reason is, I need my webserver to run py2web applications under /
> > python, and , /cgi-bin runs my cgi scripts, and the rest runs PHP.
>
> > just like we have a dedicated cgi-bin for our cgi scripts, i want to
> > configure /python for all my web2py applications.
>
> > here is myapacheconfig...http://pastie.org/557015
>
> > Upon checking my log, it keeps complaining, that directory listing is
> > not allowed.
>
> > What am I missing ? can somebody please guide me ?
>
> > thanks
> > Arvind

--~--~---------~--~----~------------~-------~--~----~
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