homepage Welcome to WebmasterWorld Guest from 54.226.180.223
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Wordpress Index.php not loading
khun




msg:4454629
 3:02 pm on May 17, 2012 (gmt 0)

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 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 would appreciate if anyone can figure out what is the problem here.

thank you so much in advance

regards

Khun

 

httpwebwitch




msg:4454661
 4:18 pm on May 17, 2012 (gmt 0)

directives in apache's conf file are case sensitive. So be careful about the difference between "directoryindex" and "DirectoryIndex"

do other PHP files work on this server? for instance, can you put a file on there named "phpinfo.php", containing this:

<?php
phpinfo();
?>

and see what it looks like when it's served by Apache?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved