pascal barbedor
pascalbarbedor at free.fr
Sun Jul 6 11:29:36 EST 2003
> > > Hi > > I have the following problem with mod_python : > > set up a directory like this > > > <Directory "c:/home/"> > AddHandler python-program .py .html > PythonHandler eindex > PythonDebug On > DirectoryIndex index.html eindex.py > Options Indexes > Order allow,deny > Allow from all > </Directory> > > this works ok, I intercept also .html files in the eindex.py script. > > now if I call a subdirectory of home, like /home/subdir, control is passed > to apache > wich produces a standard directory index > > so far so good. > > > now if a readme.html is located in the subdir, apache appends it to the > directoryindex page, > as it is normal by default. > > but then something interferes and it is like if the appended reame.html was > processed by the eindex.py above (but it is located in the subdir) and not > by apache, though the bare directory index is here. > > of course if AddHandler python-program .py (without .html) everything goes > well. > > I tried to add > sethandler default-handler for home/subdir but it does not work > > > > > pascal >
|