<p>To allow a few users to have <code>UserDir</code> directories, but
not anyone else, use the following:</p>
- <example>
- UserDir disabled<br />
- UserDir enabled user1 user2 user3
- </example>
+ <highlight language="config">
+UserDir disabled
+UserDir enabled user1 user2 user3
+ </highlight>
<p>To allow most users to have <code>UserDir</code> directories, but
deny this to a few, use the following:</p>
- <example>
+ <highlight language="config">
UserDir disabled user4 user5 user6
- </example>
+ </highlight>
<p>It is also possible to specify alternative user directories.
If you use a command like:</p>
- <example>
- Userdir public_html /usr/web http://www.example.com/
- </example>
+ <highlight language="config">
+ UserDir public_html /usr/web http://www.example.com/
+ </highlight>
<p>With a request for
<code>http://www.example.com/~bob/one/two.html</code>, will try to
<p><module>mod_usertrack</module> sets a cookie which can be logged
via <module>mod_log_config</module> configurable logging formats:</p>
- <example>
- LogFormat "%{Apache}n %r %t" usertrack<br />
- CustomLog logs/clickstream.log usertrack
- </example>
+ <highlight language="config">
+LogFormat "%{Apache}n %r %t" usertrack
+CustomLog logs/clickstream.log usertrack
+ </highlight>
</section>
level domain (for example <code>.example.co.uk</code>).
</note>
- <example>
+ <highlight language="config">
CookieDomain .example.com
- </example>
+ </highlight>
</usage>
</directivesynopsis>
<p>If this directive is not used, cookies last only for the
current browser session.</p>
- <example>
+ <highlight language="config">
CookieExpires "3 weeks"
- </example>
+ </highlight>
</usage>
</directivesynopsis>
unpredictable if you use a name containing unusual characters.
Valid characters include A-Z, a-z, 0-9, "_", and "-".</p>
- <example>
+ <highlight language="config">
CookieName clicktrack
- </example>
+ </highlight>
</usage>
</directivesynopsis>
three of these formats, with <code>Cookie2</code> being the
preferred format.</p>
- <example>
+ <highlight language="config">
CookieStyle Cookie2
- </example>
+ </highlight>
</usage>
</directivesynopsis>
<module>mod_usertrack</module> will <strong>not</strong>
activate cookies. </p>
- <example>
+ <highlight language="config">
CookieTracking on
- </example>
+ </highlight>
</usage>
</directivesynopsis>