httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Persson <>
Subject Re: [users@httpd] Whats happening on rewrite
Date Tue, 01 Oct 2002 11:38:21 GMT
Boyle Owen wrote:
> How are you using mod_rewrite? If you use the [R] flag, mod_rewrite sends a 
 >redirect to the client to the new URL. This has the advantage that the 
URL in
 >the browser location bar is updated - this may be what you want. 
However, this
 >might screw up IE...
> If you are not using the [R] flag, then all the rewriting is done on the 
 >server side and the browser should be none the wiser - hence shouldn't
> Post an extract from your rewrite log showing a full transaction and post a 
 >copy of your rewrite rules again (I've lost the original post) and 
I'll look again.

Ok, here goes, the url is:

If you cannot get the file with IE, then try to create a small html file 
with this in a href and try then.

and the resulting logs from one session is: - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (2) init rewrite engine 
with requested uri /Produktblad/Sika-1 PB.PDF - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (2) rewrite 
/Produktblad/Sika-1 PB.PDF -> /get_file.php?directory_id=1&file=Sika-1 
PB.PDF - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (2) local path result: 
/get_file.php - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (2) prefixed with 
document_root to /opt/www/ - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (1) go-ahead with 
/opt/www/ [OK] - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (2) init rewrite engine 
with requested uri / - - [01/Oct/2002:08:36:19 +0200] 
[][rid#82bbf14/initial] (1) pass through /

Thanks for any help..

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message