-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chris,

On 10/23/13 12:06 PM, Chris Arnold wrote:
>> Chris,
> 
>> mod_proxy_ajp and mod_jk are roughly equivalent though with
>> wildly differing configuration syntax. Also, mod_jk has quite a
>> few additional options that have made it always the right choice
>> for me.
> 
>> Using mod_rewrite seems completely unnecessary.
> 
>> Something that you are doing that complicates your configuration
>> is trying to map / on httpd to /share on Tomcat. Why not map / to
>> / ? All you have to do is re-name your webapp from whatever.war
>> to ROOT.war (note capitals are required, even on case-insensitive
>> filesystems).
> 
>> With that simplified configuration, you need only do:
> 
>> JkMount /* workerX
> 
>> for mod_jk or
> 
>> ProxyPass / ajp://tomcat-host:tomcat-port/ ProxyReversePass /
>> ajp://tomcat-host:tomcat-port/
> 
>> for mod_proxy_ajp. Or, use mod_proxy_http by using an http://
>> URL instead of ajp://.
> 
> ProxyPass / http://192.168.123.3:8080/ and
> http://192.168.123.3:8080/share/ ProxyPassReverse /
> http://192.168.123.3:8080/ and http://192.168.123.3:8080/share/
> 
> do not work. Now i am back to i am not sure if this is a tomcat
> problem or an apache problem

If you are sure that httpd Virtual Hosting is working properly (e.g.
you can request the proper, say, index.html given a sub-domain), then
getting Tomcat to work should not be terribly hard.

Can you confirm that VH is working in httpd?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIbBAEBCAAGBQJSaA6TAAoJEBzwKT+lPKRYR8kP9j/8Y3NC68M9P/IrGc43800t
o//4hL8VO016uRx0VJmmUuqvgJ2dEK9UFnbOAAR2R0Eh1JR4Yucy8CAIzvOx+QiC
Y+fnvqHFDzG9Lf4BlX0yv+BS0HYZ4Z0SGogvoMUJ1LE/ItHbXZzofrfSXwdIx8vR
i7skbEREu/wufDBzZ8rSys+rOEeqIkG1uHNrU/s30XOaz4pA6SHZ/2bWMlG0xPsC
KUAersaMcKGcCLuGeseavWqk9JtkdPy81DY5zbyP+9vZEum2y7O5Zz8Ig3Ixwozu
B2WUBj82KDhlIHllpbVeiAeyluN1d5rD8QLZ+GIPiZglnWIVOY8Ciq+YWOva2OZE
aRBr8ze8wsrrJGNxRnZu21bWJAXj5G1WPkZmLOxOC8DApPnHuv0peQHUAJpmyeos
MjT4ieJuCS+1+mitzcrZyHq4JS9SAZLRBxKq3MV6QVrKMFbbEUJgOvXLkvoarihb
8riyTuhAmhG+OU+zz2SrEnxxXpYMbbyXKK+xv6hsf5tpidBBvVdTR32kXLO0+pH0
ajrxmh40A+3gXxvAljJtF3EdTs8X3HkSPcUNswYYki+tqSar5apfbKI3CH4xgZ88
YIEyP1F0haX3b1c0U8NE0cPXCYUsSAJJa8G7Dng8gIHCyPfTEPnSX8cCcVeVqe/5
Jnd5Nbtr/80QYcKO8AQ=
=HJ1W
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to