[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers-public] Re: [gnu.org #335148] Using mod_python to serv
From: |
Sylvain Beucler |
Subject: |
[Savannah-hackers-public] Re: [gnu.org #335148] Using mod_python to serve a top-level URL |
Date: |
Sat, 19 May 2007 23:39:05 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Thanks,
For the record I didn't manage to make it work - but at the same time
the mod_python version has some drawbacks, notably lack of support for
some old-style URLs, so we'll stick to the CGI version (again).
--
Sylvain
On Mon, May 14, 2007 at 11:54:00AM -0400, Joshua Ginsberg via RT wrote:
> No, but just a guess. Symlink viewvc.py as index.py and add index.py to
> your DirectoryIndex directive.
>
> -jag
>
>
> > [beuc - Sun May 13 16:40:44 2007]:
> >
> > Hi,
> >
> > For you mod_python fans :)
> >
> >
> > I'm trying to get mod_python to serve /viewvc/?root=blah at Savannah
> > instead of ugly /viewvc/viewvc.py?root=blah :
> >
> > Alias /viewvc-mp-files /var/www/viewvc/bin/mod_python
> > <Directory "/var/www/viewvc/bin/mod_python/">
> > AddHandler python-program .py
> > PythonHandler handler
> > PythonDebug On
> > </Directory>
> > RewriteRule ^/viewvc/ /viewvc-mp-files/viewvc.py/ [passthrough]
> >
> > (In CGI this is just a ScriptAlias /viewvc .../viewvc.cgi)
> >
> >
> > I'd like to avoid the mod_rewrite step and have mod_python serve
> > /viewvc directly.
> >
> > Do you know how to do so?
> >
> >
> > Thanks,