Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"index" page shows only a file directory list instead of the "index" page content
#7
some short info:

there is a directive for .htaccess-file to define what to do when the URL loads a directory but no file:

if that is the case, all files of that directory will be presented as a list.
To prevent his, add this directive to your .htacces-file:

Code:
Options All -Indexes

if you have more than one index-file, you can define which of these should be the default index-file if the URL loads a directory but not a file:

for example:

Code:
DirectoryIndex index.php index.htm index.html

defines that if index.php exists it should be loaded in case the URL contains no file-name prior to other index-files.
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
RE: "index" page shows only a file directory list instead of the "index" page content - by Connie - 2013-01-30, 21:22:54



Users browsing this thread: 2 Guest(s)