2013-01-30, 21:22:54
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:
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:
defines that if index.php exists it should be loaded in case the URL contains no file-name prior to other index-files.
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
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18