Default behavior shows directory listing; Get stuck on the Welcome page
Hi all.
The default behavior when I browse //localhost is a directory listing. So I manually run (via the browser) the install.php and get through that process and then repeat to open the index.php welcome page. When I try to create an administrator account, the http://localhost/?q=user/register access returns me to the directory listing.
I JUST installed and got Apache 2.2.4, PHP 5.2.3, and MySQL 5.0.45 working on my XP SP2 OS. Note that I have Dreamweaver installed, which is listed as the default program to open PHP files. Not sure if that would make any difference, but for the record, I tried changing it and it didn't stick for some reason.
I am sure this is a trivial problem, but since I am so new to everything, I am not even sure where to look.
Thanks in advanced!
D

index.php
if you explicitly point to index.php, does it seem to run okay? if so, is index.php listed on the DirectoryIndex line in httpd.conf (apache)? the directory listing usually indicates that the web server is confused (no known default index file).
if you make a change to apache config files (or php.ini, etc.), don't forget to restart apache. the default association should not make a difference as long as you are using http.
Thanks!
Thanks tm...worked like a charm.
Wonder why that was not covered in the Drupal install instructions anywhere (that I noticed anyway)?
assumptions
Being an open-source development community, there may be an assumption (purposeful or not) that when the system requirements are laid out, you can then come to the table ready to play. There may also be an assumption that you understand the underlying technologies (servers, browsers, web servers, application languages, the Internet/World Wide Web. etc.). Maybe this is no longer the case; maybe it is growing pains.
You are at a good stage to comment on this, being new and still remembering how much pain is involved to get off the ground. One user (webchick) has mentioned that this is probably the best time to contribute to documentation (like the Handbook pages). Another (nancyw) has done exactly that, with her Drupal Cookbook (for New Drupallers). You should go over to the Handbook pages; if you feel you have something to contribute, look for direction at the bottom of main Handbook page. The Handbook project is always looking for contributors.
"Passing it forward" in the forums is good, too.
Good luck!
btw, you can check out the Lullabots and Drupal School for additional "training" resources. There are many others.
You mean a files directory
You mean a files directory listing? Do you have Drupal's .htaccess file? That should have taken care of it with the lines
Options -Indexesfor not displaying directory listingsand
DirectoryIndex index.phpfor firing up Drupal as soon as your browser goes to its path.If you have the .htaccess file and doesn't work, then there may be something wrong with your server configuration (for example you have AllowOverride None instead of AllowOverride All)
---
---