Hi, Guest ~ Login or Register

Default Directory Indexes

Default Directory Indexes

Listed In Apache » Configuration — Viewing Full Tutorial
This handy little tutorial is useful when you don't want to use index.whatever for your main page.

Step 1: Open up .htaccess in your public_html folder

Step 2: Look for a line of text that saysDirectoryIndex

Step 3: After DirectoryIndex =, add your filename. It must be in the same directory.

Warning: A .htaccess file has a domino effect on all folders.

Example: http://yoursite.com's homepage will be home.html if you set DirectoryIndex to home, as well as all subfolders. http://yoursite.com/folder's homepage will also be home.html. Be careful!

To override this, add a blank copy of .htaccess into each subfolder.

Working Beta

  1. The Forums
    These are mostly functional. If you see any weird bugs, post a thread about it and an administrator will do something.
  2. Tutorial Writing
    You can now submit tutorials to the brand new management system.
  3. Tutorials Home
    View tutorials by categories and search for them here.
  4. Shoutbox
    See below. Registered users only!

Register

Newest User

Say hi to Lirette25! Lirette25 joined on Monday, 14th July.

Sponsor

Check out Next day fake id

Shoutbox