Re: [users@httpd] mod_jk for Apache 1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux