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. */ /* ========================================================================== */ ]]> apachevirtualhost 1.0 Apache reverse proxy: Site Proxies Mod_Security+Apache+Proxy
Services
apache_virtualhost.xml
/usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security.inc /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security.template /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security_groups.xml /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security_settings.xml /usr/local/www/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security_view_logs.php /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache24.template /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_balancer.template /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_balancer.xml /usr/local/www/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_logs_data.php /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security_manipulation.xml /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_mod_security_sync.xml /usr/local/pkg/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_settings.xml /usr/local/www/ 0644 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_view_logs.php /usr/local/www/shortcuts/ 0755 https://packages.pfsense.org/packages/config/apache_mod_security-dev/pkg_apache.inc /usr/local/pkg/ 0755 https://packages.pfsense.org/packages/config/apache_mod_security-dev/apache_location.xml Apache /pkg_edit.php?xml=apache_settings.xml&id=0 ModSecurity /pkg_edit.php?xml=apache_mod_security_settings.xml Sync /pkg_edit.php?xml=apache_mod_security_sync.xml Daemon Options /pkg_edit.php?xml=apache_settings.xml 2 Backends / Balancers /pkg.php?xml=apache_balancer.xml 2 Location(s) /pkg.php?xml=apache_location.xml 2 Virtual Hosts /pkg.php?xml=apache_virtualhost.xml 2 Logs /apache_view_logs.php 2 on Status enable Enabled Disabled Iface interface protocol proto Server name(s) primarysitehostname base64 port port Description description Listening Options listtopic Enable enable Enable this virtual host checkbox Protocol(s) proto 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)]]> 40 2 textarea base64 Inbound Interface(s) interface WAN
Select interface(s) that this virtualhost will listen on.]]>
interfaces_selection
Port port Leave blank to use the default global port. 10 input Site Webmaster E-Mail address siteemail 50 input Site description description 50 input locations rowhelper location Server Location name name none select_source SSL Environment listtopic SSL Protocol ssl_protocol 50 input all -SSLv2 SSL Cipher Suite ssl_cipher_suite 50 input ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSL Honor Cipher Order ssl_honor_cipher_order off checkbox SSL Proxy Engine ssl_proxy_engine on checkbox SSL Proxy Verify ssl_proxy_verify select none HTTPS SSL certificate ssl_cert Choose the SSL Server Certificate here. select_source descr refid none HTTPS SSL certificate chain ssl_cert_chain Select intermediate CA assigned to server certificate. Not all certificates require this. select_source descr refid none Client certificates CA (optional) reverse_int_ca Select CA assigned to client certificates. select_source descr refid none Logging listtopic Preserve Proxy hostname preserveproxyhostname checkbox Log file logfile select Custom Options listtopic Custom Options custom Pass extra Apache config for this VirtualHost. This is useful for Rewrite rules for example. textarea 90 10 base64
apache_mod_security apache_mod_security.sh httpd apache_mod_security_resync(); /usr/local/pkg/apache_mod_security.inc