Last active
September 27, 2015 13:39
-
-
Save imelgrat/01b48b47be3a280248cc to your computer and use it in GitHub Desktop.
Disable PUT and DELETE Apache requests and disable Server signature display
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable PUT and DELETE Apache requests and disable Server signature display |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Limit GET POST> | |
order deny,allow | |
deny from all | |
allow from all | |
</Limit> | |
<Limit PUT DELETE> | |
order deny,allow | |
deny from all | |
</Limit> | |
# disable the server signature | |
ServerSignature Off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment