LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 852|回复: 0

apache反向代理的配置问题

[复制链接]
发表于 2007-8-7 15:54:57 | 显示全部楼层 |阅读模式
我想在debian.gzon9.com下的unix目录代理远端服务器www.linuxsir.cn,配置文件如下,但出现了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

        <roxy *>
               #AddDefaultCharset off
                Order deny,allow
                      Allow from all
                #Allow from .example.com
        </Proxy>
        ProxyPass /linux http://www.linuxsir.cn
        ProxyPassReverse /linux http://www.linuxsir.cn
        # 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>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表