Bluehost.com Web Hosting $6.95

Re: I dunno, I would think that this should.. oh, I dunno.. work.

This is a discussion on Re: I dunno, I would think that this should.. oh, I dunno.. work. within the Windows Web Servers forums, part of the Web Server and Related Forums category; tiger YAMATO wrote: > Okay, so I compile 1.3.27 in Cygwin. Okay, no biggie. Apache starts > just ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2003
Jim Patterson
 
Posts: n/a
Default Re: I dunno, I would think that this should.. oh, I dunno.. work.

tiger YAMATO wrote:
> Okay, so I compile 1.3.27 in Cygwin. Okay, no biggie. Apache starts
> just fine.. however, when I try to actually CONNECT to my server, I
> get 404s. I've spent 4 hours trying to figure it out.. I got nothing.
>
> error.log:
>
> [Thu Jun 26 12:27:04 2003] [error] [client 127.0.0.1] File does not
> exist: d:/www/
>
> Okay, seems simple enough to fix... except that d:/www/ DOES exist.
>
> apache.conf says:
>
> DocumentRoot "d:/www/"
> <Directory "d:/www/">
>
> I've tried it without the trailing slash, without the drive.. nothing.
> What am I doing wrong?


A directory is not a file - Apache needs to be told how to treat it.

There are two options - either provide an index file, and tell Apache
how to search for it, or enable directory listings.

To use an index file, you need a DirectoryIndex command e.g.
DirectoryIndex index.html

and then you need to put a file with one of the names you specify in the
directory. Apache will load the first file it finds from the list on the
DirectoryIndex command.

If you just want Apache to list the directory, then set the Index option
on the directory e.g.:

<Directory "d:/www">
Options Indexes
</Directory>

You also need to enable access to the directory, because the default
Apache configuration is to locked down everything. These options inside
the <Directory> block should work:

Order allow,deny
Allow from all

Hope this helps!
--
Jim Patterson
Ottawa, Ont
CANADA

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0