index.php not recognized?? wordpress & Apache2

Discussion in 'Apache' started by khun, May 17, 2012.

  1. #1
    I'm a newbie here. I installed a wordpress in a server run by Apache2. But the wordpress doesn't load index.php page. I can access deshboard and all other categories are displaying well. but the home url is not loading the index.php. Eventhough i try to added /index.php at the end of my url, still it's not working. It just display 404 error. When i look at the theme directory and wordpress directory, there are (index.php) files.
    so I googled for solution. some suggested to add directoryindex index.php in .htaccess file. I did that and that result in 500 internal server error.
    Some post in google suggest to look at dir.conf and httpd.conf under Apache2. In my httpd.conf file, I have this line of code
    SSLcertificateChainfile /etc/ssl/certs/secure_yosalasd_org.ca-bundle
    In my dir.conf file, I have this lines of code

    <IfModule mod_dir.c>
    DirectoryIndex index.php index.html
    </IfModule>
    I don't seem to find answer to this problem.I would appreciate if anyone can figure out what is the problem here.
    thank you so much in advance
    regards
    Khun
     
    khun, May 17, 2012 IP
  2. khun

    khun Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Dear Tiff23, I'm a total newbie to this thing. What permission should i check and how do i do that. some forum suggest me to type in to following code


    chown -hR user:user folder_path;chmod -R 644 folder_path/*.php

    I tried but nothing seem to be working. please help me.

    thank you
     
    khun, May 17, 2012 IP