Apache

Apache with WSGI

Apache with CGI

Two mercurial repositories:

/home/repository/mercurial/core/
/home/repository/mercurial/sample/

Issues

Permission denied

Message on the client when trying to push changes:

Permission denied: .hg/lock

The apache process on the server did not have permission to update the repository:

chown -R www-data:www-data /home/repository/merurial/