Summary: | Internal Dummy Connection should process effortlessly | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Michael Krieger <phyre> |
Component: | Core | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | brian |
Priority: | P2 | ||
Version: | 2.2.3 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Michael Krieger
2007-03-08 17:49:05 UTC
My TEMPORARY solution was to create these virtualhosts (apparently it's an IP6 request in my configuration, so I needed the second). <Virtualhost 127.0.0.1> ServerName localhost DocumentRoot /var/www </VirtualHost> <Virtualhost [::1]> ServerName localhost DocumentRoot /var/www </VirtualHost> At least these I know will return MY dummy file instead of a huge PHP script where the database queries and numbers do matter. However, this issue needs to be addressed if this method is used to wake up the children. Making requests blindly and without care to a Web server can throw off numbers in more than the logs in an era where everything is dynamic. The REQUEST FILE either NEEDS to be configurable, or the HOST NEEDS to be configurable, or the request TYPE needs to be harmless and dealt with internally, or the request needs to be silently handled internally without doing any processing. Either way really, with the preference being internally handling it, then changing the type. Agreed, as discussed recently on dev@ - committed in: http://svn.apache.org/viewvc?view=rev&revision=517233 |