My main page shows directory list

Discussion in 'Off Topic' started by zhbxakdquc93, Nov 11, 2011.

  1. zhbxakdquc93

    zhbxakdquc93 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I would like my main page http://tharpa.x10.mx/, to show my index.html or index.htm page. However, instead it shows a list of the files in my directory. Is this normal, and is there any way I can get it to show my index.html page?

    ---------- Post added at 03:55 AM ---------- Previous post was at 02:54 AM ----------

    Solved:
    Edited my .htaccess file.

    Added DirectoryIndex index.html and now it's fine.
     
  2. mariannaguide56

    mariannaguide56 New Member

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Hi ,
    By default Apache (the web-server) attempts to serve "index.html" or "index.php" if no file is defined inside the URL .
    If these files are not available then it does directory listing .
    Solution :
    1) Create an empty index file into the directory .
    2) Edit "htaccess" file : ie append -- > Options –Indexes .

     
  3. coolinkuk17

    coolinkuk17 New Member

    Messages:
    0
    Likes Received:
    0
    Trophy Points:
    0
    When I have my domain as .elementfx.co.uk it opens up a server error page but when i change it to .x10.mx it seems to work absolutely fine :s I would rather have the elementfx domain but it wont work unless i link directly to /index.htm. Why is this?
     
  4. goldenc3

    goldenc3 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    THANKS FOR THE HELP
    Added DirectoryIndex index.html
    still came up with the list but i solved it my index.html had a upper case Index.html lol thanks again
     

Share This Page