Apache2 反向代理不断给出错误 500

Bob*_*bby 3 ubuntu reverse-proxy apache-2.2

当我尝试反向代理时不确定发生了什么,但我不断收到错误 500。我启用了 mod_proxy 和 mod_proxy_html,我的反向代理的 conf 文件如下所示:

    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
     Order deny,allow
     Allow from all
    </Proxy>
    ProxyPass /panel http://mydomain.com:8005/
    ProxyPassReverse /panel http://mydomain.com:8005/
Run Code Online (Sandbox Code Playgroud)

我已经尝试了几乎所有的东西,只要用斜杠和不带斜杠来写相反的东西。当我

    tail /var/log/apache2/error.log

    [Tue Dec 06 12:58:00 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Dec 06 12:58:00 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Tue Dec 06 12:58:00 2011] [notice] Digest: generating secret for digest authentication ...
    [Tue Dec 06 12:58:00 2011] [notice] Digest: done
    PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so' - /usr/lib/php5/20090626+lfs/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Tue Dec 06 12:58:00 2011] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Tue Dec 06 12:58:00 2011] [notice] mod_python: using mutex_directory /tmp
    [Tue Dec 06 12:58:00 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Tue Dec 06 12:58:00 2011] [notice] Apache/2.2.20 (Ubuntu) DAV/2 mod_fcgid/2.3.6 Phusion_Passenger/2.2.11 PHP/5.3.6-13ubuntu3.2 with Suhosin-Patch proxy_html/3.0.1 mod_python/3.3.1 Python/2.7.2+ mod_ruby/1.2.6 Ruby/1.8.7(2011-06-30) mod_ssl/2.2.20 OpenSSL/1.0.0e configured -- resuming normal operations
Run Code Online (Sandbox Code Playgroud)

小智 8

确保mod_proxymod_proxy_http已加载。