diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-10 02:08:52 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-10 02:08:52 +0000 |
commit | e039fea66ed0371fc08097dad0f3a4208500422a (patch) | |
tree | 64bec01ed091d75632200d375dfbee0e38b16c12 | |
parent | 15fe150564a702e557c97b7dd1b6b3b59a36cbe6 (diff) |
Tightened httpd config security
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@499 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | ledger-smb-httpd.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ledger-smb-httpd.conf b/ledger-smb-httpd.conf index 02237a0e..bc37e220 100644 --- a/ledger-smb-httpd.conf +++ b/ledger-smb-httpd.conf @@ -7,6 +7,10 @@ Alias /ledger-smb /some/path/to/ledger-smb/ Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All + <Files ~ "*\.conf$"> + Order Deny,Allow + Deny from All + </Files> </Directory> <Directory /some/path/to/ledger-smb/users> @@ -14,3 +18,18 @@ Alias /ledger-smb /some/path/to/ledger-smb/ Deny from All </Directory> +<Directory /some/path/to/ledger-smb/bin> + Order Deny,Allow + Deny from All +</Directory> + +<Directory /some/path/to/ledger-smb/spool> + Order Deny,Allow + Deny from All +</Directory> + +<Directory /some/path/to/ledger-smb/templates> + Order Deny,Allow + Deny from All +</Directory> + |