why does this page come up on my site?

Discussion in 'PHP' started by st3vo, Jan 6, 2009.

  1. #1
    st3vo, Jan 6, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    2 problems. First, you should disable directory listing in your php.ini file. This is a security risk, and should be disabled unless you specifically want directory listings. Second, you need to point the root directory for your site to the /M.M.H.v4.0.2/ directory. You need to do this in httpd.conf.
     
    jestep, Jan 6, 2009 IP
  3. st3vo

    st3vo Active Member

    Messages:
    463
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    thanks alot, but that has gone right over my head ha ha, tottaly lost me. that sounds tricky to me.
     
    st3vo, Jan 6, 2009 IP
  4. scoopy82

    scoopy82 Active Member

    Messages:
    838
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    70
    #4
    You need to place the files in the folder named "M.M.H.v4.0.2" in "public_html" instead...

    Your main URL is currently showing the contents of the folder "public_html" because it lacks any index file there. You could also redirect that URL (w/ .htaccess) to show the contents of /M.M.H.v4.0.2 instead... but I don't think thats what you want.
     
    scoopy82, Jan 6, 2009 IP
  5. Limotek

    Limotek Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Using your FTP program, just move all the content from the folder public_html -> M.M.H.v4.0.2 to public_html . This will get rid of the directory listing page and jump straight to your desired index page.
     
    Limotek, Jan 7, 2009 IP
  6. st3vo

    st3vo Active Member

    Messages:
    463
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Thanks alot peps, I have done it. Thanks alot again, much appriceiated

    Steve
     
    st3vo, Jan 8, 2009 IP