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,


Reply via email to