LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2009, 04:36 PM   #1
gibson79
Member
 
Registered: Feb 2007
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Problem with Wordpress install


Hi all,

I have been attempting to get wordpress running on Slack 13.

Here's what I've done so far.

Unzipped the package to /var/www/htdocs
Set up a mysql database for wordpress.
Edited the wp-config.php file with my database info.

I than ran through the install for wordpress, and it seems to go OK. I can log into wordpress and see the dashboard, and can add posts. I checked the database and it was populated with data.

However when I try to view the site all it returns is a directory listing of http://localhost/wordpress.

Any ideas what's wrong?

Thanks.
 
Old 09-09-2009, 04:41 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you added index.php to the directory index in /etc/httpd/httpd.conf?

Code:
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>
Basically whatever file is in here apache will try to check for any of these file names in order if just a directory is given.

If you try http://localhost/wordpress/index.php it should load up without making those changes in your conf file. If it works, then just add the index.php to that section in the conf, if it doesn't work then there is another underlying problem.

Last edited by bassmadrigal; 09-09-2009 at 04:43 PM.
 
Old 09-09-2009, 04:57 PM   #3
gibson79
Member
 
Registered: Feb 2007
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks bassmadrigal,

I had actually tried to access the site directly with http://localhost/wordpress/index.php as well but that didn't work either.

Putting index.php in the directory index did work though

Thanks for the help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission problem with Wordpress Datakraft Linux - Server 7 06-24-2009 04:06 AM
New to Wordpress subaruwrx General 0 10-31-2007 12:22 PM
wordpress install on local machine fails sharky Linux - Software 1 03-02-2007 12:48 PM
Installing WordPress on FC5 - Mysql / PHP problem ArthurDent Fedora 1 06-25-2006 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration