You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ramkumar Manoharan <ra...@hotmail.com> on 2001/06/30 02:03:27 UTC

apache not able to access jsp files

Hi,

OS-red hat 7.0, apache 1.3, tomcat 3.2

I currently have Apache on port 80, Tomcat port 8080
with mod_jk adapter.  The servlets
and jsp examples work off of localhost:8080, but they
do not work off localhost:80.
I have the Tomcat User Guide, the Tomcat-Apache
HOWTO, and the Working with Mod-JK
Manual for reference.   I am using the auto generated
mod_jk.auto and basically just
want Apache to serve the static content and Tomcat the
dynamic jsp and servlets.
Unless, I'm missing something the static html pages and
the .jsp pages should
be off of port 80 and then the jk adapter should
transfer the .jsp request to Tomcat
via port 8007 using the apj12 protocol.


But i get the following message:


Forbidden

You don't have permission to access /examples/jsp/index.html on this server.

I have 755 access to the examples folder and also to the super folder
webapps.Any reason why this problem?

Thanks
Ram
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: apache not able to access jsp files

Posted by Vinay Menon <ja...@vinay.org.uk>.
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s7

----- Original Message -----
From: "Ramkumar Manoharan" <ra...@hotmail.com>
To: <to...@jakarta.apache.org>
Sent: Saturday, June 30, 2001 1:03 AM
Subject: apache not able to access jsp files


> Hi,
>
> OS-red hat 7.0, apache 1.3, tomcat 3.2
>
> I currently have Apache on port 80, Tomcat port 8080
> with mod_jk adapter.  The servlets
> and jsp examples work off of localhost:8080, but they
> do not work off localhost:80.
> I have the Tomcat User Guide, the Tomcat-Apache
> HOWTO, and the Working with Mod-JK
> Manual for reference.   I am using the auto generated
> mod_jk.auto and basically just
> want Apache to serve the static content and Tomcat the
> dynamic jsp and servlets.
> Unless, I'm missing something the static html pages and
> the .jsp pages should
> be off of port 80 and then the jk adapter should
> transfer the .jsp request to Tomcat
> via port 8007 using the apj12 protocol.
>
>
> But i get the following message:
>
>
> Forbidden
>
> You don't have permission to access /examples/jsp/index.html on this
server.
>
> I have 755 access to the examples folder and also to the super folder
> webapps.Any reason why this problem?
>
> Thanks
> Ram
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>


RE: apache not able to access jsp files

Posted by "Theodore A. Jencks" <th...@lieberman.com>.
Check to make sure that you have assigned permissions to those directories
in apache such as.

<Directory TOMCAT_HOME/webapps/examples>
Allow from all
</Directory>

Regards,
Theo

-----Original Message-----
From: Ramkumar Manoharan [mailto:ramkumar_mv@hotmail.com]
Sent: Friday, June 29, 2001 5:03 PM
To: tomcat-user@jakarta.apache.org
Subject: apache not able to access jsp files

Hi,

OS-red hat 7.0, apache 1.3, tomcat 3.2

I currently have Apache on port 80, Tomcat port 8080
with mod_jk adapter.  The servlets
and jsp examples work off of localhost:8080, but they
do not work off localhost:80.
I have the Tomcat User Guide, the Tomcat-Apache
HOWTO, and the Working with Mod-JK
Manual for reference.   I am using the auto generated
mod_jk.auto and basically just
want Apache to serve the static content and Tomcat the
dynamic jsp and servlets.
Unless, I'm missing something the static html pages and
the .jsp pages should
be off of port 80 and then the jk adapter should
transfer the .jsp request to Tomcat
via port 8007 using the apj12 protocol.


But i get the following message:


Forbidden

You don't have permission to access /examples/jsp/index.html on this server.

I have 755 access to the examples folder and also to the super folder
webapps.Any reason why this problem?

Thanks
Ram
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com