Log message after request to /foo/* is processed:
<div class="example"><p><code>
- <Location /foo><br />
- LogMessage "/foo has been requested"<br />
+ <Location /foo/><br />
+ LogMessage "/foo/ has been requested"<br />
</Location><br />
</code></p></div>
</li>
<li>
Log message if request to /foo/* is processed in a sub-request:
<div class="example"><p><code>
- <Location /foo><br />
- LogMessage "subrequest to /foo" hook=type_checker if=%{IS_SUBREQ}<br />
+ <Location /foo/><br />
+ LogMessage "subrequest to /foo/" hook=type_checker if=%{IS_SUBREQ}<br />
</Location><br />
</code></p></div>
LogMessage "%{reqenv:X-Foo}" hook=all<br />
</Location><br />
</code></p></div>
- Together with the microsecond time stamps in the error log, this
- allows to determine the times spent in the different parts of the
- request processing.
+ Together with microsecond time stamps in the error log,
+ <code>hook=all</code> also allows to determine the times spent
+ in the different parts of the request processing.
</li>
</ol>
</div><div id="footer">
<p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
-</body></html>
+</body></html>
\ No newline at end of file
Log message after request to /foo/* is processed:
<example>
- <Location /foo><br/>
- LogMessage "/foo has been requested"<br/>
+ <Location /foo/><br/>
+ LogMessage "/foo/ has been requested"<br/>
</Location><br/>
</example>
</li>
<li>
Log message if request to /foo/* is processed in a sub-request:
<example>
- <Location /foo><br/>
- LogMessage "subrequest to /foo" hook=type_checker if=%{IS_SUBREQ}<br/>
+ <Location /foo/><br/>
+ LogMessage "subrequest to /foo/" hook=type_checker if=%{IS_SUBREQ}<br/>
</Location><br/>
</example>
LogMessage "%{reqenv:X-Foo}" hook=all<br/>
</Location><br/>
</example>
- Together with the microsecond time stamps in the error log, this
- allows to determine the times spent in the different parts of the
- request processing.
+ Together with microsecond time stamps in the error log,
+ <code>hook=all</code> also allows to determine the times spent
+ in the different parts of the request processing.
</li>
</ol>