Yes, you need to restart Apache. You can use the 'graceful' option of apachectl, and Apache will reread it's configuration nicely after waiting for all open requests to be finished:
/some/path/to/apache/bin/apachectl graceful For the Context element, you would want that within/under the Host element for scds.safeguardproperties.com. Tomcat's Host = Apache's VirtualHost/ServerName Tomcat's Context = roughly similar to Apache's DocumentRoot HTH John > -----Original Message----- > From: Anup Ray [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 3:22 PM > To: Tomcat Users List > Subject: RE: apache-tomcat : 405 mettod not allowed error: please help > > > Hi John, > Thank you for your suggestions. I have gone through and > implemented your > suggestions but I still gets the same 405 method not allowed > error(https://scds.safeguardproperties.com/jspellhtml/test.htm > l). Could you > please little bit more time and give me further suggestion. > I now enabled tomcat standalone HTTP connector and the jspellhtml > application is working stand alone. You can see here > http://u10-2:8090/jspellhtml/test.html > More info: I tried like this: > 1) you're missing a Host element in server.xml for > scds.safeguardproperties.com.---implemented it. > > <!-- Define the default virtual host -->^M > <Host name="scds.safeguardproperties.com" debug="0" > appBase="webapps" > unpackWARs="t > rue">^M > _____________________________ > 2) you're missing a Conext element for /jspellhtml (or > whatever URL will be > used to reach the app)---Could you please tell me where to implement. > I have symbolic link setup at apache doc. root though (at > /var/apache/htdocs.) > lrwxrwxrwx 1 root other 36 Nov 7 18:19 jspellhtml -> > /usr/local/tomcat/webapps/jspellhtml > > 3) Apache virtual host for scds.safeguardproperties.com > ---already setup > # > <VirtualHost 10.10.1.101:443> > DocumentRoot /var/apache/htdocs > ServerName scds.safeguardproperties.com > #ServerName cdidev.safeguardproperties.com > SSLEngine On > SSLCertificateFile /usr/local/apache/1.3.22-1/conf/ssl.crt/server.crt > SSLCertificateKeyFile > /usr/local/apache/1.3.22-1/conf/ssl.key/server.key > JkMount /*.jsp ajp13 > JkMount /servlet/* ajp13 > JkMount /jspellhtml/* ajp13 > </VirtualHost> > > 4) a JkMount in that Apache virtual host for /jspellhtml---done it in > httpd.conf > JkMount /jspellhtml/* ajp13 > 5. I could not restart apache server as it is in production. > Do I have to > restart apache to implement the change done in 4. > > 6. Please help me solving this problem. > thanks, > Anup > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 12:14 PM > To: 'Tomcat Users List' > Subject: RE: apache-tomcat : 405 mettod not allowed error: please help > > > > Looks to me like: > > 1) you're missing a Host element in server.xml for > scds.safeguardproperties.com > > 2) you're missing a Conext element for /jspellhtml (or > whatever URL will be > used to reach the app) > > 3) Apache virtual host for scds.safeguardproperties.com > > 4) a JkMount in that Apache virtual host for /jspellhtml > > The only reason your test.html file is working is because it > goes to Apache > and Apache can find it and knows what to do with a HTML file. > > I'm surprised this even works with Tomcat Stand-alone. I was > unable to > access the URL using port 8090, so couldn't verify that it > does work. If > it's working, it's because Tomcat's defaults are letting it > work, but that > won't help you with Apache. > > John > > > > -----Original Message----- > > From: Anup Ray [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 10, 2002 11:59 AM > > To: Tomcat Users List > > Subject: apache-tomcat : 405 mettod not allowed error: please help > > > > > > > > My platform is Sun Sparc Solaris 8. I have apache-ssl server > > already running > > on production. > > I want to integrate tomcat with apache so that a "jspellhtml" > > application > > ( a spellcheck program) runs with apache-tomcat environment. I used > > mod_jk.so connector. > > Now with tomcat HTTP standalone connector jspellhtml > > application works well > > with test.html example. > > But with apache-mod_jk-tomcat, jspellhtml giving the > following error: > > Method Not Allowed > > The requested method POST is not allowed for the URL > > /jspellhtml/JSpell.jsp. > > > > > > -------------------------------------------------------------- > > -------------- > > ---- > > > > Apache/1.3.22 Server at scds.safeguardproperties.com Port 443 > > _______________ > > Could you please help fixing this peoblem. > > more info: > > 1. https://scds.safeguardproperties.com/jspellhtml/test.html ---with > apache-mod_jk-tomcat > this gives initial display and also dosplays a "spell > check" button. When > I click spell check button I get the above errors. > > 2. > https://scds.safeguardproperties.com:8090/jspellhtml/test.html > ---tomcat > standalone (at port 8090) http connector --Spellcheck works > perfectly for > test.html. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>