----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I've encountered the same issue!  Does anyone know how to do this?



-----Original Message-----
From: Stefanos Karasavvidis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Tuesday, May 23, 2000 10:38 AM
Subject: using a servlet as DirectoryIndex


>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>OS:     Windows NT4, 2000
>Apache: 1.3.9, 1.3.12
>JServ:  1.0, 1.1
>JDK:    1.2.2, 1.3
>
>I want to use a servlet as a directory index for a web site (the page
>displayed when no file is specified). The command for the apache
>configuration file for this is
>DirectoryIndex filename
>where filename could be something like "index.html" or "/dir/filename"
>
>This does not seem to work  when the filename points to a servlet (e.g.
>/servlets/foo). Instead the files of the directory are displayed, and I
>could not find any error message either in the apaches log files or
>JServs log files.
>
>I tried to use the RewriteModule but this had various implications with
>other kind of stuff (JSPs had problems and some other stuff I tried)
>
>How could something like this be implemented??
>
>
>sk
>
>--
>======================================================================
>Stefanos Karasavvidis
>Electronics & Computer Engineer
>e-mail : [EMAIL PROTECTED]
>
>Multimedia Systems Center S.A.
>Kissamou 178
>73100 Chania - Crete - Hellas
>http://www.multimedia-sa.gr
>
>Tel : +30 821 88447
>Fax : +30 821 88427
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to