AddHandler mod_python .py PythonHandler fetch PythonDebug On RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule \.(gif|jpe?g|png)$ fetch.py [QSA,L] Order allow,deny Allow from all Order allow,deny Allow from all Order deny,allow Deny from all