Solved

Drupal on Apache 2.2 / MySQL / Windows displays directory listing instead of web page

Posted on 2008-10-27
2
369 Views
Last Modified: 2013-12-13
Hi,

Drupal has installed successfully, and I can get to the home page ok. When I click on any link such as:

http://localhost/drupal-6.6/?q=admin/settings

I get this instead of the web page... Any Ideas why?

Index of /drupal-6.6

    * Parent Directory
    * CHANGELOG.txt
    * COPYRIGHT.txt
    * INSTALL.mysql.txt
    * INSTALL.pgsql.txt
    * INSTALL.txt
    * LICENSE.txt
    * MAINTAINERS.txt
    * UPGRADE.txt
    * cron.php
    * includes/
    * index.php
    * install.php
    * misc/
    * modules/
    * profiles/
    * robots.txt
    * scripts/
    * sites/
    * themes/
    * update.php
    * xmlrpc.php
0
Comment
Question by:BrettskiWork
2 Comments
 
LVL 5

Accepted Solution

by:
stephencolson earned 500 total points
ID: 22818706
This gets back to Apache at the core. The following could be off:
1) Apache is not allowing you to do any overrides in the .htaccess file (Solution: correct this to AllowOverrides all in your apache configuration)
2) Apache does not have mod_rewrite installed or enabled (Solution: check that mod_rewrite is available and turned on)
3) Your server is expecting the .htaccess file to be named something else. Commonly, apache on windows installs might use htaccess.txt instead. (Solution: check your apache config for the AccessFileName directive and rename the .htaccess to that)
0
 
LVL 9

Expert Comment

by:oliverpolden
ID: 22819989
Just use XAMPP and you'll avoid all those issues.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now