<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE packagegui SYSTEM "./schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?> <packagegui> <copyright> <![CDATA[ /* $Id$ */ /* ========================================================================== */ /* apache_mod_security_settings.xml part of apache_mod_security package (http://www.pfSense.com) Copyright (C) 2008 Scott Ullrich All rights reserved. */ /* ========================================================================== */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* ========================================================================== */ ]]> </copyright> <name>apache_mod_security_settings</name> <version>1.0</version> <title>Services: Mod_Security+Apache+Proxy: Settings</title> <aftersaveredirect>pkg_edit.php?xml=apache_mod_security_settings.xml&id=0</aftersaveredirect> <tabs> <tab> <text>Proxy Server Settings</text> <url>/pkg_edit.php?xml=apache_mod_security_settings.xml&id=0</url> <active/> </tab> <tab> <text>Site Proxies</text> <url>/pkg.php?xml=apache_mod_security.xml</url> </tab> <tab> <text>Logs</text> <url>/apache_mod_security_view_logs.php</url> </tab> </tabs> <fields> <field> <fielddescr>Global site E-mail administrator</fielddescr> <fieldname>globalsiteadminemail</fieldname> <description>Enter the site administrators e-mail address</description> <type>input</type> </field> <field> <fielddescr>Server hostname</fielddescr> <fieldname>hostname</fieldname> <description> <![CDATA[ Enter the servers hostname <br/> NOTE: Leave blank to use this devices hostname. ]]> </description> <type>input</type> </field> <field> <fielddescr>Bind to IP Address</fielddescr> <fieldname>globalbindtoipaddr</fieldname> <description> <![CDATA[ This is the IP address the Proxy Server will listen on. <br/> NOTE: Leave blank to bind to * ]]> </description> <type>input</type> </field> <field> <fielddescr>Bind to port</fielddescr> <fieldname>globalbindtoport</fieldname> <description> <![CDATA[ This is the port the Proxy Server will listen on. <br/> NOTE: Leave blank to bind to * ]]> </description> <type>input</type> </field> <field> <fielddescr>Use mod_mem_cache</fielddescr> <fieldname>mod_mem_cache</fieldname> <description> <![CDATA[ Enables mod_mem_cache which stores cached documents in memory. ]]> </description> <type>checkbox</type> </field> <field> <fielddescr>mod_mem_cache memory usage</fielddescr> <fieldname>mod_mem_cache_size</fieldname> <description> <![CDATA[ Sets the memory usage in megabytes. ]]> </description> <type>input</type> </field> <field> <fielddescr>Use mod_disk_cache</fielddescr> <fieldname>mod_disk_cache</fieldname> <description> <![CDATA[ mod_disk_cache implements a disk based storage manager. It is primarily of use in conjunction with mod_cache. ]]> </description> <type>checkbox</type> </field> <field> <fielddescr>mod_disk_cache memory usage</fielddescr> <fieldname>mod_disk_cache_size</fieldname> <description> <![CDATA[ Sets the memory usage in Kbytes. ]]> </description> <type>input</type> </field> <field> <fielddescr>Enable mod_security protection</fielddescr> <fieldname>enablemodsecurity</fieldname> <description>Enables mod_security protection for all sites being proxied</description> <type>checkbox</type> </field> <field> <fielddescr>Custom mod_security rules</fielddescr> <fieldname>modsecuritycustom</fieldname> <description>Paste any custom mod_security rules that you would like to use</description> <type>textarea</type> <rows>10</rows> <cols>75</cols> </field> </fields> <custom_php_validation_command> </custom_php_validation_command> <custom_php_resync_config_command> apache_mod_security_resync(); </custom_php_resync_config_command> <include_file>/usr/local/pkg/apache_mod_security.inc</include_file> </packagegui>