Re: Welcome File : index.html

2001-04-11 Thread m . exler

On Tue, 10 Apr 2001 08:08:45 PDT you wrote:

 I have tried this by changing contents of welcome-file tag of file web.xml
 still it didn't work..
 

IIRC(!?), conf/web.xml isn't used any more ...
only context-specific web.xml will be read, 
server-wide config is in conf/server.xml

test: try to produce a syntax error in conf/web.xml

-mex




RE: Welcome File : index.html

2001-04-11 Thread Hunor Nam

Hi.
I have a similar problem... 
My app. has many folders and I do not want to put an index file in each
of them...
Especially that it has more sub app.'s so I would need different index
files for different folders... it would be nasty to put one in each of
them and after that, if something changes to change all the files... I
would like to have some kind of redirection set to some folder levels
(so everything beneath them to call its own index...)
Problem nr 2 is: how can I restrict folder browsing
Thanx
Hades
-Original Message-
From: Ed Robbins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Welcome File : index.html


Joar Vatnaland wrote:
 
 How did you change the welcome-file,
 did you just append an
 
 welcome-filesample.html/welcome-file
 
 after the other entries?  My guess is that it goes through the list
 and starts with the first file it finds.  So if an index.jsp or
index.html
 still exists in your directory, then that will still be the starting
file.
 Either remove the index file from the directory, or place your entry
ahead
 of any other wellcome-file entry.
 
Joar is right, if there is a list it will go through the list until it
finds the first match.  Also, make sure you have the welcome-file tag
within a welcome-file-list tag, so it should look like the following:

welcome-file-list
  welcome-filewelcome.html/welcome-file
  welcome-fileindex.html/welcome-file
  welcome-filehome.html/welcome-file
welcome-file-list

Don't forget that each web app has it's own web.xml file and you want to
put it in the appropriate file.

Ed

 Joar
 
 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: 10 April 2001 16:09
 To: [EMAIL PROTECTED]
 Subject: Welcome File : index.html
 
 Hello can i change welcome file index.html to
 my sample.html
 
 I have tried this by changing contents of welcome-file tag of file
web.xml
 still it didn't work..
 
 please let me know the way...
 
 Thanx in advance
 
 regards
 sunil
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Welcome File : index.html

2001-04-10 Thread Sunil Chandurkar

Hello can i change welcome file index.html to
my sample.html

I have tried this by changing contents of welcome-file tag of file web.xml
still it didn't work..

please let me know the way... 

Thanx in advance

regards
sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



RE: Welcome File : index.html

2001-04-10 Thread Joar Vatnaland

How did you change the welcome-file,
did you just append an

welcome-filesample.html/welcome-file

after the other entries?  My guess is that it goes through the list
and starts with the first file it finds.  So if an index.jsp or index.html
still exists in your directory, then that will still be the starting file.
Either remove the index file from the directory, or place your entry ahead
of any other wellcome-file entry.

Joar

-Original Message-
From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2001 16:09
To: [EMAIL PROTECTED]
Subject: Welcome File : index.html


Hello can i change welcome file index.html to
my sample.html

I have tried this by changing contents of welcome-file tag of file web.xml
still it didn't work..

please let me know the way... 

Thanx in advance

regards
sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



Re: Welcome File : index.html

2001-04-10 Thread Ed Robbins

Joar Vatnaland wrote:
 
 How did you change the welcome-file,
 did you just append an
 
 welcome-filesample.html/welcome-file
 
 after the other entries?  My guess is that it goes through the list
 and starts with the first file it finds.  So if an index.jsp or index.html
 still exists in your directory, then that will still be the starting file.
 Either remove the index file from the directory, or place your entry ahead
 of any other wellcome-file entry.
 
Joar is right, if there is a list it will go through the list until it
finds the first match.  Also, make sure you have the welcome-file tag
within a welcome-file-list tag, so it should look like the following:

welcome-file-list
  welcome-filewelcome.html/welcome-file
  welcome-fileindex.html/welcome-file
  welcome-filehome.html/welcome-file
welcome-file-list

Don't forget that each web app has it's own web.xml file and you want to
put it in the appropriate file.

Ed

 Joar
 
 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: 10 April 2001 16:09
 To: [EMAIL PROTECTED]
 Subject: Welcome File : index.html
 
 Hello can i change welcome file index.html to
 my sample.html
 
 I have tried this by changing contents of welcome-file tag of file web.xml
 still it didn't work..
 
 please let me know the way...
 
 Thanx in advance
 
 regards
 sunil
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net



RE: Welcome File : index.html

2001-04-10 Thread suha_yacoub



I'm having a similar problem. I'm running tomcat in-process within apache. Will
I need to set the welcome file setting on apache? I tried setting index.jsp as
my welcome file in web.xml but the browser/server ignores this setting. I
restarted both apache and tomcat.

thanks,
~ suha.





Joar Vatnaland [EMAIL PROTECTED] on 04/10/2001 10:20:42 AM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
cc:(bcc: Suha Yacoub/IL/ONE)
Subject:  RE: Welcome File : index.html



How did you change the welcome-file,
did you just append an

welcome-filesample.html/welcome-file

after the other entries?  My guess is that it goes through the list
and starts with the first file it finds.  So if an index.jsp or index.html
still exists in your directory, then that will still be the starting file.
Either remove the index file from the directory, or place your entry ahead
of any other wellcome-file entry.

Joar

-Original Message-
From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2001 16:09
To: [EMAIL PROTECTED]
Subject: Welcome File : index.html


Hello can i change welcome file index.html to
my sample.html

I have tried this by changing contents of welcome-file tag of file web.xml
still it didn't work..

please let me know the way...

Thanx in advance

regards
sunil

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net