The repository is hosted on my PC. I use Apache with WAMP and TortoiseHG.
I have setup users and passwords and they are able to browse the repository in their browsers after entering their usernames and passwords.
The problem is that, when they try to clone the repository, they get an HTTP404 file note found error.
However, I can clone the repsoitory on my own PC using their credentials.
The problem must lie somehwere with the mercurial setup.
Solved
In the hgweb.cgi file, I replaced:
with:
These two are supposed to be alternatives, but only the second option worked for me.
Is your apache accessible via the web (you can check using google translation services to access your machine)?
Do you use hgweb.cgi? Are there any restrictions set?
I remember that for cloning and pushing you need to explicitely set the permissions for hgweb.cgi. See http://mercurial.selenic.com/wiki/PublishingRepositories