• First time Unix user, I’ve managed to create the database, create a folder (‘blog’) under /www/htdocs, and get my files uploaded, but when I head to my URL, I get a listing of the directory, ‘blog’, rather than the launching of index.php. I can manually launch index.php, which works fine. Everything looks to have the correct chmod – any ideas on what I should be doing here?

    Thanks…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Create a .htaccess file at site root, and put this line into it
    DirectoryIndex index.html index.htm index.php

    That should sort things 🙂

    Thread Starter bi11i

    (@bi11i)

    Thanks, it did!

    Isn’t there something somewhere about chmodding this file to enable permalinks? What should it be?

    Podz: This worked for me…I can’t believe (beyond newbie here) I even understood what “site root” meant and actually found it and inserted it and edited it…bring out the champagne toasts!! LOL Anyhow, thanks…this worked for me. (now about permalinks question…what is that about?) Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Listing contents of directory instead of launching index.php’ is closed to new replies.