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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7/11/06, Rob Wilkerson <r.d.wilkerson@xxxxxxxxx> 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 <cschulman@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux