在我安全的apache2站点文件中,我有
<IfModule mod_ssl.c> NameVirtualHost 192.168.1.1:443 SSLStrictSNIVHostCheck off <VirtualHost 192.168.1.1:443> ... ProxyPass /subdirectory http://another.site/anotherdir/ ProxyPass /subdirectory/ http://another.site/anotherdir/ <Location /anotherdir/> Order allow,deny Allow from all </Location> </VirtualHost> </IfModule>
当我的用户点击代理通行证时,他们被提示inputapache用户名和密码。 我怎样才能绕过Apache的用户名和密码? 我究竟做错了什么?
尝试在ProxyPass行之前添加RequestHeader unset Authorization 。