Hi.

I've tried run mercurial repository with cherokee, but i can't.

I've done this:

1.- Create /var/www/hg directory
2.- Create /var/www/hg/repos directory
3.- Copy hgwebdir.cgi to /var/www/hg
4.- chmod a+x hgwebdir.cgi
5.- Create /var/www/hg/hgweb.config file:
    [collections]
    ./repos/ = /var/www/hg/repos/
    [web]
    style = gitweb

6.- chown www-data:www-data -R /var/www/hg/
7.- Added new rule to default Virtual Server.
    Type: Directory
    Web Directory: /hg
    Handler: SCGI
    Common CGI options enables: None
    Balancer: Round Robin
    Information Sources: hg-cgi
        hg-cgi Settings:
            Type: Local Interpreter
            Connection: localhost
            Interpreter: /var/www/hg/hgwebdir.cgi

When i try to explore repository i get this error:

503 Service Unavailable


If i run hgwebdir.cgi script in console i get:

Status: 200 Script output follows
Content-Type: text/html; charset=UTF-8

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-US" lang="en-US">
<head>
<link rel="icon" href="/static/hgicon.png" type="image/png" />
<meta name="robots" content="index, nofollow"/>
<link rel="stylesheet" href="/static/style-gitweb.css" type="text/css" />


<title>Mercurial repositories index</title>
</head>
<body>

<div class="page_header">
    <a href="http://www.selenic.com/mercurial/"; title="Mercurial"
style="float: right;">Mercurial</a>
    Repositories list
</div>

<table cellspacing="0">
    <tr>
        <td><a href="?sort=-name">Name</a></td>
        <td><a href="?sort=description">Description</a></td>
        <td><a href="?sort=contact">Contact</a></td>
        <td><a href="?sort=lastchange">Last change</a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>

</table>
<div class="page_footer">

</div>
</body>
</html>


Others datas:
    Operative System: Ubuntu 8.04
    Cherokee Version: 0.99.15
    Mercurial Version: 1.0.1

How can i fix it?

Thanks.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to