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

Re: [cobalt-users] index files



on 3/15/00 9:04 AM, Greg at greg@xxxxxxxxxxxx wrote:

> I need this to be server wide, and I don't want to have to put a .htaccess
> in every domain.
> 
> 
> ----- Original Message -----
> From: "Brian Curtis" <webmaster@xxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 15, 2000 5:23 AM
> Subject: Re: [cobalt-users] index files
> 
> 
>> Greg,
>> 
>>> I changed both... changed the line in the file from
>>> index.htm
>>> to
>>> index.htm index.mv
>>> and tried
>>> index.mv index.htm
>>> and neither seemed to have any effect. Even rebooted and still
> nothing...?


It should have worked...

All you should have had to do was change that line and then
/etc/rc.d/initd/httpd restart
to restart the web server.

Can you post the part of the config file that you listed?

Additionally, there is a 'priority' on the first index, over the second.

ie.e
if you've got it set up like this:
index.php3 index.html index.pl default.htm default.html
it'll look for index.php3 first, then index.html, etc.
SO if you want index.mv to 'override' index.html, you'll have to put it
first.

After that, we should look at the error log and see if it sheds some light
on the subject.

-k