httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien OIX <julien....@presidence.univ-nantes.fr>
Subject Re: DirectoryIndex directive ...
Date Tue, 15 Jan 2002 08:35:27 GMT
Joshua Slive a écrit :
> 
> > From: oix@av9500.presidence.univ-nantes.fr
> > [mailto:oix@av9500.presidence.univ-nantes.fr]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 http://toto.presidence.univ-nantes.fr, 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
http://x.x.x.x/index.jsp

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

thanks

-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message