tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <carn...@electrichendrix.com>
Subject Re: Multi-URL Access 1 Webapp
Date Fri, 01 Nov 2013 19:37:52 GMT
So i was not able to get any of those to work. So i moved to the third option, mod_jk. It is
loaded. I make the changes in my vhost:
        #This rewrites https://share.anydomain.tld to our share server
	RewriteEngine On
	RewriteCond %{HTTP_HOST} ^share\.
	RewriteCond %{HTTPS} on
	RewriteRule ^/(.*) ajp://192.168.123.3:8443/share/$1 [P]

Got it for those of you following or will need this:

        #This rewrites https://share.anydomain.tld to our share server
	RewriteEngine On
	RewriteCond %{HTTP_HOST} ^share\.
	RewriteCond %{HTTPS} on
	RewriteCond %{REQUEST_URI} !^/share/
	RewriteRule ^/(.*) https://share.example.com:xxxx/share/ [P]
	JkMount /share/* worker1


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


Mime
View raw message