httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien OIX <>
Subject Re: DirectoryIndex directive ...
Date Tue, 15 Jan 2002 08:35:27 GMT
Joshua Slive a écrit :
> > From:
> > []On Behalf Of Julien OIX
> > I have index.html and index.htm under /var/www/html and when I change
> > the order of files in the DirectoryIndex directive, it doesn't change
> > anything when I try the URL, it
> > always redirects to index.htm.
> >From this and your previous questions, it sounds like you have a Redirect or
> RerwiteRule someplace in httpd.conf that is doing this redirecting.
> DirectoryIndex will not cause a redirect; it simply serves the file.  So if
> you are accessing http://yourhost/ and seeing http://yourhost/index.htm in
> the URL bar, then this is not caused by DirectoryIndex.
> Joshua.

hi joshua and others,

I had a look to my httpd.conf and be sure there is neither Redirect or
RewriteRule directive; what you answer to me troubles me; if I have VH
(myhost for example) and in order to serve http://myhost/index.jsp when
client accessing http://myhost OR http://myhost/, may I use
DirectoryIndex or an other directive ?

the most surprising is that it works fine when the client browser is on
the apache server itself (http://x.x.x.x gives http://myhost/index.jsp)
but from an other machine of the same domain , http://x.x.x.x/index.jsp
works fine and  http://x.x.x.x OR http://x.x.x.x/ doesn't give

moreover by accessing with IP's, DNS issues have no influence ...


Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message