This looks fine to me.  I forgot you could do stuff like  ('../' *
depth) in Python. :)

-j

On Thu, Jun 19, 2008 at 10:09:15PM -0500, Shawn Walker wrote:
> The following webrev includes proposed fixes for the following bugs:
> 
>     2278 depot - content should be served using relative, not absolute urls
> 
> webrev:
> http://cr.opensolaris.org/~swalker/pkg-2278/
> 
> Change summary:
> 
> * Added a get_res_path function to modules/server/face.py
> * Changed all the functions to use this function get the path to their
> static resources
> 
> Testing notes:
> * I started package servers on different ports
> * I configured Apache using Stephen's notes on proxying a package server [1]
> * I verified that requests to http://hostname/status went to package
> server one, and that requests to http://hostname/contrib/ went to
> package server two.
> 
> FYI:
> I should note that there is no reason for the depot server to be
> serving the static content used by the depot server.
> Apache can be used to serve all static content since all static
> content is served as:
> 
> static/resource.name (with static being relative to the current request path)
> 
> Cheers,
> -- 
> Shawn Walker
> 
> [1] http://blogs.sun.com/sch/entry/pkg_5_reverse_proxying_your
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to