View Full Version : index.html
6th May 2005, 08:03 AM
Um, this is a bit hard to explain, so I'll illustrate with an example
Lets say I type in http://kopete.kde.org on the 'go' bar on mozilla firefox,
then the browser redirects me to the file
and displays this file.
Theoretically, kopete.kde.org should be a folder somewhere on the kde.org server which contains a html document called index.html.
How do I view the contents of this folder without being redirected to the silent /index.html?
6th May 2005, 08:15 AM
Have you tried getting the file on your harddrive with wget or kget or something similar?
6th May 2005, 08:23 AM
I think this will happen because of the directory index they would have configured
For example..............On my server I have configured Apache as
DirectoryIndex index.php index index.html index.html.var
So whenever you visit
it will be directed to
So you will not be able to view the directories as long as I dont remove it..................Maybe there might be other ways around.
6th May 2005, 08:38 AM
@raghavendra, yes you're right.
The directory can't be viewed if you configure apache like that.
6th May 2005, 09:03 AM
Tried kget, wget, ...
anyway, if websites have protection against this kind of stuff I guess there isn't much you can do.
But there isn't a way to avoid the redirection?
6th May 2005, 09:14 AM
For subdirs, simply not having an index.html or similar file in the subdir will allow virtual directory listing. For the toplevel dir IIRC apache will show the Fedora default page if there is no better page to show. This stuff is actually a security feature.
6th May 2005, 09:18 AM
But there isn't a way to avoid the redirection?If the server is setup like raghavendra said, then no. When you ask apache to server you the directory it automatically gives you the file wich comes first in DirectoryIndex (if it exists, else it goes searching the others).
You can only view that directory if you are:
- logged in with ssh, ftp, or others (and you have got permission)
- you hack the server and then log in
- a php/perl/... file lists all files in a directory
6th May 2005, 10:01 AM
OK, no problem, didn't need it anyway, just curious about the stuff sites don't want you to download off them. Oh well, no harm done.
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.