Document WHM, cPanel and WordPress!
This commit is contained in:
15
assets/apprentice/wordpress/apache.conf
Normal file
15
assets/apprentice/wordpress/apache.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
<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>
|
Reference in New Issue
Block a user