hgwebdir.cgi failing

Robert Sanford rsanford at intellitax.com
Tue Sep 2 13:51:21 CDT 2008


New at both Apache and Mercurial...

The Error
-----
HTTP 500 Error reported by Apache. Go into error.log and find...

[Tue Sep 02 13:36:25 2008] [error] [client 127.0.0.1] (OS 5)Access is
denied.  : couldn't spawn child process: C:/repos/cgi/hgwebdir.cgi


The Environment
-----
Running Apache version 2.2 (port 8000) on Microsoft Windows XP Pro.

Mercurial 1.0.2 installed using the TortoiseHg install. Mercurial is on
the path.

Running Python 2.5.1. Python is *not* on the path.


The Setup
-----
C:\repos\cgi holds hgwebdir.cgi and hgweb.config (both attached and can
be provided as text if mail servers prevent the attachment).

C:\repos\ty2008 holds the repositories

I have configured an Apache directory as follows:

  ScriptAliasMatch        ^/hg(.*)        /repos/cgi/hgwebdir.cgi$1
  <Directory /repos/cgi>
    Options ExecCGI FollowSymLinks
    Order allow,deny
    AllowOverride All
    Allow from all
    AddHandler cgi-script .cgi
  </Directory>


I have no idea where to look for any additional errors. Pointers and
assistance greatly appreciated.

rjsjr


Attachments
-----
 <<hgwebdir.cgi>>  <<hgweb.config>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080902/a1e28012/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgwebdir.cgi
Type: application/octet-stream
Size: 1559 bytes
Desc: hgwebdir.cgi
Url : http://selenic.com/pipermail/mercurial/attachments/20080902/a1e28012/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgweb.config
Type: application/octet-stream
Size: 49 bytes
Desc: hgweb.config
Url : http://selenic.com/pipermail/mercurial/attachments/20080902/a1e28012/attachment-0001.obj 


More information about the Mercurial mailing list