From: Rich Bowen Be careful with the directory-path arguments: They have
+to literally match the filesystem path which Apache uses to access the
+files. Directives applied to a particular <Directory> will not
+apply to files accessed from that same directory via a different path,
+such as via different symbolic links. Extended regular
expressions can also be used, with the addition of the
<Dircectory
+ match a `/' character, so <Directory
/*/public_html>
will not match
/home/user/public_html
, but <Directory
/home/*/public_html>
will match. Example:
@@ -255,6 +255,14 @@ named file-system directory and sub-directories
+
+
+ ~
character. For example:<Dircectory
+ match a `/' character, so
<Directory
/*/public_html>
will not match
/home/user/public_html
, but <Directory
/home/*/public_html>
will match. Example:
Be careful with the directory-path arguments: They have +to literally match the filesystem path which Apache uses to access the +files. Directives applied to a particular <Directory> will not +apply to files accessed from that same directory via a different path, +such as via different symbolic links.
+Extended regular
expressions can also be used, with the addition of the
~
character. For example: