diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-14 02:28:17 -0200 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-14 02:28:17 -0200 |
commit | ecd23b84d355e7f05d2d14b1b7747b08ca02da03 (patch) | |
tree | d624b95f7ed387eef73841a309136640be62d620 /config/apache_mod_security-dev/apache_virtualhost.xml | |
parent | 1a533cc04b825769bf2c8a83f574894132fe9ba4 (diff) | |
download | pfsense-packages-ecd23b84d355e7f05d2d14b1b7747b08ca02da03.tar.gz pfsense-packages-ecd23b84d355e7f05d2d14b1b7747b08ca02da03.tar.bz2 pfsense-packages-ecd23b84d355e7f05d2d14b1b7747b08ca02da03.zip |
apache-modsecurity-dev - add a location tab to apache menus to fix custom location options display
move modsecurity crs_10_setup to module option tab
Backup your location config before updating form 0.2.x to 0.3 package version
Diffstat (limited to 'config/apache_mod_security-dev/apache_virtualhost.xml')
-rw-r--r-- | config/apache_mod_security-dev/apache_virtualhost.xml | 97 |
1 files changed, 14 insertions, 83 deletions
diff --git a/config/apache_mod_security-dev/apache_virtualhost.xml b/config/apache_mod_security-dev/apache_virtualhost.xml index 53478721..c2c4837b 100644 --- a/config/apache_mod_security-dev/apache_virtualhost.xml +++ b/config/apache_mod_security-dev/apache_virtualhost.xml @@ -119,6 +119,11 @@ <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/apache_mod_security-dev/pkg_apache.inc</item> </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/apache_mod_security-dev/apache_location.xml</item> + </additional_files_needed> <tabs> <tab> <text>Apache</text> @@ -144,6 +149,11 @@ <tab_level>2</tab_level> </tab> <tab> + <text>Location(s)</text> + <url>/pkg.php?xml=apache_location.xml</url> + <tab_level>2</tab_level> + </tab> + <tab> <text>Virtual Hosts</text> <url>/pkg.php?xml=apache_virtualhost.xml</url> <tab_level>2</tab_level> @@ -267,100 +277,21 @@ <show_disable_value>none</show_disable_value> </field> <field> - <name><![CDATA[Location(s)]]></name> - <type>listtopic</type> - </field> - <field> <fielddescr> <![CDATA[Location(s)]]> </fielddescr> <fieldname>locations</fieldname> <type>rowhelper</type> - <dontdisplayname/> - <usecolspan2/> - <movable>on</movable> <rowhelper> <rowhelperfield> - <fielddescr><![CDATA[gzip?]]></fielddescr> - <fieldname>compress</fieldname> - <description>Compress data to save bandwidth?</description> - <type>select</type> - <options> - <option><name>yes</name><value>yes</value></option> - <option><name>no</name><value>no</value></option> - </options> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[Site Path]]></fielddescr> - <fieldname>sitepath</fieldname> - <description><![CDATA[Site path to publish.<br>leave blank to use /]]></description> - <type>input</type> - <size>12</size> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[Balancer]]></fielddescr> - <fieldname>balancer</fieldname> - <description>Server balancer / pool</description> - <source><![CDATA[$config['installedpackages']['apachebalancer']['config']]]></source> - <source_name>name</source_name> - <source_value>name</source_value> - <show_disable_value>none</show_disable_value> - <type>select_source</type> - <size>5</size> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[<a href='https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass'>LB Method</a>]]></fielddescr> - <fieldname>lbmethod</fieldname> - <description>Server balance method</description> - <type>select</type> - <options> - <option><name>byrequests</name><value>byrequests</value></option> - <option><name>bytraffic</name><value>bytraffic</value></option> - <option><name>bybusyness</name><value>bybusyness</value></option> - </options> - </rowhelperfield> - <rowhelperfield> - <fielddescr>Backend Path</fielddescr> - <fieldname>backendpath</fieldname> - <description><![CDATA[Backend redirect path.<br>Leave blank to use /]]></description> - <type>input</type> - <size>12</size> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[ModSecurity]]></fielddescr> - <fieldname>modsecgroup</fieldname> - <description>Choose ModSecurity group to use on this virtual host.</description> - <type>select_source</type> - <source><![CDATA[$config['installedpackages']['apachemodsecuritygroups']['config']]]></source> + <fielddescr><![CDATA[Location]]></fielddescr> + <fieldname>Location</fieldname> + <description>Server locatino</description> + <source><![CDATA[$config['installedpackages']['apachelocation']['config']]]></source> <source_name>name</source_name> <source_value>name</source_value> <show_disable_value>none</show_disable_value> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[Manipulations]]></fielddescr> - <fieldname>modsecmanipulation</fieldname> - <description>Choose Modsecurity group to use on this virtual host.</description> <type>select_source</type> - <source><![CDATA[$config['installedpackages']['apachemodsecuritymanipulation']['config']]]></source> - <source_name>name</source_name> - <source_value>name</source_value> - <show_disable_value>none</show_disable_value> - </rowhelperfield> - <rowhelperfield> - <fielddescr><![CDATA[<a href='https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass'> Balancer options</a>]]></fielddescr> - <fieldname>options</fieldname> - <description><![CDATA[Additional proxypass options for this path.<br>ex: ttl=60 stickysession='JSESSIONID']]></description> - <type>input</type> - <size>11</size> - </rowhelperfield> - <rowhelperfield> - <fielddescr>Location Custom Settings</fielddescr> - <fieldname>custom</fieldname> - <description><![CDATA[Pass extra Apache config for this Location. This is useful for SSLRequire rules for example.]]></description> - <type>textarea</type> - <cols>65</cols> - <rows>10</rows> - <encoding>base64</encoding> </rowhelperfield> </rowhelper> </field> |