problems using apache2 to publish repository and clone it

prioryjim james.learmonth at gmail.com
Tue Nov 23 05:27:07 CST 2010


Pretty new to mercurial
I can get Apache to show my repository using hgweb.cgi
with http://myserver.com/cgi-bin/hgweb.cgi

My hgweb.config is 
[paths]
myrep = /opt/repository/testproj
[web]
allow_push = *
push_ssl = false

And in hgweb.cgi I have
application = hgweb("/opt/repository/testproj", "myrep")

But on a separate PC when I try 
D:\repository>hg clone  http://myserver.com/myrep myrep
I get
abort: HTTP Error 404: Not Found

Tha apache log shows it is trying to access
[Tue Nov 23 10:30:57 2010] [error] [client myclient] File does not exist:
/var/www/myrep

So it is looking in the web server directory and not where it really is.

I think I am missing something ???
Any ideas
Thanks
Jim




-- 
View this message in context: http://mercurial.808500.n3.nabble.com/problems-using-apache2-to-publish-repository-and-clone-it-tp1952805p1952805.html
Sent from the General mailing list archive at Nabble.com.


More information about the Mercurial mailing list