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,

-- 
Sylvain


Reply via email to