Article Diary - General Knowledge Digest

How to change default web page using htaccess?

Use the following htaccess code to change the default web page or to set a custom webpage as the default page for your website. For example in the code below, the default page is set as about.html instead of index.html

# serve alternate default index page

DirectoryIndex about.html
Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Create Full Screen Slideshows With Supersized
Viewed 1412 times since Tue, Jan 5, 2010
50 Free And Quality Web Icons
Viewed 1942 times since Tue, Jan 5, 2010
Coming Soon Template
Viewed 1324 times since Thu, Nov 12, 2009
Web Usability Testing Tool - Clixpy
Viewed 1740 times since Sat, Jan 9, 2010
Protovis - Visualization for JavaScript via Canvas
Viewed 1209 times since Sun, Jan 3, 2010
Create A Page Peel Effect With CSS & jQuery
Viewed 1297 times since Tue, Jan 5, 2010
Quick Tables for Showing & Updating DB Data
Viewed 1398 times since Sun, Dec 27, 2009
ValidForm Builder - Creating Forms With Validation
Viewed 1216 times since Wed, Apr 21, 2010
Flash Webcam Image Capture
Viewed 1926 times since Thu, Nov 12, 2009
MENU