[mod_python] redirects and url rewriting

Kevin Ballard kevin at sb.org
Mon Dec 22 14:47:08 EST 2003

I meant to send this to the list, but I accidentally sent it to Daniel 
Popowich instead.


Well, I just did a curl on http://localhost/manual and these were the 
headers I got:

HTTP/1.1 301 Moved Permanently
Date: Mon, 22 Dec 2003 17:53:24 GMT
Server: Apache/2.0.48 (Unix) DAV/2 mod_python/3.0.4 Python/2.3
Location: http://localhost/manual/
Content-Length: 341
Content-Type: text/html; charset=iso-8859-1

Does that explain it well enough for you?

On Dec 22, 2003, at 12:34 PM, Daniel J. Popowich wrote:

> Also, being the kind of geek that needs to know how and why things
> work, I'd like to know why some redirects rewrite my browser url and
> some don't; ultimately, I'd like to be able to control the behaviour
> with mod_python.

Kevin Ballard
kevin at sb.org

More information about the Mod_python mailing list