Operating System - Linux
1753797 Members
8849 Online
108805 Solutions
New Discussion

Linux Mandrake 7.1 Apache Server

 
SOLVED
Go to solution
Richard Horton
Advisor

Linux Mandrake 7.1 Apache Server

Where is the default index.html page in Mandrake 7.1 with Apache Server if i used the default for installation of linux. I have found the index.html.en and edited this file by no changes take place. I believe I have the wrong file. Any help would be greatly appreciated.

richard
SCO veteran converting to HP UX
1 REPLY 1
Solution

Re: Linux Mandrake 7.1 Apache Server

Richar,

The default page in Apache for Mandrake is not index.html, the good one is index.shtml but you can change this in the configuration file located in

/etc/httpd/conf/httpd.conf

and look around line 149 you will see:

DirectoryIndex index.html index.htm index.shtml index.cgi Default.htm default.html index.php3

If you want index.html to be your default page just get rid of index.shtml and it will looks like this:

DirectoryIndex index.html index.htm index.cgi Default.htm default.html index.php3

Then restart the httpd server, type this:

/etc/rc.d/init.d/httpd restart

Explanation:
This means that you can not have more than one index file in the same directory, thats why you are changing index.html and nothing happens to your main page because it is not the main page. If you are making changes to the configuration file you must restart the service in order to see the changes.

Modify index.shtml and you will see the changes.