Re: Multiple Hosting on IIS
One thing I have noticed is that you may not be able to isolate contexts to individual web sites on IIS when running multiple web sites on one IIS server with the web sites all configured to use tomcat. ie. www.myhypotheticaldomain.com/contextname/servletname and www.myotherhypotheticaldomain.com/contextname/servletname : will both execute, but this may not be what I want. Now how can I isolate context 'contextname' so it may only be accessible from www.myhypotheticaldomain.com and not other sites running on the same IIS server with tomcats configured. Allan. --- Minglong Wu [EMAIL PROTECTED] wrote: Hi, Randy, That did the trick. Thanks. -m - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 10:10 AM Subject: RE: Multiple Hosting on IIS You must restart IIS the process, which means either a machine reboot, or stopping all of IIS's processes in the Control Panel (FTP, World Wide Web Publishing, IIS Admin, etc) and verifying that the inetinfo.exe process stops. If that's not it, look in your isapi and tomcat log files, they should be able to shed some light on where the disconnect is happening. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:22 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Hi, Randy, I add the following line into uriworkermap.properties: # Mount the admin context to the ajp12 worker /admin/*=ajp12 But I still have to specify http://localhost:8080/admin/index.html to make it work? any idea about other file I need to change? Thanks. Minglong - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 9:19 AM Subject: RE: Multiple Hosting on IIS Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Multiple Hosting on IIS
Title: RE: Multiple Hosting on IIS you could map the contextname to something else to return an error for that context(in server.xml): Host name=www.myhypotheticaldomain.com Context path=/contextname docBase=webapps/contextname/ Context path=/othercontextname docBase=webapps/errorcontext/ /Host Host name=www.myotherhypotheticaldomain.com Context path=/contextname docBase=webapps/errorcontext/ Context path=/othercontextname docBase=webapps/othercontext/ /Host where errorcontext could just conain a servlet(or jsp) that generates a 404 for each request that it gets, therefore giving the impression that it doesn't exist. While its not ideal(more maintenance for each site or context added), it is an option. I have not tried this, but I believe that the Context entries override the directories under webapps that are added automatically. Another thing is to move the docbase to not reside under webapps, and therefore it will *not* be mapped automatically, so only your Context entries will be available for each virtual host. Charlie -Original Message- From: Allan Kamau [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 9:28 AM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS One thing I have noticed is that you may not be able to isolate contexts to individual web sites on IIS when running multiple web sites on one IIS server with the web sites all configured to use tomcat. ie. www.myhypotheticaldomain.com/contextname/servletname and www.myotherhypotheticaldomain.com/contextname/servletname : will both execute, but this may not be what I want. Now how can I isolate context 'contextname' so it may only be accessible from www.myhypotheticaldomain.com and not other sites running on the same IIS server with tomcats configured. Allan. --- Minglong Wu [EMAIL PROTECTED] wrote: Hi, Randy, That did the trick. Thanks. -m - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 10:10 AM Subject: RE: Multiple Hosting on IIS You must restart IIS the process, which means either a machine reboot, or stopping all of IIS's processes in the Control Panel (FTP, World Wide Web Publishing, IIS Admin, etc) and verifying that the inetinfo.exe process stops. If that's not it, look in your isapi and tomcat log files, they should be able to shed some light on where the disconnect is happening. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:22 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Hi, Randy, I add the following line into uriworkermap.properties: # Mount the admin context to the ajp12 worker /admin/*=ajp12 But I still have to specify http://localhost:8080/admin/index.html to make it work? any idea about other file I need to change? Thanks. Minglong - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 9:19 AM Subject: RE: Multiple Hosting on IIS Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED] __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: Multiple Hosting on IIS
Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISPcompanies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed "jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html", everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh ShresthaManager, WorldLink TechnologiesInternet BuildingDharmapathP.0. Box: 8207Kathmandu, Nepal.Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
RE: Multiple Hosting on IIS
Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: Multiple Hosting on IIS
Hi, Randy, I add the following line into uriworkermap.properties: # Mount the admin context to the ajp12 worker /admin/*=ajp12 But I still have to specify http://localhost:8080/admin/index.html to make it work? any idea about other file I need to change? Thanks. Minglong - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 9:19 AM Subject: RE: Multiple Hosting on IIS Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
RE: Multiple Hosting on IIS
You must restart IIS the process, which means either a machine reboot, or stopping all of IIS's processes in the Control Panel (FTP, World Wide Web Publishing, IIS Admin, etc) and verifying that the inetinfo.exe process stops. If that's not it, look in your isapi and tomcat log files, they should be able to shed some light on where the disconnect is happening. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:22 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Hi, Randy, I add the following line into uriworkermap.properties: # Mount the admin context to the ajp12 worker /admin/*=ajp12 But I still have to specify http://localhost:8080/admin/index.html to make it work? any idea about other file I need to change? Thanks. Minglong - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 9:19 AM Subject: RE: Multiple Hosting on IIS Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: Multiple Hosting on IIS
Hi, Randy, That did the trick. Thanks. -m - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 10:10 AM Subject: RE: Multiple Hosting on IIS You must restart IIS the process, which means either a machine reboot, or stopping all of IIS's processes in the Control Panel (FTP, World Wide Web Publishing, IIS Admin, etc) and verifying that the inetinfo.exe process stops. If that's not it, look in your isapi and tomcat log files, they should be able to shed some light on where the disconnect is happening. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:22 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Hi, Randy, I add the following line into uriworkermap.properties: # Mount the admin context to the ajp12 worker /admin/*=ajp12 But I still have to specify http://localhost:8080/admin/index.html to make it work? any idea about other file I need to change? Thanks. Minglong - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 9:19 AM Subject: RE: Multiple Hosting on IIS Because the default uriworkermap.properties file doesn't include mappings for the other URLs. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 12:42 PM To: [EMAIL PROTECTED] Subject: Re: Multiple Hosting on IIS Have you noticed that after plug in tomcat server into IIS http://localhost/examples/jsp/index.html work but http://localhost/admin/index.html and http://localhost/test/index.html not work? Why is that? Thanks. - Original Message - From: nilesh To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 3:04 AM Subject: Multiple Hosting on IIS Dear Sir, We are one of leading ISP companies, I am trying to install Jakarta-Tomcat 3.2.1 on of our Windows 2000 Advance Server with IIS. I followed jakarta-tomcat3.2.1\doc\tomcat-iis-howto.html , everything is working perfectly except for multiple hosting. It works only with default web but not with other web sites that I have created using IIS Manager that I have been registered with NIC. Please help, How can I configure Tomcat to work with multiple hosting ? With Regards, Nilesh Shrestha Manager, WorldLink Technologies Internet Building Dharmapath P.0. Box: 8207 Kathmandu, Nepal. Tel: +977 1 231 129 Fax: +977 1 526 318 Email: [EMAIL PROTECTED] [EMAIL PROTECTED]