Bluehost.com Web Hosting $6.95

rewrite *before* log?

This is a discussion on rewrite *before* log? within the Linux Web Servers forums, part of the Web Server and Related Forums category; Is it possible to run a RewriteRule *before* the request is logged? For example, if a request for http://example....


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2006
end-user
 
Posts: n/a
Default rewrite *before* log?

Is it possible to run a RewriteRule *before* the request is logged? For
example, if a request for http://example.com/ comes in, I want to
redirect to http://www.example.com/, and _not_ log the first hit.
  #2 (permalink)  
Old 01-19-2006
end-user
 
Posts: n/a
Default Re: rewrite *before* log?

end-user wrote:
> Is it possible to run a RewriteRule *before* the request is logged? For
> example, if a request for http://example.com/ comes in, I want to
> redirect to http://www.example.com/, and _not_ log the first hit.


Still looking for an answer to this...
  #3 (permalink)  
Old 01-19-2006
Paul Rubin
 
Posts: n/a
Default Re: rewrite *before* log?

end-user <nooneherereally@hotmail.com> writes:
> > Is it possible to run a RewriteRule *before* the request is logged?
> > For example, if a request for http://example.com/ comes in, I want
> > to redirect to http://www.example.com/, and _not_ log the first hit.

>
> Still looking for an answer to this...


There are ways you can suppress the logging. E.g. have the redirect
set an env variable, and use a CustomLog directive to log only if the
variable is not set.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0