ubuntu – Apache2反向代理保持给出错误500

前端之家收集整理的这篇文章主要介绍了ubuntu – Apache2反向代理保持给出错误500前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当我尝试反向代理时,确实没有确定发生了什么,但我一直收到错误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/

我已经尝试了几乎所有的东西,只要有不同的斜杠写反向.当我

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
确保加载mod_proxy和mod_proxy_http.
原文链接:/ubuntu/347930.html

猜你在找的Ubuntu相关文章