Mercurial 6.6.7 Configuration issue | HG web

Venu Pillai vpillai at vistaar.in
Wed May 15 03:49:12 UTC 2024


Hi,

I have installed Mercurial 6.7.2 on  Alma Linux 9.
Python version : 3.9
Unable to access the Repository on Browser.

Below is configuration of hgweb.wsgi

An example WSGI for use with mod_wsgi, edit as necessary.
config = "/repo/cgi-bin/hgweb.config"
import sys; sys.path.insert(0, "/path/to/python/lib")
import os
os.environ["HGENCODING"] = "UTF-8"
import cgitb; cgitb.enable()
from mercurial import demandimport; demandimport.enable()
from mercurial.hgweb import hgweb
application = hgweb(config.encode('utf-8'))


Kindly help me to resolve this issue.

Thanks, and Regards
Venu Pillai
________________________________
Manager - Systems | Vistaar Systems Pvt Ltd|Office : Tel :022-66931444| Mobile : 9821298702

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20240515/4c86510c/attachment.html>


More information about the Mercurial mailing list