[mod_python] serving files by modpython handler

Byron Ellacott bje at apnic.net
Tue Feb 10 09:28:42 EST 2004


On Mon, 2004-02-09 at 21:06, Kamil Niechajewicz wrote:
> - Second way is making some dir outside, that will not
> 	be mapped to my handler, but I don't know whether it
> 	will work, because my _whole_ site is handled by
> 	mod_python module. So when I have "/ and below" 
> 	handled by modpython how can I have "/img" handled
> 	by normal apache handlers that will just send requested
> 	file?

<Files *.gif>
  SetHandler default
</Files>

Or

<Directory /img>
  SetHandler default
</Directory>

-- 
bje


More information about the Mod_python mailing list