apachevirtualhost 1.0 Apache reverse proxy: Site Proxies Mod_Security+Apache+Proxy
Services
apache_virtualhost.xml
/usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security.inc /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security.template /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security_groups.xml /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security_settings.xml /usr/local/www/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security_view_logs.php /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache.template /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_balancer.template /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_balancer.xml /usr/local/www/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_logs_data.php /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security_manipulation.xml /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_mod_security_sync.xml /usr/local/pkg/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_settings.xml /usr/local/www/ 0644 http://www.pfsense.com/packages/config/apache_mod_security-dev/apache_view_logs.php 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 Virutal Hosts /pkg.php?xml=apache_virtualhost.xml 2 Logs /apache_view_logs.php 2 Status enable 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 HTTPS SSL certificate ssl_cert Choose the SSL Server Certificate here. select_source descr refid none intermediate CA certificate(optional) reverse_int_ca Select intermediate CA assigned to certificate. Not all certificates require this. select_source descr refid none locations rowhelper compress Compress data to save bandwidth? select sitepath leave blank to use /]]> input 5 balancer Server balancer / pool name name none select_source 5 LbMethod]]> lbmethod Server balance method select Backend path backendpath Leave blank to use /]]> input 5 modsecgroup Choose Modsecurity group to use on this virtual host. select_source name name none modsecmanipulation Choose Modsecurity group to use on this virtual host. select_source name name none   Balancer options]]> options ex: ttl=60 stickysession='JSESSIONID']]> input 5 Logging listtopic Preserve Proxy hostname preserveproxyhostname checkbox Log file logfile select Custom Options listtopic Custom Options custom Paste extra apache config for this virtualhost. This is usefull for rewrite rules for example. textarea 65 10 base64
apache_mod_security /usr/local/etc/rc.d/apache_mod_security.sh httpd apache_mod_security_resync(); /usr/local/pkg/apache_mod_security.inc