Hi!!,

I am using Linux OS for the Apache TOMCAT 4.0.3 configuration. I am using 
webapp_module(ie warpconnector 
not APJ13 connecter) for connecting between apache web server and Tomcat Servlet 
engine.

I am facing 2 problems:

1. After the connection is established between apache web server and Tomcat i am not 
able to access the html files from the url http://ServerIpaddress/myhtml/myhtml.html. 
These html files are under (Document root) /htdocs/myhtml dir of apache.

But when i kept these html files  along with jsp files under 
TOMCAT_HOME/webapps/myhtml/htmlfiles 
then i am able to access these Html files from the above url.
I think the html request apache receives is sent to tomcat immdtly so it doesn't look 
into /htdocs dir 
of apache.

So i want to know how to place these html files in different directory apart from the 
Tomcat webapps dir TOMCAT_HOME/webapps/myhtml/htmlfiles.
I tried using alias in httpd.conf file in apache. but it didn't work.
Alias /myhtml/ "/home/myhtml/"
I tried to change the DocumentRoot of apache to "/home/myhtml/" even then i am not 
able to access these 
html files present in the /home/myhtml/ directory.
So please tell me how to come out of this problem. 

2. Similarly i want to know how to place jsp files in separate 
directory(eg:/usr/myjsps/all jsp files) apart from the docBase dir ie 
TOMCAT_HOME/webapps/myjsps.


Thanks in advance..

With Regds,
Rama




-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to