LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2006, 09:08 AM   #1
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Rep: Reputation: 15
Quick Apache Question


Hi, just a quick question. I have wordpress installed on my web server, and when you go to my site, it gives you a directory listing of all the wordpress files, instead I want it to point at the index page (index.php) I know there is an option for this in the httpd.conf, but it doesn't appear to be working, presumably as it wants to point at an html file and not php. Can anyone shed any light on this? Many thanx.
 
Old 04-25-2006, 10:17 AM   #2
avantman42
Member
 
Registered: Jul 2003
Location: Stoke on Trent, UK
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
In your config file, look for the DirectoryIndex value. It probably looks something like
Code:
# directory index.  Separate multiple entries with spaces.
    DirectoryIndex index.html
at the moment. As it says, you can seperate multiple entries with spaces, so if you want to be able to use index.html or index.php as the index file, set it to
Code:
# directory index.  Separate multiple entries with spaces.
    DirectoryIndex index.html index.php
Russ
 
Old 04-27-2006, 08:12 AM   #3
KiLLaWaBBiT
Member
 
Registered: Mar 2003
Location: UK
Distribution: Slackware 10.2, Kernel 2.6.13
Posts: 69

Original Poster
Rep: Reputation: 15
Thanx russ, worked like a charm. I really should RTFM, lol.=)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
quick apache 2 question eckertc1 Linux - Software 8 03-09-2005 01:38 AM
Quick question about apache The_Messiah Slackware 2 09-04-2004 05:39 PM
Quick Apache question karlan Linux - Software 2 07-03-2004 03:20 AM
A quick Apache question. slackMeUp Slackware 5 04-25-2004 04:19 PM
Quick apache question needforspeed Linux - Software 4 01-30-2004 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 PM.

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