Forum Moderators: open
2)It was my understanding that a clean directory structure resembled:
/products/widgets/index.html.
Yet Adobe's web site uses a directory structure like this:
/products/photoshop/newfeatures.html
My questions: Does using about.html or bluewidget.html place additional strain on the server?
Does it slow a server's ability to fetch your page?
Does the above practice leave open a remote possibility that your server may not find your page?
Thanks!
<added>
you can also do this
"DirectoryIndex index.php index2.html"
in case index.php is not found, index2.html will be fetched
Richard Lowe
Some servers are configured such that if you enter a URL ending with only the subdirectory's name, and there isn't an index.html file in that directory, then the browser will display a file listing of the entire contents of that directory for all the world to see!
You might want to give it a test on your site.
Some servers are configured such that if you enter a URL ending with only the subdirectory's name...that's exactly what DirectoryIndex in .htaccess does: it defines the default
Some servers are configured such that if you enter a URL ending with only the
subdirectory's name, and there isn't an index.html file in that directory, then the browser will display a file listing of the entire contents of that directory for all the world to see!
If you can do this on your site have the host "disable directory browsing" or do it from your control panel if on Windows platform.
Brian
Some servers are configured such that if you enter a URL ending with only the
subdirectory's name, and there isn't an index.html file in that directory, then the browser will display a file listing of the entire contents of that directory for all the world to see!
You can turn off this behaviour by putting this line in a .htaccess file (Apache server):
Options -Indexes