I'm using FreeBSD 7.1
This is from httpd.conf:
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule proxy_module libexec/apache22/mod_proxy.so
LoadModule proxy_http_module libexec/apache22/mod_proxy_http.so
LoadModule proxy_ajp_module libexec/apache22/mod_proxy_ajp.so
LoadModule proxy_balancer_module libexec/apache22/
mod_proxy_balancer.so
In server.xml:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
httpd-vhosts.conf:
<VirtualHost *:80>
ServerName www.daylocker.com
ServerAlias daylocker.com
ProxyPass / http://local.daylocker.com:8080/
ProxyPassreverse / http://local.daylocker.com:8080/
HostnameLookups Off
</VirtualHost>
Gets changed to:
<VirtualHost *:80>
ServerName www.daylocker.com
ServerAlias daylocker.com
ProxyPass / ajp://local.daylocker.com:8009/
ProxyPassreverse / ajp://local.daylocker.com:8009/
HostnameLookups Off
</VirtualHost>
Then apachectl restart shows:
==> httpd-error.log <==
[Tue Oct 05 01:32:00 2010] [notice] SIGHUP received. Attempting to
restart
[Tue Oct 05 01:32:00 2010] [notice] Digest: generating secret for
digest authentication ...
[Tue Oct 05 01:32:00 2010] [notice] Digest: done
[Tue Oct 05 01:32:01 2010] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/
2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch configured --
resuming normal operations
So everything looks normal. But when I go to http://www.daylocker.com/
what I get is the Tomcat intro page
Apache Tomcat/6.0.16
It tells me I've set up Tomcat successfully which is great, but openbd
does not kick in.
Anyway, thanks for taking a look.
-Moss
On Sep 30, 11:36 am, Alan Holden <[email protected]> wrote:
> Being a *nix command line chicken, I installed webmin on my Ubuntu Linux
> server.
> So for me, it was a matter of a couple of browser clicks to enable the ajp
> plugin on my Apache, then changing the protocol and port in the config file,
> as Matt pointed out.
> Moving to this manner of proxy has cleared up quite a few "cgi issues" for me.
> Al
> On 9/30/2010 8:53 AM, Matthew Woodward wrote:On Wed, Sep 29, 2010 at 6:00 PM,
> John Moss<[email protected]>wrote:Thanks. I guess I'll have to figure out
> how to enable ajp. I can't seem to make it work.
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en