[mod_python] making mod_python.publisher handle every file request

Martin P. Hellwig mhellwig at xs4all.nl
Mon Aug 1 15:12:21 EDT 2005


Paul Anselm Härle wrote:

>>Use SetHandler:
>>
>>   <Directory  /some/dir>
>>       SetHandler mod_python
>>       PythonHandler YOUR-HANDLER
>>   </Directory>
>>    
>>
>Is it possible to do the same thing with mod_python.publisher? because
>my <Directory> looks like this at the moment:
>    <Directory /var/www/asc/>
>        Options Indexes
>        AddHandler python-program .py
>        PythonHandler mod_python.publisher
>        AllowOverride FileInfo
>        Order allow,deny
>        Allow from all
>    </Directory>
>
>
>  
>
I can't think of any reason why not, but have you tried it and it didn't 
work?

-- 
mph


More information about the Mod_python mailing list