Please help with problem - Files showing up not site.

Discussion in 'HTML & Website Design' started by FanAddict, Aug 20, 2006.

  1. #1
    Hi there,
    When you go to: http://www.bradgelina.info/

    You get the files, not the direct website, does anyone know why this is happening? Never has happened to me before,

    Thanks in advance,
    Linda.
     
    FanAddict, Aug 20, 2006 IP
  2. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #2
    For some reason, it wasn't showing up the index.html file, but once I switched it to index.php it pops right up.... wierd...
     
    FanAddict, Aug 20, 2006 IP
  3. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #3
    in the default documents the index.html is not mentioned

    your server should be a UNIX server and they usually have index.htm as a default document
     
    ludwig, Aug 21, 2006 IP
  4. FanAddict

    FanAddict Notable Member

    Messages:
    7,017
    Likes Received:
    376
    Best Answers:
    0
    Trophy Points:
    230
    #4
    I tried that as well, did not work

    Only works on .php files =|
     
    FanAddict, Aug 31, 2006 IP
  5. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Your site is hosted using apache, so it's a matter of the "DirectoryIndex" setting. Create (or edit if it exists already) a .htaccess file in the root of your domain. Put a line like this:

    DirectoryIndex index.html

    You put the most important one first and you can list multiple files:

    DirectoryIndex index.html index.htm index.php default.html

    etc.
     
    Gordaen, Sep 1, 2006 IP