It's short so I just paste it in here. I just changed example.com to pkg.example.com to make it more consistent with the comments. I also bumped the recommended Apache version.
Thanks Erik - diff -r b603038b2ef0 src/util/apache2/proxy-example.conf --- a/src/util/apache2/proxy-example.conf Fri Sep 23 15:30:50 2011 -0700 +++ b/src/util/apache2/proxy-example.conf Fri Sep 23 16:27:17 2011 -0700 @@ -48,7 +48,7 @@ # # -# This configuration was most recently tested with Apache 2.2.11, and that +# This configuration was most recently tested with Apache 2.2.21, and that # is the minimum version we recommend. # # In this example, substitute for "internal.example.com:10000" the name and port @@ -126,7 +126,7 @@ # We use nocanon to supress canonicalization of urls-- this is important # for properly working search (as of search v1). # -Redirect /myrepo http://example.com/myrepo/ +Redirect /myrepo http://pkg.example.com/myrepo/ ProxyPass /myrepo/ http://internal.example.com:10000 nocanon # @@ -141,7 +141,7 @@ # As in section 2a, depot servers must be configured with an appropriate # proxy_base setting. See above. # -<Proxy balancer://example-com-myrepo> +<Proxy balancer://pkg-example-com-myrepo> # # It is advisable to limit the amount of back-end connections to # the number of threads each depot is running divided by the number @@ -164,6 +164,6 @@ # We use nocanon to supress canonicalization of urls-- this is important # for properly working search (as of search v1) # -Redirect /myrepo http://example.com/myrepo/ -ProxyPass /myrepo/ balancer://example-com-myrepo nocanon +Redirect /myrepo http://pkg.example.com/myrepo/ +ProxyPass /myrepo/ balancer://pkg-example-com-myrepo nocanon _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
