php proxy to local mercurial server
Posted
by naugtur
on Stack Overflow
See other posts from Stack Overflow
or by naugtur
Published on 2010-03-27T22:26:18Z
Indexed on
2010/03/27
22:33 UTC
Read the original article
Hit count: 366
I was wondering is it possible to create a php proxy to a server that listens onlu locally so that the php gateway is public and it directs everything to the server listening on localhost.
This server would be mercurial's hg serve that listens only on 127.0.0.1 and php will do the authentication.
Do You think it's possible to do? Anybody has an idea how to make a general proxy in php so that not only http get works, but also hg push?
I know there are ways to host mercurial repo with auth, but it's on a plug computer and I don't have a lot of space for more apps etc.
© Stack Overflow or respective owner