-
How can I use html page as default on my server
Hi,
I have two files on my root directory. index.php and index.html. By default it goes to index.php when we enter a domain name
index.html is automatically generated page and you can see how it is generating automatically on this thread,
http://www.dynamicdrive.com/forums/s...ead.php?t=6397
My question is If someone type in website address like www.car-sale.org.uk it open file by default on http://www.car-sale.org.uk/index.php
But I want to change the default page to http://www.car-sale.org.uk/index.html
any suggestion.
imi
-
-
Hi,
I think in your httpd.conf file,
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
this part, index.html is like this, that is write after index.php.
if your directory containing both index.html and index.php files, then that execute order wise.
I the above example, index.php page will display.
check this part in our httpd.conf file.
Regards
Vijay
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks