From b0e3cc67b5ac508aade428fbbddf1b90df05b696 Mon Sep 17 00:00:00 2001 From: Stephane Lapie Date: Wed, 13 Nov 2013 12:29:45 +0900 Subject: Add XMLRPC sync, vhost location custom settings - Typo: Lots of typo fixes and re-indenting - XMLRPC: Added actual code for XMLRPC (not 100% functional, remote reload fails) - VirtualHost: Added custom settings for Locations (for SSLRequire & such) - Settings: Use interfaces instead of manual input IP address --- .../apache_mod_security-dev/apache_virtualhost.xml | 195 ++++++++++----------- 1 file changed, 95 insertions(+), 100 deletions(-) (limited to 'config/apache_mod_security-dev/apache_virtualhost.xml') diff --git a/config/apache_mod_security-dev/apache_virtualhost.xml b/config/apache_mod_security-dev/apache_virtualhost.xml index b3653bdf..53478721 100644 --- a/config/apache_mod_security-dev/apache_virtualhost.xml +++ b/config/apache_mod_security-dev/apache_virtualhost.xml @@ -4,40 +4,41 @@ + 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. + 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. + 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. - */ - /* ========================================================================== */ - ]]> + 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. +*/ +/* ========================================================================== */ +]]> apachevirtualhost 1.0 @@ -143,7 +144,7 @@ 2 - Virutal Hosts + Virtual Hosts /pkg.php?xml=apache_virtualhost.xml 2 @@ -201,17 +202,14 @@ Select protocols that this virtual host will accept connections select - - + + Server Name(s) primarysitehostname - - - Leave blank and define the IP Address / port above for IP site proxy (i.e. not named site proxy)]]> - + Leave blank and define the IP Address / port above for IP site proxy (i.e. not named site proxy)]]> 40 2 textarea @@ -238,27 +236,21 @@ Site Webmaster E-Mail address siteemail 50 - - - + input Site description description 50 - - - + input HTTPS SSL certificate ssl_cert Choose the SSL Server Certificate here. - select_source + select_source descr refid @@ -283,62 +275,62 @@ locations - rowhelper - + rowhelper + on - + - - compress - Compress data to save bandwidth? + + compress + Compress data to save bandwidth? select - - + + - - sitepath - leave blank to use /]]> - input - 12 + + sitepath + leave blank to use /]]> + input + 12 - balancer - Server balancer / pool + balancer + Server balancer / pool name name none select_source - 5 + 5 - LbMethod]]> - lbmethod - Server balance method - select - - - - + LB Method]]> + lbmethod + Server balance method + select + + + + - Backend path - backendpath - Leave blank to use /]]> - input - 12 + Backend Path + backendpath + Leave blank to use /]]> + input + 12 modsecgroup - Choose Modsecurity group to use on this virtual host. - select_source + Choose ModSecurity group to use on this virtual host. + select_source name name @@ -348,20 +340,29 @@ modsecmanipulation Choose Modsecurity group to use on this virtual host. - select_source + select_source name name none -   Balancer options]]> - options - ex: ttl=60 stickysession='JSESSIONID']]> - input - 11 +   Balancer options]]> + options + ex: ttl=60 stickysession='JSESSIONID']]> + input + 11 - + + Location Custom Settings + custom + + textarea + 65 + 10 + base64 + + Logging @@ -370,25 +371,19 @@ Preserve Proxy hostname preserveproxyhostname - - - + checkbox Log file logfile - - - + select - - - - - + + + + + Custom Options @@ -397,7 +392,7 @@ Custom Options custom - Paste extra apache config for this virtualhost. This is usefull for rewrite rules for example. + Pass extra Apache config for this VirtualHost. This is useful for Rewrite rules for example. textarea 90 10 @@ -415,4 +410,4 @@ apache_mod_security_resync(); /usr/local/pkg/apache_mod_security.inc - \ No newline at end of file + -- cgit v1.2.3