httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Cheney <jo...@netsville.com>
Subject Re: [users@httpd] mod_jk for Apache 1.3
Date Fri, 22 Apr 2005 20:32:41 GMT
Albert Whale wrote:
> Josh Cheney wrote:
> 
>> I am not familiar with mod_jk, but I just wrote a rewrite rule to
>> forward all .jsp requests to Tomcat, and let Apache handle the rest.
>>
>>    RewriteEngine on
>>    RewriteRule ^/(.+).jsp http://192.168.11.203:80$0 [P]
>>
>> Just replace the IP and port number with your values, and you should be
>> good to go. All jsp pages will be passed to Tomcat, but Apache will
>> handle everything else.
>>
>>  
>>
>>
> Is it possible to get this set up as a Transparent Proxy?
> 
> I want to set you www.hostname.com -> www.hostname.com:8080/website
> and always present it back to the user as www.hostname.com
> 
> this is what I need.
> 

<Location />
	ProxyPass   http://www.hostname.com:8080/
	ProxyPassReverse   http://www.hostname.com:8080/
</Location>

This set of tags, when placed within the containers where your
DocumentRoot is defined, will proxy all traffic from the source machine
to the destination machine.
-- 
Josh Cheney
joshc@netsville.com
Netsville, Inc.
http://www.netsville.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message