15 lines
281 B
ApacheConf
15 lines
281 B
ApacheConf
|
<VirtualHost yowpdomain.example.com:443>
|
||
|
# Dotfiles
|
||
|
<FilesMatch "^\.">
|
||
|
Deny from all
|
||
|
</FilesMatch>
|
||
|
# Dotdirs
|
||
|
<DirectoryMatch "^\.|\/\.">
|
||
|
Deny from all
|
||
|
</DirectoryMatch>
|
||
|
|
||
|
<Location /xmlrpc.php>
|
||
|
Allow 127.0.0.1
|
||
|
Deny from all
|
||
|
</Location>
|
||
|
</VirtualHost>
|