Disable hgweb browsing
moroswitie
moroswitie at gmail.com
Mon May 30 07:32:00 UTC 2011
I'm currently starting to work on a custom mercurial project web application
and need to disable the build in repository browser.
I wasn't able to find such an option, and a quick work around would be to
redirect all repository browser requests. The problemd is I couldn't find
the format that the hgweb.cgi scripts accepts to show the repository
browser.
Could anybody point me in the right direction so I know how to rewrite the
request so that I can serve up a nice error message saying that repository
browsing is disabled with the build in browser.
Disabling the browser should not disable pull or push. So I think I also
need to know the urls for the push and pull commands.
This way I can build a mercurial repo server that will accept http/https and
ssh connections.
Looking forward to some help.
--
View this message in context: http://mercurial.808500.n3.nabble.com/Disable-hgweb-browsing-tp3001075p3001075.html
Sent from the General mailing list archive at Nabble.com.
More information about the Mercurial
mailing list