Results 1 to 3 of 3

Thread: Directory

  1. #1


    When a visitor visit a directory and the directory do not contain index.htm than the visitor can see the directory.

    I want to arrange so that the visitors will be seeing somefile.htm of the root directory

    what would the .htaccess command be?

    Also, I want that to apply to all subdirectories

    so people loocking at will also see

  2. #2
    Join Date
    Dec 2004
    an example :
    DirectoryIndex index.php
    put it in ur htaccess in the main directory and it should apply to the subdirs
    POINTLeb Hosting Lebanese Hosting for the Middle East
    The fact that no one understands you , does not make you an artist
    Mo Ghaoui's Personal Blog

  3. #3
    Thanks dude.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts