Well,

to me it looks also like a bug in tomcat

if a file index.html exists in https://intra.home.de/examples/ (an delployed
Application) and it contains a line <META HTTP-EQUIV="refresh" CONTENT="0;
URL=servlet/myapp"> or <META HTTP-EQUIV="refresh" CONTENT="0;
URL=https://intra.home.de/examples/servlet/myapp";> tomcat resolves this and
you get an error Message in the Browser:
http://intra.home.de:443/examples/servlets/index.html does not exist from
Apache (that is right)

if I rename the File from index.html to something.html
the Directory Listing is displayed; clicking on the File something.html
serves the right page, as intended in <META HTTP-EQUIV="refresh" CONTENT="0;
...


If somebody knows a little bit more about this issue (or any workaround)
please let me know


Thanks



> -----Urspr�ngliche Nachricht-----
> Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 27. M�rz 2002 11:05
> An: Tomcat Users List
> Betreff: AW: Tomcat, Webapp, Apache and mod_ssl, Protocol is switching
> 
> 
> That sound like 
> 
> https://intra.home.de/examples/servlets/
> 
> is redirected to
> 
> http://intra.home.de:443/examples/servlets/index.html
> 
> To me this looks like a bug in the part of tomcat that is 
> responsible for the redirection to the 'welcome file'.
> (The welcome file is implemented in tomcat as a http redirect)
> 
> Using mod_rewrite on port 80 won't help anything as
> your browser is already talking to port 443 (just with the
> wrong protokoll).
> 
> If you really need the welcome file you can try to let apache 
> serve the welcome file:
> 
> LoadModule dir_module <path-to-apache>/lib/mod_dir.so
> 
> ...
> 
> <IfModule mod_dir.c>
>     DirectoryIndex index.html /index.html
>     # First look in the requested directory for index.html,
>     # if this file doesn't exist look in the document root for
>     # index.html
> </IfModule>
> 
> > 'https://intra.home.de/examples/servlets/' 
> > It does not matter, if click on the link, or type it in the Browser
> 
> <snip/>
> > I tried also to use apaches mod_rewrite to redirect all 
> > acesses from Port 80 to Port 443, but this did not work either 
> <snip/>
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to