On Tue, Nov 17, 2009 at 11:05 AM, Jeffrey Trimble <jtrim...@cc.ysu.edu> wrote:
> Recently, I used the cheap and easy http redirects from my apache server to
> my tomcat
> server.  I ran into two issues, that I hope someone is able to guide me to a
> better solution
>
> First, I wanted to have the user not have to know about port 8080, and to
> have the root
> of the apache redirect to the tomcat servlet running. So for my apache, I
> had the
> redirect of (in the httpd-vhosts.conf file)
>
> redirect "/" "http"//digital.maag.ysu.edu/jspui"

?? What the heck is that? Get rid of it. You're forwarding using
the proxy stuff, not redirecting.

> 1.  I would see in my apache logs a request that would have the following
...
/jspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspuijspui
> Infinitum....
>
> What is causing this and how do I solve it?

See above.

> 2.  After setting up the ProxyPass and such, I couldn't figure out how to
> use other servlet directories beside the "jspui" directory.  So, if I had
> say two directies in the webapps, was/is it possible to redirect to them?

Is "/jspui" the name/path of the webapp or a subdirectory of the app?

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

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

Reply via email to