Luca,

Does there have to be a separate <Host> tag for each host name? I
haven't gotten this far, but since the default Host tag has the name
"localhost" I'm deducing that it's only good for requests that come in
for the host "localhost". To be sure, this seems clunky, since it means
you have to duplicate and maintain the entirety of the tag and its
contents for every host name you want to use, so I'm not sure I'm
interpreting this correctly.

But since you do seem to have it working for localhost, could you tell
me if, from the information I provided here this morning, you can see
what step I might be overlooking?

Harlan

> -----Original Message-----
> From: Luca Ventura [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 9:55 AM
> To: Tomcat Users List
> Subject: R: Problems in redirecting requests from IIS to Tomcat 4 (new
> Information)
> 
> 
> Escuse me all in the forum....
> 
> I want to point out that in my "server.xml" of Tomcat I have 
> the following
> entries:
> 
> <!-- Define the default virtual host -->
> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
> 
> <!-- Define the top level container in our container hierarchy -->
> <Engine name="Standalone" defaultHost="localhost" debug="0">
> 
> 
> Maybe I have to modify them and set as Host 
> "www.mydomain.com" (or the IP
> address of my Web Server) instead of "localhost"?? In fact 
> the Web Server's
> name isn't "localhost" any more but "www.mydomain.com"....
> 
> Thanks a lot in advance!
>                                        Luca
> 
> -----Messaggio originale-----
> Da: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
> Inviato: venerd́ 7 giugno 2002 14.48
> A: 'Tomcat Users List'
> Oggetto: RE: Problems in redirecting requests from IIS to Tomcat 4
> 
> 
> If I recall...
> 
> Go to the Properties page of the web server and select the Directory
> Security tab.  Click the Edit button for Anonymous Access and 
> Authentication
> Control.  Select Anonymous Access and un-select everything under
> Authenticated Access.
> 
> HTH
> 
> -----Original Message-----
> From: Luca Ventura [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 8:38 AM
> To: tomcat-dev; tomcat-user
> Subject: Problems in redirecting requests from IIS to Tomcat 4
> 
> 
> Hello everybody!
> 
> I have installed Internet Information Services (IIS) as Web 
> Server  and
> Apache Tomcat 4.0 as plug-in of IIS to support JSP-Servlets 
> (to do this I
> installed an ISAPI filter in IIS that redirects
> all my JSP-servlet requests to Tomcat). All works fine when I am on
> "localhost" but if I use
> another domain for my Web Server (e.g: www.mydomain.com) I have the
> following problem: when I try to connect to a site that must 
> be redirected
> to Tomcat 4 (because it contains JSP pages or servlets), IIS 
> ask me a login
> or a password to access to it. For example: i try to connect 
> to the url
> "http://www.mydomain.com/mysite"; and "mysite" is a web 
> application defined
> in "webapps" folder of tomcat (the document folder is in
> webapps\mysite\web-inf").
> 
> What can I do to avoid IIS asks me a password or a login? I 
> want that all
> users that connects to my site  are redirected to Tomcat 
> without asking any
> login and password....
> 
> I think the problem it isn't in Tomcat's configuration but in IIS's
> configuration....but I can be wrong.
> 
> I hope someone can help me...thanks i advance!
> 
>              Luca
> 
> 
> --
> 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]>
> 
> 

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

Reply via email to