apache反向代理的配置问题
我想在debian.gzon9.com下的unix目录代理远端服务器
www.chinaunix.net,配置文件如下,但出现了403错误~请求援助
NameVirtualHost *
<VirtualHost *>
ServerAdmin
gzonlin@gmail.com
ServerName debian.gzon9.com
DocumentRoot /home/linux.gzon9.com
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
ProxyRequests Off
<Proxy *>
#AddDefaultCharset off
Order deny,allow
Allow from all
#Allow from .example.com
</Proxy>
ProxyPass /unix http://www.chinaunix.com
ProxyPassReverse /unix http://www.chinaunix.com
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
# ProxyVia On
</IfModule>
</VirtualHost>