You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Schulman <cs...@austin.rr.com> on 2006/07/11 13:12:39 UTC
Fwd: Re: [users@httpd] configuration question from an Apache
newbie
>On 7/11/06, Rob Wilkerson <r....@gmail.com> wrote:
>Check your DirectoryIndex directive, too. I get this a lot when I
>forget to put in a file that I use. By default, Apache ships with
>index.html, for example, but not index.htm (which is what I use).
Right you are. I found that and changed it. Thanks, Rob. I also happened
across this comment and directive:
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Program Files/Apache2.2/htdocs">
Once I changed that and DirectoryIndex, everything worked right. Guess I
better take the time to read httpd.conf from start to finish. Thanks for
your reply too, Axel-Stéphane. :o)
Chris Schulman
>On 7/10/06, Chris Schulman <cs...@austin.rr.com> wrote:
>>Forgive me for asking a possibly very basic question. I'm good in a lot of
>>technical areas, but I'm trying to get Apache working and it's my first
>>time ever to install any kind of server.
>>
>>My server needs are simple, as I'm installing Apache for local use only; it
>>will not be accessible through the Internet. I'm running WinXP SP2. I
>>downloaded and installed the Apache 2.2.2 Win32 binary. The installation
>>appeared successful; after I finished, I pointed my browser to
>>http://127.0.0.1/, and received Apache's "It Works!" web page. I then
>>opened httpd.conf and changed the DocumentRoot directive to:
>>
>> DocumentRoot "G:/tees"
>>
>>which is my development directory. (That directory contains index.htm and
>>several other web pages.) But now, when I try to browse
>>http://127.0.0.1/, I get the familiar "Forbidden: You don't have permission
>>to access / on this server."
>>
>>I've checked everything I can think of related to permissions and security,
>>and I don't know what the problem is. Any suggestions? Thanks in advance.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org