Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Can't forward requests from Apache to Tomcat: error 403 Forbidden

Reply
Thread Tools

Can't forward requests from Apache to Tomcat: error 403 Forbidden

 
 
Oleg Konovalov
Guest
Posts: n/a
 
      04-14-2005
Hi,

I am trying to create 2 separate environments (dev and test) on one powerful
Unix server which has 2 network cards, 2 IP addresses, 2 server names...

Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43
on Solaris 9, Intranet environment.

Everything is fine on the first instance,
but on the second instance when I do http://server2,
Apache still can't redirect to second Tomcat/JBoss:

"Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
-------------------------------------------------------------------------------
-
Apache/2.0.48 (Unix) mod_jk2/2.0.2 Server at mopppgctxat1.pfizer.com Port
80"

If I do http://server2:8180, getting it fine (from Tomcat/JBoss).

I made all internal ports on the second instance different from the first:
e.g. 8080->8180, 8009->8109, etc.
Even tried to change "Listen <ip2>:80" to 81, same error.

Curiously, jk2.properties is totally commented out.
I haven't compiled mod_jk, just copied the binary from the 1st instance.
Can that be a problem ?


Any help is very appreciated.

Thank you,
Oleg.
http://www.velocityreviews.com/forums/(E-Mail Removed)


 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?J=F8rgen_N=F8rgaard?=
Guest
Posts: n/a
 
      04-16-2005
Oleg Konovalov wrote:

> Hi,
>
>I am trying to create 2 separate environments (dev and test) on one powerful
>Unix server which has 2 network cards, 2 IP addresses, 2 server names...
>
>Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43
>on Solaris 9, Intranet environment.
>
>Everything is fine on the first instance,
>but on the second instance when I do http://server2,
>Apache still can't redirect to second Tomcat/JBoss:
>
>"Forbidden
>You don't have permission to access / on this server.
>
>
>

What if you do http://server2/<root in tomat>.jsp

With correct extension if not jsp ...

>Additionally, a 403 Forbidden error was encountered while trying to use an
>ErrorDocument to handle the request.
>-------------------------------------------------------------------------------
> -
>Apache/2.0.48 (Unix) mod_jk2/2.0.2 Server at mopppgctxat1.pfizer.com Port
>80"
>
>If I do http://server2:8180, getting it fine (from Tomcat/JBoss).
>
>I made all internal ports on the second instance different from the first:
>e.g. 8080->8180, 8009->8109, etc.
>Even tried to change "Listen <ip2>:80" to 81, same error.
>
>Curiously, jk2.properties is totally commented out.
>I haven't compiled mod_jk, just copied the binary from the 1st instance.
>Can that be a problem ?
>
>
>Any help is very appreciated.
>
>Thank you,
>Oleg.
>(E-Mail Removed)
>
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP 403.1 Forbidden: Execute Access Forbidden David Hunt ASP .Net 4 10-04-2009 08:40 PM
403 Forbidden - Apache/JBoss/Mod_jk problem Aaron Java 0 05-29-2007 08:51 PM
IIS HTTP 403.1 Forbidden: Execute Access Forbidden Mark J. McGinty ASP General 2 12-09-2005 08:54 PM
Error 403 Forbidden forwarding from Apache to Netscape Oleg Konovalov Java 0 04-27-2005 03:52 AM
Error 403-Error 403-Error 403 willem joubert ASP .Net Web Services 1 02-08-2005 06:47 PM



Advertisments