Solved

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

Posted on 2008-10-27
2
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 10

Expert Comment

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

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

710 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