Header append P3P "policyref=\"\", CP=\"NOI DSP COR PSA PSAa OUR IND COM NAV STA\"" Alias /nagios/cgi-bin/images /usr/local/nagios/share/images Options FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user
Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user
listen 8000 ServerName ServerAlias 192.168.7.184 #ProxyRequests On #ProxyRemote *
#下例仅允许192.168.5.184通过您的代理服务器访问代理内容: # #Order Deny,Allow #Deny from all #Allow from 192.168.5.0 #
#设置被代理屏蔽的语句、主机、域,这里是屏蔽所有的请求 #ProxyBlock *
#指定允许转发请求的最大代理数目 #ProxyMaxForwards 2
#将一个远端服务器映射到本地服务器的URL空间中 #当使用ProxyPass指令时,ProxyRequests指令通常应当被设为 off 。
#ProxyPass / #ProxyPassReverse /
# ProxyPass /inn # ProxyPassReverse /inn
listen 80 DocumentRoot /www RewriteEngine on RewriteRule ^(.*)$ /dead_letter RewriteRule ^(.*)$ Options -Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthName " Test" AuthType Basic AuthUserFile /usr/local/apache2/conf/htpasswd.users AuthGroupFile /usr/local/apache2/conf/htpasswd.groups Require group test