Hi,
I'm a WP newbie.
I've just installed MySQL and PHP with WP 2.7.
I can run test.php fine and can see index.html (test) from Apache.
WP 2.7 has installed ok. However, when I look at visit my site from the admin panel it just shows the directory contents of the wordpress directory.
I don't know what I need to do to get the default theme to show the blog, widgets etc.
If you are seeing file listing but clicking on index.php gets your blog, the it's a directory index problem.
Your PHP is not 100% setup correctly. You need to have your webserver treat index.php the same way as index.html and execute the code in index.php.
On Apache2 your DirectoryIndex config line should have at least the following:
DirectoryIndex index.html index.php
Good luck.
Copy and paste of what I can see:
Index of /WordPress
* Parent Directory
* index.php
* license.txt
* readme.html
* test.php
* wp-admin/
* wp-app.php
* wp-atom.php
* wp-blog-header.php
* wp-comments-post.php
* wp-commentsrss2.php
* wp-config-sample.php
* wp-config.php
* wp-content/
* wp-cron.php
* wp-feed.php
* wp-includes/
* wp-links-opml.php
* wp-load.php
* wp-login.php
* wp-mail.php
* wp-pass.php
* wp-rdf.php
* wp-register.php
* wp-rss.php
* wp-rss2.php
* wp-settings.php
* wp-trackback.php
* xmlrpc.php
sbscheema
Member
Posted 3 years ago #
Can you give the link of your blog and directory structure?
Looks like you pasted wordpress files in wrong directory.
aputty,
That's because your web server is not treating the index.php as it should. If it were, you would not see that file listing.
See the advice re DirectoryIndex. That won't solve your other problem of viewable file names in your directories, but it will cause index.php to work properly.
jdembowski Thank you. That was the answer. All works now.