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 05:37:33 UTC

[users@httpd] configuration question from an Apache newbie

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


Re: [users@httpd] configuration question from an Apache newbie

Posted by Rob Wilkerson <r....@gmail.com>.
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).

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
>
>


-- 

Rob Wilkerson

---------------------------------------------------------------------
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