En/na Antoni Villalonga i Noceras ha escrit: > Package: darcsweb > Version: 0.16-1 > Severity: normal > > I think there is a problen in the links of feed RSS. I am not sure at all, > could be a problem in my config files. > > There are my config files: > [EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py > # # file named "_darcs/third_party/darcsweb/extdoc" (one line only), set > # # this to True. It defaults to False. > # #autoprojurl = True > > class frikibloc: > reponame = 'FrikiBLOC' > repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals' > repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs' > repourl = 'http://friki.cat' > repoencoding = 'latin1' > [EMAIL PROTECTED]:~$ tail /etc/darcsweb/config.py > # # file named "_darcs/third_party/darcsweb/extdoc" (one line only), set > # # this to True. It defaults to False. > # #autoprojurl = True > > class frikibloc: > reponame = 'FrikiBLOC' > repodesc = 'Sistema gestor de continguts (CMS) per a blocs personals' > repodir = '/home/antoni/bloc/descarregues/frikibloc/darcs' > repourl = 'http://friki.cat' > repoencoding = 'latin1' > [EMAIL PROTECTED]:~$ cat /etc/apache2/sites-available/frikibloc > [...] > <VirtualHost *:80> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /home/antoni/frikibloc > ServerName frikibloc.info > ErrorLog /var/log/apache2/frikibloc.error.log > CustomLog /var/log/apache2/frikibloc.access.log combined > php_admin_value open_basedir /home/antoni/frikibloc > > Alias /darcsweb /usr/share/darcsweb > <Directory "/usr/share/darcsweb"> > AllowOverride None > Options None > Order allow,deny > Allow from all > RedirectMatch ^/darcsweb$ /cgi-bin/darcsweb.cgi > </Directory> > </VirtualHost> > [EMAIL PROTECTED]:~$ > > Links of my repo: > REPO: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=summary > RSS: http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=rss > Example: > Incorrect link (readed from rss): > http://frikibloc.info/cgi-bin/darcsweb.cgi/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz > Correct link: > http://frikibloc.info/cgi-bin/darcsweb.cgi?r=FrikiBLOC;a=commit;h=20070426021537-e6899-f351afde840ddb68c4e1b521fd6688fcbaf86bb9.gz > > It's all, thanks! > > -- System Information: > Debian Release: 4.0 > APT prefers stable > APT policy: (500, 'stable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.16-xenU-rimu6 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > Versions of packages darcsweb depends on: > ii darcs 1.0.9~rc1-0.1 an advanced revision control > syste > ii python 2.4.4-2 An interactive high-level > object-o > > Versions of packages darcsweb recommends: > ii apache2 2.2.3-4 Next generation, scalable, > extenda > ii apache2-mpm-prefork [httpd] 2.2.3-4 Traditional model for Apache > HTTPD > > -- no debconf information > >
Hi! I solved my problem changing just one line. I don't know if it's an "universal" patch. This is the diff file: --- darcsweb.cgi 2007-04-27 07:24:55.000000000 +0200 +++ original-darcsweb.cgi 2007-04-27 06:57:15.000000000 +0200 @@ -2263,7 +2263,7 @@ if 'myurl' not in dir(base) and 'cachedir' not in dir(base): n = os.environ['SERVER_NAME'] p = os.environ['SERVER_PORT'] - s = os.path.dirname(os.environ['SCRIPT_NAME']) + s = os.environ['SCRIPT_NAME'] if p == '80': p = '' else: Bye! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]