I tried to configure Mercurial using Apache on Windows 7. It shows a list of repositories on the first page. But when I look at a specific repository, it shows html code starting with:
Status: 200 Script output follows
ETag: 1305209648.82
Content-Type: text/html; charset=cp1252
I thought this was a problem with the Apache MIME server. I am modifying it using ForceType on an Apache server. It's good that it displayed the html page in some way, but the page still has the same title. I can change repositories using hg commands from cmd. and this is also reflected from the Apache server when I view it through the web interface. But I cannot click, pull from the repository, and I cannot clone from the repositories. My hgWebConfig:
[collections]
c:\webdir\repository\ = c:\webdir\repository\
[web]
allow_push = *
allow_pull = *
push_ssl = false
allow_archive = bz2 gz zip
Repositories, c:\webdir\repository. hgweb.cgi c:\webdir. Apache :
ScriptAlias / c:/webdir/index.cgi/
<Directory "C:/webdir/">
AddHandler cgi-script .cgi .html .xhtml
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
,