May 10th, 2004, 11:53 PM
Join Date: Feb 2004
Time spent in forums: 1 h 20 m 49 sec
Reputation Power: 10
sending headers in mod_python
Hi, I need some help here please..
I'm using with mod_python.
In the request handler I want to redirect the client to a new url,
but it seems that the 'Locate' header(and any other header that I tried) is not being sent to the client.
The code of testPage.py is:
from mod_python import apache
Here's the .htacess file's code:
AddHandler python-program .py
RewriteRule !\.(gif|jpg|png|css)$ testPage.py
What am I doing wrong?!