--- Rama <[EMAIL PROTECTED]> wrote:
> Hi!!,
>  
> ITS VERY VERY URGENT...
> So please give me some suggestions..
> 
> 
> I am using Linux OS for the Apache TOMCAT 4.0.3
> configuration. I am using webapp_module(ie
> warpconnector) 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.


> 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. 
> 

DocumentRoot "/home" not as above

> 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..
In server.xml 
 <Connector
className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" debug="4" appBase="/usr/myjsp"/>


> 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]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to