Jerel Fontenot

Greenhorn
+ Follow
since May 25, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jerel Fontenot

ok, so my problem seems to be simple enough but I can't figure it out.

I have a virtual host set up like:


then when I go to www.site1.com, it goes to www.site1.com/site1/site1/Content/main.jsp

it needs to go to www.site1.com/site1/Content/main.jsp

But if I rewrite the proxypass like this, without ajp:


everything works as you would expect, www.site1.com goes to www.site1.com/site1/Content/main.jsp

If anyone has seen a similar problem using AJP, I would appreciate any hint as to where I can find more info.

Thanks.
12 years ago
After a few days, I'm out of ideas for this problem.

I just installed Tomcat 7 to serve a web-app that has one page protected by DIGEST authentication.

When I set the port for Tomcat to 80, everything works fine.

When I set the port for Tomcat to 8080 and turn on Apache2 on port 80, the username/password box comes up but when I put in my username and password, the box just refreshes and the web-app doesn't let me into the protected page.

I get no errors in the tomcat or apache logs.

I'm using Ubuntu Server 10, Tomcat 7 and Apache2

I'm not even sure what to put here to help debug this, so I'll just add the common configuration files I've been working with.

this is from Tomcat 7's server.xml




This is from the tomcat-users.xml



This is from apache2 /etc/apache2/sites-available/default


I would put the web.xml files but since the web-app works fine when Tomcat is listening on port 80, I tend to think it's a fault in the server configuration.

If there's anything else I should put up, or take down, please let me know.

Thanks.

12 years ago