Solved

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

Posted on 2008-10-27
2
368 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
Comment Utility
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
Comment Utility
Just use XAMPP and you'll avoid all those issues.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

9 Experts available now in Live!

Get 1:1 Help Now