Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. Configuring Apache: The First... > What's Behind an Apache Web Site?

2.1. What's Behind an Apache Web Site?

It might be a good idea to get a firm idea of what, in the Apache business, a web site is: it is a directory somewhere on the server, say, /usr/www/APACHE3/site.for_instance. It usually contains at least four subdirectories. The first three are essential:


conf

Contains the Config file, usually httpd.conf, which tells Apache how to respond to different kinds of requests.


htdocs

Contains the documents, images, data, and so forth that you want to serve up to your clients.


logs

Contains the log files that record what happened. You should consult .../logs/error_log whenever anything fails to work as expected.


cgi-bin

Contains any CGI scripts that are needed. If you don't use scripts, you don't need the directory.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint