Commit 94f81ac2 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

updated the apache conf file to block access to the ini and inc files

also block access to the scripts directory.

working on making the install simpler, clone the directory and go
(almost) :)
parent b3b917d0
Alias /meshmap/ "/srv/meshmap/webpage/"
#
# This line creates the alias so that /meshmap can be put anywhere really
#
Alias /meshmap "/srv/meshmap/webpage/"
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ".ht*">
Require all denied
</Files>
#
# These lines deny access to the .ini or .inc files
# by web clients
#
<Files ~ "\.(inc|ini)$">
Require all denied
</Files>
#
# These lines should block access to the scripts directory
# by web clients
#
<Directory "/srv/meshmap/scripts/">
Require all denied
</Directory>
#
# These lines allow access to the webpage directory
#
<Directory "/srv/meshmap/webpage/">
AllowOverride None
Require all granted
</Directory>
</Directory>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment