diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-23 21:46:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-23 21:46:13 -0400 |
commit | e255e42ffafd6ff4b862889e535cf0097b5f19ac (patch) | |
tree | d9f6bb955991ee1f3d05c9aa12f577eca1e51254 | |
parent | 3a8bf6e349e5e2fca13a647e586b8d026aa0859c (diff) | |
download | pfsense-packages-e255e42ffafd6ff4b862889e535cf0097b5f19ac.tar.gz pfsense-packages-e255e42ffafd6ff4b862889e535cf0097b5f19ac.tar.bz2 pfsense-packages-e255e42ffafd6ff4b862889e535cf0097b5f19ac.zip |
Generate configuration after install since the person may be restoring the config
on a different box and it should just work out of the box without having to click
edit.
-rw-r--r-- | config/apache_mod_security/apache_mod_security.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index c76ee39c..55ec4616 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -48,6 +48,10 @@ function apache_mod_security_restart() { function apache_mod_security_install() { global $config, $g; + // We might be reinstalling and a configuration + // already exists. + generate_apache_configuration(); + $filename = "apache_mod_security.sh"; $start = "php -q -d auto_prepend_file=config.inc <<ENDPHP @@ -451,6 +455,7 @@ LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so +LoadModule mem_cache_module libexec/apache22/mod_mem_cache.so LoadModule dumpio_module libexec/apache22/mod_dumpio.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so |