need documentation on how to run loggerhead under apache
Bug #156599 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
just that.
Changed in loggerhead: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
In a branch that will land soon, README.txt says this:
SERVING LOGGERHEAD FROM BEHIND APACHE ------- ------- ------- ------- --
-------
If you want to view Bazaar branches from your existing Apache
installation, you'll need to configure Apache to proxy certain
requests to Loggerhead. Adding lines like this to you Apache
configuration is one way to do this::
<Location "/branches/"> 127.0.0. 1:8080/
ProxyPassRever se http:// 127.0.0. 1:8080/
ProxyPass http://
</Location>
If Paste Deploy is installed, the 'serve-branches.py' script can be
run behind a proxy at the root of a site, but if you're running it at
some path into the site, you'll need to add a 'prefix' argument to the
PrefixMiddleware call in the script. More flexible configuration
should be added soon...
Is this clear enough? The need to edit code sometimes isn't great, I guess...