[mod_python] Scripts in separate directory

Oliver Graf ograf at rz-online.net
Fri May 7 16:37:59 EST 2004


On Fri, May 07, 2004 at 10:23:09AM -0400, Diener, Edward wrote:
> Is this a bug or am I missing something in order to get mod_python to
> work properly with scripts in a separate directory ?

Don't use ScriptAlias, it tells apache to handle it as a cgi script
(what you do not want). Use mod_rewrite to redirect the request, for
example (any handler transparent redirection will do).

Oliver.



More information about the Mod_python mailing list