I have tried to set up both the DocumentRoot and the UserDir directories
so that they are restricted to the local domain for the time being.
While this works fine for DocumentRoot, the UserDir directories can be
accessed from anywhere. Can anyone see a mistake in the following?
Thanks for your help!
John.
<Directory />
AllowOverride None
Options None
Order deny,allow
Deny from all
</Directory>
UserDir public_html
UserDir disabled
UserDir enabled jw96
<Directory /home/*/public_html>
AllowOverride None
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from [domains are here]
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>