Alan Steinberg wrote:
> I'm not using proxy-base at all. I tried adding it, and it made things 
> worse. When I used a URL with the port number, it redirected to the 
> failed proxy pathname.
> 
> An additional bit of information: Any pathname I give (like 
> http://mystem/boguspath) yields the same 404 message courtesy of 
> CherryPy. It's as if CherryPy has taken over all web services.
> 
> As mentioned below, it works fine on another system, which I believe is 
> set up identically. Is there a CherryPy config file or some obscure 
> system setting that I should look at next?

No.  But I think I just saw something in your first email I missed...

Are you trying to do this just using rewrite rules?  If you are, that's 
not a supported configuration and I haven't the slightest on how to get 
that to work.  While cherrypy does provide the web services for us, it 
isn't an independent webserver; it's more of an API that the depot 
server uses for connections.  While the results may look like a 
webserver, that's only because of how the depot server works.

The only supported setup for using the depot server with Apache is via 
reverse proxy [1].  Once you've setup the reverse proxy, then you'll 
need to supply the --proxy-base parameter as I mentioned in my last email.

My Apache VirtualHost looks like this:

         ProxyRequests On
         AllowEncodedSlashes On

         Redirect / http://zorander/release/
         ProxyPass /release/ http://zorander:8009/

-- 
Shawn Walker

[1] http://blogs.sun.com/sch/date/20080221
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to