Site.com does not work , only site.com/index.php works !!

Discussion in 'HTML & Website Design' started by FireStorM, Jul 10, 2006.

  1. #1
    I have a site at site.com/graphics/ , when i go to site.com/graphics/ i get a blank page , only site.com/graphics/index.php works .. can anyone help me plz

    Thx lots
     
    FireStorM, Jul 10, 2006 IP
  2. shamess

    shamess Well-Known Member

    Messages:
    1,127
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Your hoster (I presum you don't own the server) hasn't set something correctly in the configuration... Damn that's vague - sorry about that. I can't remember what it is that isn't set propperly...

    But anycase, its the config file of the server that needs changing.
     
    shamess, Jul 10, 2006 IP
  3. FireStorM

    FireStorM Well-Known Member

    Messages:
    2,579
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Thx lots , i think it was because of a .htaccess which was in the folder , i am trying to fix it :(
     
    FireStorM, Jul 10, 2006 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    If the following is not in your Apache configuration file, add it to your .htaccess file in your DocumentRoot directory.
    
    #
    # DirectoryIndex: Name of the file or files to use as a pre-written
    #HTML
    # directory index.  Separate multiple entries with spaces.
    #
    <IfModule mod_dir.c>
        DirectoryIndex index.html index.htm index.shtml index.cgi index.phtml index.php
    </IfModule>
    Code (markup):
    [edit] Seems we crossed posts. Good it was something simple.[/edit]

    cheers,

    gary
     
    kk5st, Jul 10, 2006 IP
  5. hiren_hirani

    hiren_hirani Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
     
    hiren_hirani, Jul 10, 2006 IP