diff options
author | Scott Ullrich <sullrich@mpb-geekgod.geekgod.com> | 2009-06-18 16:38:14 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@mpb-geekgod.geekgod.com> | 2009-06-18 16:38:43 -0400 |
commit | 6eb214f66c5904c113c26d8a2d7ec66d18f3b13b (patch) | |
tree | af0c2a004f3c3d88539a88a6e1821026aea4eff4 /config/apache_mod_security/apache_mod_security.xml | |
parent | b19175d8e19e1056f660f351cd63b6289fa25893 (diff) | |
download | pfsense-packages-6eb214f66c5904c113c26d8a2d7ec66d18f3b13b.tar.gz pfsense-packages-6eb214f66c5904c113c26d8a2d7ec66d18f3b13b.tar.bz2 pfsense-packages-6eb214f66c5904c113c26d8a2d7ec66d18f3b13b.zip |
Initial stab at apache_mod_security package.
Diffstat (limited to 'config/apache_mod_security/apache_mod_security.xml')
-rw-r--r-- | config/apache_mod_security/apache_mod_security.xml | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/config/apache_mod_security/apache_mod_security.xml b/config/apache_mod_security/apache_mod_security.xml new file mode 100644 index 00000000..b53a435d --- /dev/null +++ b/config/apache_mod_security/apache_mod_security.xml @@ -0,0 +1,107 @@ +<?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.xml + part of pfSense (http://www.pfSense.com) + Copyright (C)2009 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</name> + <version>1.0</version> + <title>Services: Mod_Security+Apache+Proxy</title> + <include_file>/usr/local/pkg/apache_mod_security.inc</include_file> + <menu> + <name>apache_mod_security</name> + <tooltiptext></tooltiptext> + <section>Services</section> + <configfile>apache_mod_security.xml</configfile> + </menu> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0644</chmod> + <item>http://www.pfsense.com/packages/config/apache_mod_security/apache_mod_security.inc</item> + </additional_files_needed> + <tabs> + <tab> + <text>Site Proxies</text> + <url>/pkg.php?xml=apache_mod_security.xml</url> + <active/> + </tab> + <tab> + <text>Physical Hosting</text> + <url>/pkg.php?xml=apache_mod_security_physical_hosting.xml</url> + <active/> + </tab> + </tabs> + <adddeleteeditpagefields> + <columnitem> + <fielddescr>Site name</fielddescr> + <fieldname>sitename</fieldname> + </columnitem> + </adddeleteeditpagefields> + <fields> + <field> + <fielddescr>Site name</fielddescr> + <fieldname>sitename</fieldname> + <description>Name of the site.</description> + <type>input</type> + </field> + <field> + <fielddescr>Site URL (FQDN)</fielddescr> + <fieldname>siteurl</fieldname> + <description></description> + <type>input</type> + </field> + <field> + <fielddescr>Site IP address</fielddescr> + <fieldname>siteipaddress</fieldname> + <description>IP address of web server. If it is behind the firewall this will generally be a private IP address in non-bridged situations. Leave blank to use the Firewalls DNS resolution. (EX: 10.2.3.1)</description> + <type>input</type> + </field> + </fields> + <service> + <name>apache_mod_security</name> + <rcfile>/usr/local/etc/rc.d/apache_mod_security.sh</rcfile> + <executable>httpd</executable> + </service> + <custom_add_php_command_late> + </custom_add_php_command_late> + <custom_php_install_command> + </custom_php_install_command> + <custom_php_deinstall_command> + </custom_php_deinstall_command> + <custom_php_after_form_command> + </custom_php_after_form_command> +</packagegui>
\ No newline at end of file |