Created
July 31, 2019 20:08
-
-
Save corysolovewicz/c6318978c156f82dd8cfa272386a67a0 to your computer and use it in GitHub Desktop.
Denying access to C: drive with Apache Server
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
# The httpd.conf is designed for user configurations. | |
# You really should not edit the apache2.conf as it may be updated by future upgrades. | |
# An additional option is to just put your custom configuration into /etc/apache2/conf.d, | |
# all files in this directory are included as well. | |
# This entry denies access to C: drive | |
<Directory C:/> | |
Order deny,allow | |
Deny from all | |
AllowOverride None | |
Options None | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment