[PLUG] Apache Mod Q'

AthlonRob AthlonRob at axpr.net
Mon Jan 24 18:47:42 UTC 2005


On Mon, 2005-01-24 at 10:19 -0800, Jason Van Cleve wrote:
> Yeah, mod_alias only works for exposing files directly, like symlinks. 
> But I have dynamic content being generated by different Java Web-app's
> in a servlet container, and it's those that I need to map to one
> another.
> 
> This is an uncommon problem, I'm sure; but I think I'll be able to solve
> it with mod_rewrite, somehow.  (I'm just not used to that black magic!)

If you're already writing dynamic content, you might as well code the
redirection stuff yourself.  It's not particularly difficult and leaves
you far more flexibility than mod_rewrite or mod_proxy can offer.

Your java web-apps (or something else you write) can send HTTP responses
back themselves.  All mod_rewrite does is send a 302 back to the client.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html ...has a list of
everything you could need, I think.

-- 
Rob                    |  If not safe,
  http://rob.axpr.net  |    one can never be free.




More information about the PLUG mailing list