httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Persson <e...@persson.tm>
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
 >complain...
> 
> 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: http://www.sika.se/Produktblad/Sika-1%20PB.PDF

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:
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (2) init rewrite engine 
with requested uri /Produktblad/Sika-1 PB.PDF
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (2) rewrite 
/Produktblad/Sika-1 PB.PDF -> /get_file.php?directory_id=1&file=Sika-1 
PB.PDF
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (2) local path result: 
/get_file.php
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (2) prefixed with 
document_root to /opt/www/www.sika.se/pub/site/get_file.php
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (1) go-ahead with 
/opt/www/www.sika.se/pub/site/get_file.php [OK]
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (2) init rewrite engine 
with requested uri /index.com
213.64.190.96 - - [01/Oct/2002:08:36:19 +0200] 
[www.sika.se/sid#829f404][rid#82bbf14/initial] (1) pass through /index.com

Thanks for any help..
   Eric


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message