diff options
author | Scott Ullrich <sullrich@mpb-geekgod.geekgod.com> | 2009-06-18 17:40:02 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@mpb-geekgod.geekgod.com> | 2009-06-18 17:40:02 -0400 |
commit | 6e522a3a37dfda52289883b27dd9737136dceeda (patch) | |
tree | 312bfde42c5367103163b6efa34f0298fc6c3b24 /config/apache_mod_security/apache_mod_security.inc | |
parent | 102a8558132b61c919cda2bd9952cb5a1cacbf27 (diff) | |
download | pfsense-packages-6e522a3a37dfda52289883b27dd9737136dceeda.tar.gz pfsense-packages-6e522a3a37dfda52289883b27dd9737136dceeda.tar.bz2 pfsense-packages-6e522a3a37dfda52289883b27dd9737136dceeda.zip |
* Store httpdocs root in /usr/local/apache
* Add apache_mod_security_physical.inc for Marks bits
Diffstat (limited to 'config/apache_mod_security/apache_mod_security.inc')
-rw-r--r-- | config/apache_mod_security/apache_mod_security.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index e6922689..0a7a6df8 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -1,14 +1,17 @@ <?php - // Syntax:ProxyPreserveHost On|Off +require_once("apache_mod_security_physical.inc"); + function apache_mod_security_install() { - + conf_mount_rw(); + if(!is_dir("/usr/local/apache")) + safe_mkdir("/usr/local/apache"); } function apache_mod_security_deinstall() { - + } function generate_apache_configuration() { @@ -215,7 +218,7 @@ ServerAdmin {$global_site_email} # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # -DocumentRoot "/usr/local/www/apache22/data" +DocumentRoot "/usr/local/apache" # # Each directory to which Apache has access can be configured with respect |