You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by shiv juluru <sh...@yahoo.com> on 2004/06/24 17:10:34 UTC
html file problem in apache-tomcat/serious problem
hi friends,
i am using apache 2.x ,tomcat 4x and mod_jk for redhat 9.
my configuration in server.xml is
1)<Host name="localhost" debug="0" appBase="/home/shiva" unpackWARs="true" autoDeploy="true">
2)<Context path="/examples" docBase="examples" debug="0" reloadable="true" crossContext="true">
i created one folder 'examples' in /home/shiva
i put all of my jsp,html files in /home/shiva/examples
using tomcat, jsp and html files are working fine,i am calling in browser like "http://myhost:8080/examples/jspname.jsp"
and using apache jsp files are working fine,i am calling in browser like "http://myhost/examples/jspname.jsp"
but my problem is html files are not working using apache.
note:all jsps and htmls are have same permissions.
i am getting the following error in the browser
******************************begin**********************************************
Forbidden
You don't have permission to access /examples/forward1.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
---------------------------------
Apache/2.0.49 (Unix) mod_ssl/2.0.49 OpenSSL/0.9.7a mod_jk/1.2.5 Server at 192.168.68.10 Port 80
**************************************end*********************************************************
i test it by 777 also.
plz help me.
thanks in advance.
shiva
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!