[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Domain redirect



>           I see. In this case, is the presence of an index.html file
in the
> web directory relevant or irrelevant?

One has nothing to do with the other, so they're irrelevant. You can
have both in a folder, if that's what you mean.
An .htaccess file controls how that folder and all folders underneath
of it are going to act - such as not showing indexes, using a PHP_flag
(or PHP_value), challenging with a password protection, redirecting
missing-page errors to another page, etc - while an index.html page is
simply a page that will show up in a browser and doesn't change the
actions of the folder whatsoever.
If you have your server set to show index.html before any other pages,
then it will be the first to show up when someone accesses the folder
without a particular page on the end, but that's about it. Still,
that's not any action taken by the page itself, it's just a hapless
victim of Apache's instructions.  ;)

CarrieB