httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Whale <aewh...@ABS-CompTech.com>
Subject Re: [users@httpd] mod_jk for Apache 1.3
Date Fri, 22 Apr 2005 20:50:47 GMT
Josh Cheney wrote:

>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.
>  
>
I almost thiugh that was it.  However ProxyPass is not permitted inside 
a Location.

Also note, that proxypass is a two argument command.

-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
-------------------------------------------------------------------
ABS Computer Technology, Inc. - www.ABS-CompTech.com
SPAM Zapper - No-JunkMail.com - Spam-Zapper.com - SPAM Stops Here.
President of the Pittsburgh InfraGard Alliance


---------------------------------------------------------------------
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