No really sure whats happening when I try and reverse proxy but I keep getting Error 500. I have mod_proxy and mod_proxy_html enabled and my conf file for the reverse proxy looks as so:
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /panel http://mydomain.com:8005/
ProxyPassReverse /panel http://mydomain.com:8005/
I've tried pretty much everything as far as writing the reverse differently with and without the slashes. When I
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
wget -O - -S http://mydomain.com:8005/orcurl -i http://mydomain.com:8005/– Mircea Vutcovici Dec 6 '11 at 20:05mod_proxy_html. In case you (tried to) enabled this ensure you don't get an error right there. It should bemod_proxy_http. – Chris Dec 6 '11 at 20:10