github.io/assets/apprentice/wordpress/apache.conf

15 lines
281 B
ApacheConf
Raw Normal View History

2022-08-08 14:44:56 +00:00
<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>