hgwebdir.cgi failing
Robert Sanford
rsanford at intellitax.com
Tue Sep 2 14:52:58 CDT 2008
Minor improvement.
I now receive an empty list. But there is a list at least.
Is this the correct syntax for my config file?
[collections]
/repos/ty2008 = c:\repos\ty2008\
If it is the correct syntax for my config file, what is the URL that I should be using to access my list of repositories given my Apache directory config looks like...
WSGIScriptAliasMatch ^/hg(.*) /repos/cgi/hgwebdir.wsgi$1
<Directory /repos/cgi>
Options ExecCGI FollowSymLinks
Order allow,deny
AllowOverride All
Allow from all
AddHandler cgi-script .cgi
</Directory>
I have tried the following
/hg/ - empty list
/hg/ty2008/ - 500 Error
/hg/repos/ty2008/ - 500 Error
Thanks!
rjsjr
> -----Original Message-----
> From: mercurial-bounces at selenic.com [mailto:mercurial-
> bounces at selenic.com] On Behalf Of Igor Kostenko
> Sent: Tuesday, September 02, 2008 2:02 PM
> To: mercurial at selenic.com
> Subject: Re: hgwebdir.cgi failing
>
> Hello Robert,
>
> > New at both Apache and Mercurial…
> ...
> > HTTP 500 Error reported by Apache. Go into error.log and find…
>
> When I'm using hgwebdir.cgi and Mecrurial > 0.9.5 on windows python
> crashed. So I suggest to use hgwebdir.wsgi -
> http://www.selenic.com/mercurial/wiki/index.cgi/modwsgi
>
> You could also check my variant in previous thread.
> My apache conf:
>
>
> <IfModule alias_module>
> ...
> WSGIScriptAlias /hg C:/D/hg/cgi/hgwebdir.wsgi </IfModule>
>
> <Directory "C:/D/hg/cgi">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> </Directory>
>
> WBR, Igor
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
NOTICE:
The contents of this email and any attachments to it may contain privileged and confidential information from Credit Union Tax Services. This information is only for the viewing or use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of, or the taking of any action in reliance upon, the information contained in this e-mail, or any of the attachments to this e-mail, is strictly prohibited and that this e-mail and all of the attachments to this e-mail, if any, must be immediately returned to Credit Union Tax Services or destroyed and, in either case, this e-mail and all attachments to this e-mail must be immediately deleted from your computer without making any copies thereof. If you have received this e-mail in error, please notify Credit Union Tax Services by e-mail immediately.
More information about the Mercurial
mailing list