Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by slive:
http://wiki.apache.org/httpd/Logs/InternalDummyConnection

The comment on the change is:
The other suggestion would have created annoying error_log entries

------------------------------------------------------------------------------
  
  and then add {{{env=!loopback}}} to the end of your CustomLog directive.
  
- In certain configurations, these requests may hit a heavy-weight dynamic web 
page and cause unnecessary load on the server. You can prevent the server from 
processing the requests using another standard configuration:
+ In certain configurations, these requests may hit a heavy-weight dynamic web 
page and cause unnecessary load on the server. You can avoid this by using 
mod_rewrite to respond with a redirect when accessed with that specific 
User-Agent or IP address.
  
- {{{
- SetEnvIf User-Agent "(internal dummy connection)" dummy
- <LocationMatch ^/$>
- Order allow,deny
- Allow from all
- Deny from env=dummy
- </LocationMatch>
- }}}
- If you have other access controls in place, be sure to properly integrate 
this new control. The above configuration will, by default, override any other 
access control on the root web page. Also note that this will only work on 
non-SSL servers, since SSL servers will not be able to read the User-Agent on 
the request. For SSL servers, use the Remote_Addr as in the logging example.
- 

Reply via email to