Hi Chris, thanks for your response.
I'm using mod_python. But I'm still trying to figure out the
best
solution.
You're not the first one who tells me mod_proxy is a good
choice. I'll
have
to dig in to it a little further. I'm not really building
something
for astronomical
visit rates but for the principle I'd like to know what's
best and
why. CherryPy's
native server is pretty optimized I hear too, consuming
relatively few
resources.
Thanks agains,
-A
On Jun 4, 3:06 pm, "Christian Wyglendowski"
<christ... dowski.com>
wrote:
> On 6/3/07, antfar <anthony.k.farr... gmail.com> wrote:
>
> > Sorry for the pumpous but I couldn't formulate
another way to put it.
> > I'm kinda new with Apache & CherrPy. I really
like CherryPy, it's
> > simplicity.
>
> Welcome aboard. Glad you are enjoying the CherryPy
approach.
>
> > My question is the following. I would like to
configure CherryPy at /
> > (the root) of
> > my site. However, I'd like to have a subdirectory
where I'd put some
> > mapping apps
> > written in PHP.
>
> > When I configure a sub directory of / in Apache,
it's still CherryPy
> > that gets to handle
> > the access of that directory. I was wondering if
there was anyway to
> > tell Apache (of
> > CherrPy) *not* to process a subdirectory of /
because we'd like to put
> > a PHP there.
>
> > Any help appreciated.
>
> Well, you didn't mention what method (mod_python,
mod_proxy,
> mod_rewrite, etc) that you were using to hook CP up
with Apache.
> Personally, I have used mod_proxy to great success. I
have a site
> that has a CherryPy app at /music but static files at
/music/static
> served by Apache. Here is the line from my config that
tells Apache
> to not pass requests to the proxied CP app for that
path.
>
> # this prevents the follow path from being proxied
> ProxyPass /music/static !
>
> For more on mod_proxy and CherryPy, see the following
page:http://tools.
cherrypy.org/wiki/ModProxy
>
> HTH,
>
> Christianhttp://www.dowski.com
>
> > - Anthony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|