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/ 

我已经尝试了几乎所有的东西,不pipe是否使用斜线,写法都是不同的。 当我

  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_proxymod_proxy_http

在一个反向代理中, ProxyRequests应该被设置为off。 请参阅mod_proxy文档 。

几种可能性:

我知道这听起来很简单,但这可能是DNS问题。

是否可以从代理parsingmydomain.com?

从代理ping mydomain.com。 该IP地址打开哪个IP,并打开端口8005。

我通常在debugging时尽可能使用IP来消除DNS。

另外,请尝试closuresProxyPreserveHost。 我不熟悉您的后端服务器,但如果主机:不匹配它configuration使用的IP域,它可能不响应。