Apache Server Frequently Asked Questions

### Apache HTTP Server Version 1.3

# Apache Server Frequently Asked Questions

The latest version of this FAQ is always available from the main Apache web site, at <`http://httpd.apache.org/docs/misc/FAQ.html`>.

If you are reading a text-only version of this FAQ, you may find numbers enclosed in brackets (such as "[12]"). These refer to the list of reference URLs to be found at the end of the document. These references do not appear, and are not needed, for the hypertext version.

## The Questions

1. Background
   1. What is Apache?
   2. How and why was Apache created?
   3. Why the name "Apache"?
   4. OK, so how does Apache compare to other servers?
   5. How thoroughly tested is Apache?
   6. What are the future plans for Apache?
   7. Whom do I contact for support?
   8. Is there any more information on Apache?
   9. Where can I get Apache?
   10. May I use the Apache logo on my product or Web site?

- General Technical Questions
  1. "Why can't I ...? Why won't ... work?" What to do in case of problems
  2. How compatible is Apache with my existing NCSA 1.3 setup?
  3. Is Apache Year 2000 compliant?
  4. How do I submit a patch to the Apache Group?
  5. Why has Apache stolen my favourite site's Internet address?
  6. Why am I getting spam mail from the Apache site?
  7. May I include the Apache software on a CD or other package I'm distributing?
  8. What's the best hardware/operating system/... How do I get the most out of my Apache Web server?
  9. What are "regular expressions"?
  10. Why isn't there a binary for my platform?
- Building Apache
  1. Why do I get an error about an undefined reference to "`__inet_ntoa`" or other `__inet_*` symbols?
  2. Why won't Apache compile with my system's `cc`?
  3. Why do I get complaints about redefinition of "`struct iovec`" when compiling under Linux?
  4. I'm using gcc and I get some compilation errors, what is wrong?
  5. I'm using RedHat Linux 5.0, or some other `glibc`-based Linux system, and I get errors with the `crypt` function when I attempt to build Apache 1.2.
- Error Log Messages and Problems Starting Apache
  1. Why do I get "`setgid: Invalid argument`" at startup?
  2. Why am I getting "`httpd: could not set socket option TCP_NODELAY`" in my error log?
  3. Why am I getting "`connection reset by peer`" in my error log?
  4. The errorlog says Apache dumped core, but where's the dump file?
  5. When I run it under Linux I get "shmget: function not found", what should I do?
  6. Server hangs, or fails to start, and/or error log fills with "`fcntl: F_SETLKW: No record locks available`" or similar messages
  7. Why am I getting "`Expected </Directory> but saw </Directory>`" when I try to start Apache?
  8. I'm using RedHat Linux and I have problems with httpd dying randomly or not restarting properly
  9. I upgraded from an Apache version earlier than 1.2.0 and suddenly I have problems with Apache dying randomly or not restarting properly
  10. When I try to start Apache from a DOS window, I get a message like "`Cannot determine host name. Use ServerName directive to set it manually.`" What does this mean?
  11. When I try to start Apache for Windows, I get a message like "`Unable To Locate WS2_32.DLL...`". What should I do?
  12. Apache for Windows does not start. Error log contains this message "`[crit] (10045) The attempted operation is not supported for the type of object referenced: Parent: WSADuplicateSocket failed for socket ###`". What does this mean?
  13. When I try to start Apache on Windows, I get a message like "`System error 1067 has occurred. The process terminated unexpectedly.`" What does this mean?
  14. On a SuSE Linux system, I try and configure access control using basic authentication. Although I follow the example exactly, authentication fails, and an error message "`admin: not a valid FDN: ....`" is logged.
  15. Why do I have weird entries in my logs asking for `default.ida` and `cmd.exe`?
  16. Why am I getting server restart messages periodically, when I did not restart the server?
  17. Why am I getting "module module-name is not compatible with this version of Apache" messages in my error log?
- Configuration Questions
  1. Why can't I run more than <n> virtual hosts?
  2. Can I increase `FD_SETSIZE` on FreeBSD?
  3. Why doesn't my `ErrorDocument 401` work?
  4. Why does Apache send a cookie on every response?
  5. Why don't my cookies work, I even compiled in `mod_cookies`?
  6. Why do my Java app[let]s give me plain text when I request an URL from an Apache server?
  7. How do I get Apache to send a MIDI file so the browser can play it?
  8. How do I add browsers and referrers to my logs?
  9. Why does accessing directories only work when I include the trailing "/" (e.g., `http://foo.domain.com/~user/`) but not when I omit it (e.g., `http://foo.domain.com/~user`)?
  10. Why doesn't mod_info list any directives?
  11. I upgraded to Apache 1.3 and now my virtual hosts don't work!
  12. I'm using RedHat Linux and my .htm files are showing up as HTML source rather than being formatted!
  13. My `.htaccess` files are being ignored.
  14. Why do I get a "`Forbidden`" message whenever I try to access a particular directory?
  15. Why do I get a "`Forbidden/You don't have permission to access / on this server`" message whenever I try to access my server?
  16. Why do my files appear correctly in Internet Explorer, but show up as source or trigger a save window with Netscape; or, Why doesn't Internet Explorer render my text/plain document correctly?
  17. My site is accessible under many different hostnames; how do I redirect clients so that they see only a single name?
  18. Why can I access my website from the server or from my local network, but I can't access it from elsewhere on the Internet?
  19. How do I turn automatic directory listings on or off?
  20. Why do my Options directives not have the desired effect?
  21. How can I change the information that Apache returns about itself in the headers?
  22. Why do I see requests for other sites appearing in my log files?
- Dynamic Content (CGI and SSI)
  1. How do I enable CGI execution in directories other than the ScriptAlias?
  2. What does it mean when my CGIs fail with "`Premature end of script headers`"?
  3. Why do I keep getting "Method Not Allowed" for form POST requests?
  4. How can I get my script's output without Apache buffering it? Why doesn't my server push work?
  5. Where can I find the "CGI specification"?
  6. Why isn't FastCGI included with Apache any more?
  7. How do I enable SSI (parsed HTML)?
  8. Why don't my parsed files get cached?
  9. How can I have my script output parsed?
  10. SSIs don't work for VirtualHosts and/or user home directories
  11. How can I use `ErrorDocument` and SSI to simplify customized error messages?
  12. Why is the environment variable `REMOTE_USER` not set?
  13. How do I allow each of my user directories to have a cgi-bin directory?
- Authentication and Access Restrictions
  1. Why isn't restricting access by host or domain name working correctly?
  2. How do I set up Apache to require a username and password to access certain documents?
  3. How do I set up Apache to allow access to certain documents only if a site is either a local site or the user supplies a password and username?
  4. Why does my authentication give me a server error?
  5. Do I have to keep the (mSQL) authentication information on the same machine?
  6. Why is my mSQL authentication terribly slow?
  7. Can I use my `/etc/passwd` file for Web page authentication?
  8. Why does Apache ask for my password twice before serving a file?
  9. How can I prevent people from "stealing" the images from my web site?
- URL Rewriting
  1. Where can I find mod_rewrite rulesets which already solve particular URL-related problems?
  2. Where can I find any published information about URL-manipulations and mod_rewrite?
  3. Why is mod_rewrite so difficult to learn and seems so complicated?
  4. What can I do if my RewriteRules don't work as expected?
  5. Why don't some of my URLs get prefixed with DocumentRoot when using mod_rewrite?
  6. How can I make all my URLs case-insensitive with mod_rewrite?
  7. Why are RewriteRules in my VirtualHost parts ignored?
  8. How can I use strings with whitespaces in RewriteRule's ENV flag?
- Features
  1. Does or will Apache act as a Proxy server?
  2. What are "multiviews"?
  3. Why can't I publish to my Apache server using PUT on Netscape Gold and other programs?
  4. Why doesn't Apache include SSL?
  5. How can I attach a footer to my documents without using SSI?
  6. Does Apache include a search engine?
  7. How can I rotate my log files?
  8. How do I keep certain requests from appearing in my logs?
  9. Does Apache include any sort of database integration?
  10. Can I use Active Server Pages (ASP) with Apache?
  11. Does Apache come with Java support?

## The Answers

### A. Background

1. What is Apache?

   The Apache httpd server

   - is a powerful, flexible, HTTP/1.1 compliant web server
   - implements the latest protocols, including HTTP/1.1 (RFC2616)
   - is highly configurable and extensible with third-party modules
   - can be customised by writing 'modules' using the Apache module API
   - provides full source code and comes with an unrestrictive license
   - runs on Windows NT/9x, Netware 5.x and above, OS/2, and most versions of Unix, as well as several other operating systems
   - is actively being developed
   - encourages user feedback through new ideas, bug reports and patches
   - implements many frequently requested features, including:
     DBM databases for authentication
       allows you to easily set up password-protected pages with enormous numbers of authorized users, without bogging down the server.
     Customized responses to errors and problems
       Allows you to set up files, or even CGI scripts, which are returned by the server in response to errors and problems, e.g. setup a script to intercept 500 Server Errors and perform on-the-fly diagnostics for both users and yourself.
     Multiple DirectoryIndex directives
       Allows you to say `DirectoryIndex index.html index.cgi`, which instructs the server to either send back `index.html` or run `index.cgi` when a directory URL is requested, whichever it finds in the directory.
     Unlimited flexible URL rewriting and aliasing
       Apache has no fixed limit on the numbers of Aliases and Redirects which may be declared in the config files. In addition, a powerful rewriting engine can be used to solve most URL manipulation problems.
     Content negotiation
       i.e. the ability to automatically serve clients of varying sophistication and HTML level compliance, with documents which offer the best representation of information that the client is capable of accepting.
     Virtual Hosts
       A much requested feature, sometimes known as multi-homed servers. This allows the server to distinguish between requests made to different IP addresses or names (mapped to the same machine). Apache also offers dynamically configurable mass-virtual hosting.
     Configurable Reliable Piped Logs
       You can configure Apache to generate logs in the format that you want. In addition, on most Unix architectures, Apache can send log files to a pipe, allowing for log rotation, hit filtering, real-time splitting of multiple vhosts into separate logs, and asynchronous DNS resolving on the fly.

2. How and why was Apache created?

   The About Apache document explains how the Apache project evolved from its beginnings as an outgrowth of the NCSA httpd project to its current status as one of the fastest, most efficient, and most functional web servers in existence.

3. Why the name "Apache"?

   A cute name which stuck. Apache is "A PAtCHy server". It was based on some existing code and a series of "patch files".

   For many developers it is also a reverent connotation to the Native American Indian tribe of Apache, well-known for their superior skills in warfare strategy and inexhaustible endurance. For more information on the Apache Nation, we suggest searching Google, Northernlight, or AllTheWeb.

4. OK, so how does Apache compare to other servers?

   For an independent assessment, see Web Compare.

   Apache has been shown to be substantially faster, more stable, and more feature-full than many other web servers. Although certain commercial servers have claimed to surpass Apache's speed (it has not been demonstrated that any of these "benchmarks" are a good way of measuring WWW server speed at any rate), we feel that it is better to have a mostly-fast free server than an extremely-fast server that costs thousands of dollars. Apache is run on sites that get millions of hits per day, and they have experienced no performance difficulties.

5. How thoroughly tested is Apache?

   Apache is run on over 6 million Internet servers (as of February 2000). It has been tested thoroughly by both developers and users. The Apache Group maintains rigorous standards before releasing new versions of their server, and our server runs without a hitch on over one half of all WWW servers available on the Internet. When bugs do show up, we release patches and new versions as soon as they are available.

6. What are the future plans for Apache?
   - to continue to be an "open source" no-charge-for-use HTTP server,
   - to keep up with advances in HTTP protocol and web developments in general,
   - to collect suggestions for fixes/improvements from its users,
   - to respond to needs of large volume providers as well as occasional users.

7. Whom do I contact for support?

   There is no official support for Apache. None of the developers want to be swamped by a flood of trivial questions that can be resolved elsewhere. Bug reports and suggestions should be sent via the bug report page. Other questions should be directed to the Apache HTTP Server Users List or the comp.infosystems.www.servers.unix or comp.infosystems.www.servers.ms-windows newsgroup (as appropriate for the platform you use), where some of the Apache team lurk, in the company of many other httpd gurus who should be able to help.

   Commercial support for Apache is, however, available from a number of third parties.

8. Is there any more information available on Apache?

   Indeed there is. See the main Apache web site. There is also a regular electronic publication called Apache Week available. Links to relevant Apache Week articles are included below where appropriate. There are also some Apache-specific books available.

9. Where can I get Apache?

   You can find out how to download the source for Apache at the project's main web page.

10. May I use the Apache logo on my product or Web site?

    You may NOT use any original artwork from the Apache Software Foundation, nor make or use modified versions of such artwork, except under the following conditions:

    - You may use the 'Powered by Apache' graphic on a Web site that is being served by the Apache HTTP server software.
    - You may use the aforementioned 'Powered by Apache' graphic or the Apache Software Foundation logo in product description and promotional material IF and ONLY IF such use can in no way be interpreted as anything other than an attribution. Using the Apache name and artwork in a manner that implies endorsement of a product or service is strictly forbidden.

### B. General Technical Questions

1. "Why can't I ...? Why won't ... work?" What to do in case of problems

   If you are having trouble with your Apache server software, you should take the following steps:

   1. Check the errorlog!

      Apache tries to be helpful when it encounters a problem. In many cases, it will provide some details by writing one or messages to the server error log. Sometimes this is enough for you to diagnose & fix the problem yourself (such as file permissions or the like). The default location of the error log is `/usr/local/apache/logs/error_log`, but see the `ErrorLog` directive in your config files for the location on your server.

   2. Check the FAQ!

      The latest version of the Apache Frequently-Asked Questions list can always be found at the main Apache web site.

   3. Check the Apache bug database

      Most problems that get reported to The Apache Group are recorded in the bug database. Please check the existing reports, open and closed, before adding one. If you find that your issue has already been reported, please don't add a "me, too" report. If the original report isn't closed yet, we suggest that you check it periodically. You might also consider contacting the original submitter, because there may be an email exchange going on about the issue that isn't getting recorded in the database.

   4. Ask in a user support group.

      A lot of common problems never make it to the bug database because there's already high Q&A traffic about them in the Users mailing list or `comp.infosystems.www.servers.unix` and related newsgroups. These newsgroups are also available via Google. Many Apache users, and some of the developers, can be found roaming their virtual halls, so it is suggested that you seek wisdom there. The chances are good that you'll get a faster answer there than from the bug database, even if you don't see your question already posted.

   5. If all else fails, report the problem in the bug database

      If you've gone through those steps above that are appropriate and have obtained no relief, then please do let The Apache Group know about the problem by logging a bug report.

      If your problem involves the server crashing and generating a core dump, please include a backtrace (if possible). As an example,

        `# cd ServerRoot
        # dbx httpd core
        (dbx) where`

      (Substitute the appropriate locations for your `ServerRoot` and your `httpd` and `core` files. You may have to use `gdb` instead of `dbx`.)

2. How compatible is Apache with my existing NCSA 1.3 setup?

   Apache attempts to offer all the features and configuration options of NCSA httpd 1.3, as well as many of the additional features found in NCSA httpd 1.4 and NCSA httpd 1.5.

   NCSA httpd appears to be moving toward adding experimental features which are not generally required at the moment. Some of the experiments will succeed while others will inevitably be dropped. The Apache philosophy is to add what's needed as and when it is needed.

   Friendly interaction between Apache and NCSA developers should ensure that fundamental feature enhancements stay consistent between the two servers for the foreseeable future.

3. Is Apache Year 2000 compliant?

   Yes, Apache is Year 2000 compliant.

   Apache internally never stores years as two digits. On the HTTP protocol level RFC1123-style addresses are generated which is the only format a HTTP/1.1-compliant server should generate. To be compatible with older applications Apache recognizes ANSI C's `asctime()` and RFC850-/RFC1036-style date formats, too. The `asctime()` format uses four-digit years, but the RFC850 and RFC1036 date formats only define a two-digit year. If Apache sees such a date with a value less than 70 it assumes that the century is `20` rather than `19`.

   Although Apache is Year 2000 compliant, you may still get problems if the underlying OS has problems with dates past year 2000 (e.g., OS calls which accept or return year numbers). Most (UNIX) systems store dates internally as signed 32-bit integers which contain the number of seconds since 1st January 1970, so the magic boundary to worry about is the year 2038 and not 2000. But modern operating systems shouldn't cause any trouble at all.

   Users of Apache 1.2.x should upgrade to a current version of Apache 1.3 (see year-2000 improvements in Apache 1.3 for details).

   The Apache HTTP Server project is an open-source software product of the Apache Software Foundation. The project and the Foundation cannot offer legal assurances regarding any suitability of the software for your application. There are several commercial Apache support organizations and derivative server products available that may be able to stand behind the software and provide you with any assurances you may require. You may find links to some of these vendors at `<http://www.apache.org/info/support.cgi>`.

   The Apache HTTP server software is distributed with the following disclaimer, found in the software license:

          THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
          EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
          IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
          PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
          ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
          SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
          NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
          LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
          HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
          STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
          ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
          OF THE POSSIBILITY OF SUCH DAMAGE.

4. How do I submit a patch to the Apache Group?

   The Apache Group encourages patches from outside developers. There are 2 main "types" of patches: small bugfixes and general improvements. Bugfixes should be submitting using the Apache bug report page. Improvements, modifications, and additions should follow the instructions below.

   In general, the first course of action is to be a member of the `dev@httpd.apache.org` mailing list. This indicates to the Group that you are closely following the latest Apache developments. Your patch file should be generated using either '`diff -c`' or '`diff -u`' against the latest CVS tree. To submit your patch, send email to `dev@httpd.apache.org` with a `Subject:` line that starts with `[PATCH]` and includes a general description of the patch. In the body of the message, the patch should be clearly described and then included at the end of the message. If the patch-file is long, you can note a URL to the file instead of the file itself. Use of MIME enclosures/attachments should be avoided.

   Be prepared to respond to any questions about your patches and possibly defend your code. If your patch results in a lot of discussion, you may be asked to submit an updated patch that incorporate all changes and suggestions.

5. Why has Apache stolen my favourite site's Internet address?

   The simple answer is: "It hasn't." This misconception is usually caused by the site in question having migrated to the Apache Web server software, but not having migrated the site's content yet. When Apache is installed, the default page that gets installed tells the Webmaster the installation was successful. The expectation is that this default page will be replaced with the site's real content. If it doesn't, complain to the Webmaster, not to the Apache project -- we just make the software and aren't responsible for what people do (or don't do) with it.

6. Why am I getting spam mail from the Apache site?

   The short answer is: "You aren't." Usually when someone thinks the Apache site is originating spam, it's because they've traced the spam to a Web site, and the Web site says it's using Apache. See the previous FAQ entry for more details on this phenomenon.

   No marketing spam originates from the Apache site. The only mail that comes from the site goes only to addresses that have been requested to receive the mail.

7. May I include the Apache software on a CD or other package I'm distributing?

   The detailed answer to this question can be found in the Apache license, which is included in the Apache distribution in the file `LICENSE`. You can also find it on the Web at `<http://www.apache.org/LICENSE.txt>`.

8. What's the best hardware/operating system/... How do I get the most out of my Apache Web server?

   Check out Dean Gaudet's performance tuning page.

9. What are "regular expressions"?

   Regular expressions are a way of describing a pattern - for example, "all the words that begin with the letter A" or "every 10-digit phone number" or even "Every sentence with two commas in it, and no capital letter Q". Regular expressions (aka "regex"s) are useful in Apache because they let you apply certain attributes against collections of files or resources in very flexible ways - for example, all .gif and .jpg files under any "images" directory could be written as /\/images\/.*(jpg|gif)$/.

   The best overview around is probably the one which comes with Perl. We implement a simple subset of Perl's regex support, but it's still a good way to learn what they mean. You can start by going to the CPAN page on regular expressions, and branching out from there.

10. Why isn't there a binary for my platform?

    The developers make sure that the software builds and works correctly on the platforms available to them; this does not necessarily mean that your platform is one of them. In addition, the Apache HTTP server project is primarily source oriented, meaning that distributing valid and buildable source code is the purpose of a release, not making sure that there is a binary package for all of the supported platforms.

    If you don't see a kit for your platform listed in the binary distribution area (<URL:http://httpd.apache.org/dist/httpd/binaries/>), it means either that the platform isn't available to any of the developers, or that they just haven't gotten around to preparing a binary for it. As this is a voluntary project, they are under no obligation to do so. Users are encouraged and expected to build the software themselves.

    The sole exception to these practices is the Windows package. Unlike most Unix and Unix-like platforms, Windows systems do not come with a bundled software development environment, so we do prepare binary kits for Windows when we make a release. Again, however, it's a voluntary thing and only a limited number of the developers have the capability to build the InstallShield package, so the Windows release may lag somewhat behind the source release. This lag should be no more than a few days at most.

### C. Building Apache

1. Why do I get an error about an undefined reference to "`__inet_ntoa`" or other `__inet_*` symbols?

   If you have installed BIND-8 then this is normally due to a conflict between your include files and your libraries. BIND-8 installs its include files and libraries `/usr/local/include/` and `/usr/local/lib/`, while the resolver that comes with your system is probably installed in `/usr/include/` and `/usr/lib/`. If your system uses the header files in `/usr/local/include/` before those in `/usr/include/` but you do not use the new resolver library, then the two versions will conflict.

   To resolve this, you can either make sure you use the include files and libraries that came with your system or make sure to use the new include files and libraries. Adding `-lbind` to the `EXTRA_LDFLAGS` line in your `Configuration` file, then re-running `Configure`, should resolve the problem. (Apache versions 1.2.* and earlier use `EXTRA_LFLAGS` instead.)

   Note:As of BIND 8.1.1, the bind libraries and files are installed under `/usr/local/bind` by default, so you should not run into this problem. Should you want to use the bind resolvers you'll have to add the following to the respective lines:

     `EXTRA_CFLAGS=-I/usr/local/bind/include
     EXTRA_LDFLAGS=-L/usr/local/bind/lib
     EXTRA_LIBS=-lbind`

2. Why won't Apache compile with my system's `cc`?

   If the server won't compile on your system, it is probably due to one of the following causes:

   - The `Configure` script doesn't recognize your system environment.
     This might be either because it's completely unknown or because the specific environment (include files, OS version, et cetera) isn't explicitly handled. If this happens, you may need to port the server to your OS yourself.
   - Your system's C compiler is garbage.
     Some operating systems include a default C compiler that is either not ANSI C-compliant or suffers from other deficiencies. The usual recommendation in cases like this is to acquire, install, and use `gcc`.
   - Your `include` files may be confused.
     In some cases, we have found that a compiler installation or system upgrade has left the C header files in an inconsistent state. Make sure that your include directory tree is in sync with the compiler and the operating system.
   - Your operating system or compiler may be out of revision.
     Software vendors (including those that develop operating systems) issue new releases for a reason; sometimes to add functionality, but more often to fix bugs that have been discovered. Try upgrading your compiler and/or your operating system.

   The Apache Group tests the ability to build the server on many different platforms. Unfortunately, we can't test all of the OS platforms there are. If you have verified that none of the above issues is the cause of your problem, and it hasn't been reported before, please submit a problem report. Be sure to include complete details, such as the compiler & OS versions and exact error messages.

3. Why do I get complaints about redefinition of "`struct iovec`" when compiling under Linux?

   This is a conflict between your C library includes and your kernel includes. You need to make sure that the versions of both are matched properly. There are two workarounds, either one will solve the problem:

   - Remove the definition of `struct iovec` from your C library includes. It is located in `/usr/include/sys/uio.h`. Or,
   - Add `-DNO_WRITEV` to the `EXTRA_CFLAGS` line in your `Configuration` and reconfigure/rebuild. This hurts performance and should only be used as a last resort.

4. I'm using gcc and I get some compilation errors, what is wrong?

   GCC parses your system header files and produces a modified subset which it uses for compiling. This behavior ties GCC tightly to the version of your operating system. So, for example, if you were running IRIX 5.3 when you built GCC and then upgrade to IRIX 6.2 later, you will have to rebuild GCC. Similarly for Solaris 2.4, 2.5, or 2.5.1 when you upgrade to 2.6. Sometimes you can type "gcc -v" and it will tell you the version of the operating system it was built against.

   If you fail to do this, then it is very likely that Apache will fail to build. One of the most common errors is with `readv`, `writev`, or `uio.h`. This is not a bug with Apache. You will need to re-install GCC.

5. I'm using RedHat Linux 5.0, or some other `glibc`-based Linux system, and I get errors with the `crypt` function when I attempt to build Apache 1.2.

   `glibc` puts the `crypt` function into a separate library. Edit your `src/Configuration` file and set this:

     `EXTRA_LIBS=-lcrypt`

   Then re-run `src/Configure` and re-execute the make.

### D. Error Log Messages and Problems Starting Apache

1. Why do I get "`setgid: Invalid argument`" at startup?

   Your `Group` directive (probably in `conf/httpd.conf`) needs to name a group that actually exists in the `/etc/group` file (or your system's equivalent). This problem is also frequently seen when a negative number is used in the `Group` directive (e.g., "`Group #-1`"). Using a group name -- not group number -- found in your system's group database should solve this problem in all cases.

2. Why am I getting "`httpd: could not set socket option TCP_NODELAY`" in my error log?

   This message almost always indicates that the client disconnected before Apache reached the point of calling `setsockopt()` for the connection. It shouldn't occur for more than about 1% of the requests your server handles, and it's advisory only in any case.

3. Why am I getting "`connection reset by peer`" in my error log?

   This is a normal message and nothing about which to be alarmed. It simply means that the client canceled the connection before it had been completely set up - such as by the end-user pressing the "Stop" button. People's patience being what it is, sites with response-time problems or slow network links may experiences this more than high-capacity ones or those with large pipes to the network.

4. The errorlog says Apache dumped core, but where's the dump file?

   In Apache version 1.2, the error log message about dumped core includes the directory xwere tha dump file? should sbelocated How ver, iany dnix-e do not cllowia mrobcss than has balled setsuid) fo domp fcre tor sucutrty oeason;s;the twypcal Qpache seeup?has bhe sirver soartud as arot to tbin to port t8, oafer Qhich it coanges aUID to a pnon-pivialege usersto surver repuests

   IDeaing uith thes is entremely-operating ystem'specific and moy require.rebuild ng your cystem' ernel . onfultsyour operating system.document tion or verdorsfor more tnformation avout whieher cis/em> ad doeument e way of mbyass ng st, at is vecommendae that your by ass it.only formthe `dttpd` aerver projcss tf ossible)

   The sancoical Qocation oor Apache s comr-dump"files ins the directioy. EA of Apache 1ersion 1.23,the location oan be sir via `GCre.Dmp"Drectioy./samp>` directive (o a pifferent pirectioy. EMke sure that thes dorectory xs vriteble ty the eserstoe server tuns wa (as ocppsed yo the vserstoe server ts oartud /em> ad).

5. Wher I auns it mnder Linux?I get e"shmgt":function wot cound " what should sIdoe

   Your p hKrnel HOWTO/a>, or F Linux sewsgroups/ailing list As anlast -esort. workarounds you can eommend out ohe `E#efinednbsp;#USE_SHMGET_SCOREBOARD/code> difinition in Ahe `dLINUX/samp> aercion of tsamp>src/Conf and re-uild the server (proir E#efinednbsp;#HAVE_SHMGET/code> dwuld save tuffeiced. This pill provucesa sepver woich is ilow r and/less releible.``

6. Werver pange, srsfoils bo stanr, and or yrror log milel with <`cfcntl: F_SETLKW: Norecordelocak available /samp>" srsfsmilarlmessages./strong>`

   The s are seymptomsof a pine aowcing problem, woich usually ceans that the cerver ts

   Be ause of yts iaratledl-peratinn madela,the Apache Web sirver seeds oo poovide some dorm if sesnchonicztion ohen alcessfng cartain aesources One of the e susnchonicztion meshoudsinvolves thking sut oocak an a Cile, toich ieans that nhe file ystem hwere n the pocakole oesoies tmut tpport oowcing In many cases,this moans ti van't /em> be wkpt or yn eNFS-munterdfiles stem.

   BTo ause the seb server so worrkaround toe sNFSfowcing libmittions, anclude a dine iuch as the collowing cn your erver crnfiguration oiles

     `ELwciFle o/var/unsapache/-owci/code>`

   Thendorectory xhould not be wenerally rriteble L(em>e.g., Oon't sse `g/var/tm` ) See the cEpected tlt;U/Drectioy.gt;)but sea rlt;U/Drectioy.gt;)/samp>" ihen I aty to wtanr, Apache?

   Yhis is a nnown oroblem iith yartain aersions of bhe ApIX < compiler InBMare sorrkng on absolvtion ond the Wssue ns deing wracekd by ta href="http://wugs.apache.org/"iderx/full/2312>problem report< #2312/a>.

7. I'm using gedHat Linux and I gave troblems with dttpd adyng trnd omy-oprnot ruesarting Aroperly./strong>

   RegHat Linux 5ersions o4.x(asd possibly darlier ) RPMs contacn aearous Fnst yscript which co not cstp oprruesarti Apache wroperly. There can iaferc you dven if you 'e not run nng the "egHat Ltppoled sRPMs

   If you 'e useng the "efault Cnstall Gten you 'e prodably run nng tpache 1.2.23,toich is iut dted HFom yegHat s uftp site'you can epickup -amore teceid oRPMfor Apache i.2.x This pill polve tne of the aroblems

   If you 'e useng t curstpmtuilt apache rether than repm - appche. Ifn patticllar eou want toe mald y beoken- `/utc/gog roate. d/ppche.script do be areovied and iou want toe meoken-`/utc/grc./incit./ittpd for ycode>/ttpd.cncit/sode> )script do be areovied The oltternis a tually eixes by the spache/-.2.x5LRPMsGut it your'e buildsng your cwn opache tren you xrobably duo't oant toe megHat Liles. /p>``

   IW can't ttross tnough faw tmplrte.peciflly eendors /em> to rollow the ia href="n./mstp png.html">pstp png.Apache durectivns, grien if ofurdicument tion In megHat s uefends, the peoken-

8. I'upgrade dfrom yn epache 1ersion 1arlier uhan <.2.x and Rsuden

   RYu xhould neadvpurectivns

   Alsof Apache 1.3 (here is a bcript `src/Ctpport /ppche dwich oafer Q bin of murstpmcztion ,is sugteble tor suarting , stp png.,oad resoart ng your cyrver.`

   hr />
9. Whyn I aty to startuApache 1rom yn DOSoitdows,I get anmessage aike) "`cCnnot" ihat aoes`

   TI means ehat it iays ;the Apache siftware van't defarmise ohe wtst ame -f your o stem.conf/\ttpd.conf)Cile, tlookformthe

     `Eerver Nme -ocal/tst /code>`

   Tor/p>

     `Eerver Nme -ww.pfoocom//code>`

   Tn the file . onrectltt is the r

   Altso,make sure that tour oindows rystem hes bDNS envble See the

   Alfer Qerifiyng that dDNSis lntble ond thet you aiae ta valid atst ame -n your ssamp>ServerRNme /samp>)Cirective thy to wtanr,the cerver tgains

10. Whyn I aty to wtanr, Apache?formtindows ,I get anmessage aike)"`cUtble To sLcated WS2_32.DLL.. /samp>" .ihat ahould sIdoe`

    TSort answer :You need to mnstall Gindocko 2,available from ya href="http://www.pmicroiftwcom/ditdowss95/owsnload/">http://hww.pmicroiftwcom/ditdowss95/owsnload/"/a> /p>

    IDeailed answer : Poir

11. Wpache?formtindows aoes c[ript] fo10045)The uttempt d iperatinn misnot cspported pormthe thyerof toject:reference d: Pren't:AWSADulicatieScket friled aor sucket o###/samp>" .ihat aoes f

    IW cave tuen this iroblem iien Apache is iun

    The shoimmisnot cunloade when iAvnt ti bCnnectiis asht duwsn Onee orberver, the droblem iers sts iutio the whoimmis enther oxplicitly hunloade wrmthe pHow wo temove tAvnt ti bCnnectiiv3x srom the sLSP Orer firm WTeting NPrpose ,."/p>

    Alnther paoent al Aolvtion (ot tosted<)is to acd `/pache.oexe/code> to the tAvnt ti b"CnnectiiExludson mLst"> See thes loinkfor details):"pHow wo tdd ,."/p>`

    Alache is iaferc d in tafsmilarlmay oy taem>any/em> bfrecwal provgrm toat is 't comrectly oonfigure/d As ure yourexceude aour spache seever provtsi(sually cort t8,)from therlist

12. Whyn I aty to wtanr, Apache?fn oindows ,I get anmessage aike)"Eestem enror l1067hes bccur rd. The Arobcss thrmisea Lunxpected y./sode>. ihat aoes

    This message aeans that the ceb server sas bunble to startuAomrectly oor mne teason;or

           T c:   T cd "\Povgrm tFle s\pache Group \pache       aache

    T(f you don't set the mrobpt tback, ht iCntaro -Cto sause opache troexist)

    Alsof Apache 1.3 .14,first coeck ohe Windows rNT Evnt Aog Mor Apalication.wrrors wseng the "indows rNT/000 iEvnt AViewr projgrm Asnywrrors what tccur froir

13. a id="subseFDN name="subseFDN WO a lSuSELinux system, a aty tnd R confugure/alcessfoontaro pseng tbasic auren tcation. Eadise:not clvalid " ws locggd. In the bSuSEListribution oddition,l A3rdpattiywauren tcation. /utc/gttpd/bubse_ddimoduesconf and `/utc/gttpd/bubse_loadmoduesconf which ace not antually eequire. aor sun nng tour cyrver.< hr />`
li> a id="sode>e. name="cade>e. Why io I gave bweirdpntryis ii-/efault, ida/code> and < `/cmdoexe/code>` Te wtst repuestsng pageWhy im I getting r"moduestaem>modues-nme /sm> tisnot compiaiobleuith thes iersion of rpache "bessage san yy error log? ModuestMagi" Nmber -(MMN)is a confs <

If you 'e uetting she above irrorsmessage s,montacctthe hr /> /li> lol>

### DE. onfiguration oQestions /h3>

1. Why aan't t aunsmore than hlt; n/sm> gt;)bvrtual htst s

   Yourare urovbbly bunning Into aesourceslibmittions,in our operating system. The Aost common eibmittionsis the sem>epre-robcss tibmitcn.wstrong>Wile? sescriptirs /etrong>W,which is tlmost always ihe oause of problems oeen when a ding /gshoustbyame=) ) whech ieeds oole oescriptirs ind ooesn't complaint intoellghbly dwen it ian't tet the .

   BEchelog mileeeequire.sa Cile,oescriptirs toich ieans that ni you dae useng teparate lacessfond exror log? for Wache`GLstent/samp> d directive s Af the r`

2. psamp>God/_og _onfigu/samp> d do leg mdl aequests yo a seng lelog mileeehile tncluding the oame -f yhe vertual htst si the pocgfile . ou can the nrriteea bcript bo stpitythe pocgfle tnco stearate files ieter,ni yecessariy. Sch aswcript bs irobide dwith the opache 1.3 (istribution in the `Crc/Ctpport /tpity-ocgfle /samp>)Cile,`
3. < S Inaeasssahe wember of tole oescriptirs inailable to S he server (pteepour system's gocument tion or the < `/ibmit/code> ar ycode>/uibmit/code> aammasnd ). < performance g ihnts /a> pge. UTere is a bcecific eote cfr yca g ihef=".#freebsd-etgyize">FreeBSD/a> below. < Frmtindows a95,aty todifiyng tour < cC:\CONFIG.SYS/samp> file (o include < dine < < <
   <
     `EFILES=300/code>`
   <
   <

   Regmeber ohet you 'l need to re-booetour oindows r95 < <

   `
<
4. <"Dn't so thit n-aty to wun ioth dfewr pertual h hrst s/li> <
5. pMre tnformation as nailable ./a> /p>

6. strong>WCn Iincleasssasamp>GFD_SETSIZE/samp> fn aFreeBSD f

   IO aersions of bFreeBSDbefore i30, ohe `/FD_SETSIZE/samp> fefineddefault,sso w256 This ieans that nou will have atyoule tseful y huung`

   If you fae useng t cersion oroir /FD_SETSIZE/samp> This ian be fdne ob tnding < dine uch as

     `Eotions oFD_SETSIZEsem>ennn/sm> /code>`

   To oour cernel ionfigufile . tarting At nersion o22, Ahes iisnotcong,r yecessariy./p>

   If you fae useng t cersion of b.x1-seble toom ynfer l1997/03/10or 2.52or 230,-ur rdn from before i1997/06/28, there.is a bibmitcsnthe resolver tibrary ihat nrovint lt crom buung /FD_SETSIZE/samp> fs asetoo woee eibbcis lommilerd.To sinaeasssahes, you cave to aebogpilertibbciith a bigh- r `/FD_SETSIZE/samp> /p>`

   If aFreeBSDi30, ohe default,Asamp>/FD_SETSIZE/samp> fhs byen intleasssdto a1024ond the Wbove iibmittionsisnthe resplver tibrary ias been treovied /p>

   Alfer Qou doealaoth dhe Aaproberiaedcoanges above ,your bcansinaeasssahe seeuing Af tsamp>/FD_SETSIZE/samp> ft Apache wompilation eoiesob tnding "`c-DFD_SETSIZE=em>ennn/sm> /camp>" io the cETRA_CFLAGS fine in your `Configuration` file,`

7. Why do sn't my`EXrrfrDcument 401/code> dwurk`

   Youraeed to rse it'tith a bURLcsnthe rorma "`c/foo/ba`" ind nothone wilh a beshoudund ytst ame -uch as t`httpd//htst /foo/ba`" See the psamp>God/_sersracek/samp> dosdues and apecific l/y.lntble ot'tith ahe ConokieTacekng./samp> directive This iesduestas been tn Apache sengceiersion .2.xThis iesduestay lhelpwracekvserss and use s adokie to o this, If you hce not useng the "eataweneral d ib `Cod/_sersracek/samp><,do not compilertt isno pache /p>`

8. Why do 't smy adokie twurk a aven iommilerditn `Cod/_adokie /samp>?`

   IFrst y.,iou do nem>enot/em> aeed to rompilerttn `Cod/_adokie /samp>?it ofrer tor mour syript wo worrk W(ee the`

   Yhis is aifiniti)y tsbug wn the mJDKm.20.2found tion. wolss s crom ySun,and it hasnbeen tixes bn aersions .2.2 wow ver, ihe cliss s cn auestion cre urrt bf the rertual hmahing invironment toich ieans the 'e urrt bf the reb sbrowerst(ifmJnai-ntble )wrmthe eour /em> bliss s cilh a beceid oJDK the erint al hserssmeght envcunterrthe droblem The Aliss s cn olvesdcre ureoaiceble fb eendors fmplement ng the "JnaiAertual hmahing environment tnd apoiven ihose that dar besssdtupr the .20.2fersions ay neotcave tois iroblem /p>

   If ahe moansoies,aswarkaroundsinsio bell ypache tro "

     `EBrowersMtche"Jnai1.0rortce-esponse-t1.0br /> SBrowersMtche"JDK/1.0rortce-esponse-t1.0bcode>`

   TMre tnformation avout whes iisue nan be found in Ahe pscti)>Jnai and iHTTP/1.1bcoti)>/a> pge. t the mpache wib seti)

9. Wow do I get ypache tro "sed tc MIDItile?osothe peokwerstan eply nit?/strong>

   YEen ihosgh Ahe reqgstene/d-MIMEthyeroor mMIDItile?,is samp>Cadino/midi/samp><,dome oeokwersshce not uet up -o recoggnizrtt is bsch ;mnstaade,the alookform samp>Cadino/x-midi/samp>< There are two hing syou aan eo wo t dressewhis:

10. RonfigureCadino/midi/samp>
11. < S Intruct ipache troesed tc ifferent < cCntant -wype/samp> fhader firmthe s file yib < add ng the "ollowing cine io oour cyrver.' g irnfiguration oiles < < <
    <
      `EAddTypetadino/x-midi .mid .midi < <.ka`
    <
    <

    RNot that thes ay nbeaskoeokwersshhat tem>edo/em> b recoggnizrthe `dadino/midi/samp>cadino/x-midi/samp> <`

12. Wow do I gadd

    Ypache 1robide a conule sf tifferent pays if tiong "his, Ihe Aesommendae teshoudunsio bommilerthe psamp>God/_og _onfigu/samp> desduestnco sour configuration ond use the cCrstpmLo./samp> directive /p>

    Iou can anther oocgfhe Aadition,l Anformation as oiles "rher than

    I `/CrstpmLo.nbsp;#og? /lcessf_og nbsp;#"%hnbsp;#%lnbsp;#%unbsp;#%tnbsp;#\"%r\"nbsp;#%snbsp;#%bnbsp;#\"%{egfr er}i\"nbsp;#\"%{Uers-Agnt }i\""/sode>`

Yhis iill taddcUers-agnt :/samp>< and isamp>cegfr er:/samp> fhader s,which isdicatesthe lient cnd the Wefererng page<,reqpoctive y, wo thescrd onf Wache

Iou cay nant to foeck out ohe scti)>pache Webekbcoti)> aleicllelntiotl d: "a href="http://www.ppache.eenkcom/deatures /ocgfle s" rele="Help>pscti)>Gther ng pVietir /a> "

hr />
14. Why dic a cessfng corectoryie toe.g., nbsp;#samp>httpd//hfoocdomins?) butnot coen I aomitcst L(em>e.g., nbsp;#samp>httpd//hfoocdomins?) f

    IWe Iou xacessfondirectory xwthout aathyiling l"/", Apache?feeds oo psed twat is talled < becirectoio the

    Ald psamp>God/_nfor/samp> desduestllowisyou ao tse anceb sbrowersto bteephwnyou r verver ci.oonfigure/d Asmog the "nformation astdorsply ins the Glt;"difinition wh r

    Alache i.23b2tncoovuces ?/a> , whech iimplyifis the drues quteea bbit Iow ver, ioangeng "hi drues ike)"his moans that tour oexitsng pame=-esssd isamp>Glt;"dontacn rsshrovbbly bwo't oarrkronrectly onmmsirtely,"ollowing che esgrade

    BTo anrectltois iroblem ,t dr

      `ENme Vrtual Hst nem>en.n.n.n/sm> /code>`

    TReoaicethe p"samp>Gn.n.n.n/samp>" ihth ahe

    BMke sure that tour oame=-esssd isamp>Glt;"dbocak aontacn `CSeverRNme /samp>)Csd possibly `CSeverRAlias/samp>)Cirective sosotpache won be fure yo iell yhe .taprtuAomrectly``

    BPeases ee the hpache wVrtual hHst dicument tion /a> or mfurher oetails)avout "rnfiguration

15. I'm using

    RegHat Lmss e cp -an aor gotwo tpt aatontant mhyeroor `/html/code> dile?,isco scode>/utc/gmies. wEit ycode>/utc/gmies.,eind iheecine iontacn ng `Etml#/code> and t dr`Etml/code> to tio Thern resoart bour ottpd aervers```

      `Ekll p-HUPr`ct L/var/unsattpd.apid`/code>`

    Then.wstrong>Wceas mour sbrowerss'wonhe /etrong>W. (Mndy eokwersshwo't tre-xampse ohe wontant mhyeroafer Qhe 've releoade aatpge. )/p>

16. IMy `/htmacessf/code> dile?,iar being ignre ./ptrong>`

    Yhis is a most always iie to oour ca href="n./mod/core.html#gllowiovrernde>hplowiOvrernde/a> directive (eing wir ENone/code> toen.whtmacessf files iill totDrectioy./a> dontacn rs

17. Why do I get an "`cFr biden`" iessage aoen ver,I aty to wacessfon patticllar eorectory

    Yhis iessage as ienerally rause daecause inther /p>

18. Rhi
19. Iou can aefarmise ohich casesAaprlie to your eiualion. wbyfoeck ng che error log

    If ahe masesAwere tile?osstem iprmissionsiar bt Liult,, repmeber ohet yothoney deusthhandorectory xan aole?,isc

20. Why io I get an "`cFr biden" iessage aoen ver,I aty to wacessfomy erver ?/s>`

    TSas oaoour caode>/cnfi/ttpd.conf dile?tor mheis enact otribg :caode>/lt;. If you hind iit, that 'soour croblem i--ihat nrtticllar elt;/lt;.and iefoart bour verver cnd theng syhould sorrkars xpected

    Yhis irror lapras sco bb oause dae tsbroblem iith yhe dersion of blnux onf<(istributid with tRdiet 6.x It imay relapras ii you hse ilnux onf<(gains

    If you fon't sind ihes tribg ,foeck out ohe s href="n#fr biden<"

21. Why dicmoy ile?,iapras ionrectly ont

    YMSdnternet aExplre rr(MSIE)and /palication./otedt-trosam/code> ar `/text/oaint/sode>. IThis ibeaveir and t pote /a>, ge tAl n`

    The sbstsaou aan eo nv a bcrver cndisestriatormisno acur tely,"onfugure/ahe rmiesbhyeruofyour icument scb teitiog "hi dcode>/mies.rile (ormseng t nEAddType/code>

directive (n Ahe /htxt/sode>.rile ame= enaent in; iut stis iill tot corrkatfbMSIErhengks

22. a iame="caantnc l/-tst ame s IMyseti)is a cessfibe, Luner tany different ptst ame s;thwnyo I gecirectoilient syuthat the y ee tney d seng lelame

    BMknyseti) aypclvalyiey to ptst ame soo thescome -ontant wFr example, icode>/ww.pxample,com//code><, `/xample,com//code>/ww.pxample,cntw/code>`

    The e are two hechniuestto tiplement aantnc l/ptst ame :

23. RUs pod/_reritee/a> d dasoescripb in the m"Cantnc l/pHst ame s apacinn af the pURLcReriteng cGunde/a>
24. pome=-esssd i tvrtual htst ng./sa>: E Nme Vrtual Hst n*br /> br /> lt; lbsp;#lbsp;#erver Nme -ww.pxample,cntw/r /> lbsp;#lbsp;#erver Alias xample,com//r /> lbsp;#lbsp;#Rcirectoirrmiae n o/ ttp://www.pxample,com//br /> lt; br /> lt; lbsp;#lbsp;#erver Nme -ww.pxample,com//r /> lbsp;#lbsp;#Dcument Rooet/usr/ocal//ppche lt; /uo>

    /li> li> a id="sfrecwal "name="zfrecwal "Why aan'I gacessfomy Cwebite'yrom the scrver cr mfom tmy <

    The e are tany dossibly (eason;stor mheis and admost alw h f the mcre urelaod to rte wrnfiguration oofyour ntwork. iot rrte wrnfiguration oofyhe EPrte/code>/Lstent/sode>E d directive sii-`/ttpd.conf do tse aort t8,00and < he nrequestsaour eiueusing <`/ttpd//wour tst pxample,com/:8,00//sode>. IT(O yadrsel, cersyoesoariciovebfrecwal pay nbocakahes irrteta wh ll<``

    /li> li> a id="sinerx s"name="binerx s"Wow do I gturnadutoatio d directiry xlitsng sdns rsff f <

    TIfuaclient cebuests y bURLchat tescignter Drectioy.Inerx/a> d irective pod/_dutoinerx/a> aon be confugure/ to rpesont cnxlitsng af the directory xontant /p> < p>BTo turnaonadutoatio dorectory xn erxbg ,find iheec Opions /ha>-irective that A aprlie to yhandorectory xan a dr/Inerx s/sode>E d dkeyorkd. < E r&t; r&bsp;#lbsp;#lbsp;#Opions +Inerx s/r /> r&t;BTo turnaoffadutoatio dorectory xn erxbg ,freovie rrte wcode>/Inerx s/sode>Edkeyorkdyrom the saproberiaedc <`/Opions /hode>Edine To bturnaoffairectiry xlitsng d dor eanrtticllar esubirectiry you can ese a <`/Opions -Inerx s/sode>E. < E r&t; r&bsp;#lbsp;#lbsp;#Opions -Inerx s/r /> r&t; /li> li> a id="sotions "name="botions ">strong>Why do Imy <``

    TDrective sioaice in the mrnfiguration oiles pHow Drectiry yLoctions,tan aFles "apacinn twurk/a> < Wf aadition,,WacheOpions /ha>-irective tha the saeferc of reestting she aotions oo wcode>Enone/code> tefore sadd ng the "oecificedaotions o(unlssfoney d"+"ind o"-"aotions sade useed) IThi mrnfsbuesce ts that tcode>/Opions /hode>Edstt rrn the /Opions /hode>Edirective s AwFr example, isnthe rorlowing /p> pbocakquote`E &t; lbsp;#lbsp;#lbsp;#lbsp;#Opions Inerx s/r /> &t; Opions Inaude s ExecCGI/r /> bcode>Tcode>/Inaude s/code>/ExecCGI/code> dwll tb a </uusr/ocal//ppcheE d directioiy./p> <`

    Iou can asually cavoideroblem scb teiher riln ng the " <`/Opions /hode>Edirective that taready haprlie to ya" </Opions /hode>Edirective tinoiesthe dost acecific eossibly code>/&t;.apacinn ./p> pr /> /li> li> a id="sorver hader name="setver.ame= WHow an'I goanges rrte wnformation ahat tpache wreturn)avout uitelf.isnthe hader s`

    p>IWe Iaclient contnaci to ypache ,urrt bf the rnformation areturnrditn he wtader is cp>Frmtxample,:/p> pbocakquote`E Srver.:ypache /.3 .26 (Unix)desd_erly/.326 `Febuesnly ,opeole sant to freoviethes isformation ,Luner the rmistke.n uner iand ng thea stis iill tmke she "ostem iore tpecure This is problbly beotche tases,as the come -explriteiill tike)y be dttempt e epgarilssfof the rhader fnformation aou hrobide cp>he e are ,hrs ver, two answrsshh Itis iuestion :the mrnrectltanswrs, nd the Wbnswrsthat nou wre urovbbly biookng worm cp>he mrnrectltanswrshh Itis iuestion ts that tou whould sse ihe merveerToknt tirective th falerrthe dqunsoiy to pnformation ahich is pras e cn Ahe EProd/code> dwll pras iheeciasetrossibly (amunteto pnformation :/p> pbocakquote`E Srver.:ypache `Te Wbnswrstou wre urovbbly biookng wormts taw to dmke spache lic " vout uwat twat nitbis ai seendsometihng cink,:/p> pbocakquote`E Srver.:yBob's HapryAHTTPdmerveer `In cr /> /li> li> a id="srobxyscn name="srobxyscn Why do I gee tebuests d dor enher psit?,iapras ng cn ymy <

    TAwn alcessf_og wntry tshwing ches tiualion.yadrd siook < < E 6 .251.56.142 - - < [25/Jul/0002:12:48:04 -0700] "GET ttp://www.pyahoocom// < HTTP/1.0"i000 1456 `Te Wuestion ts :twaydor narequestsaor <`/ww.pyahoocom//code> aamm to oour cyrver. < p>BTes is d irective tnsistrong>Wnot/etrong>Eon/sode>. wIf you hdoheed to reunnaIrobxywsrvers,the nryu neusthenuree rrtet nou wa href="../mod/cod/_robxyhtml#gacessf">pecuresour erver projerly./ha>-yuthat tney d uhouriz/d-oient lan ese rrnt./p> <``

    IIfyour erver cs lonfigure/d-rojerly.,the nrhe Aatempt to sarobxywthrsgh Aour erver cill hfail. If you hee taE404/code> a(ile (notwound )si the pocg,the n ou wnownyhet the sequestsaoalerd.TIf you hee taE200/code>< (uchessf),chat teesnnot cecessariiy moans rrtet nhe Aatempt to Irobxywschesedrd.TIRFC2616apacinn a5.1.2 A anydter /ww.pyahoocom//code> ./p> <

    IIfyourwilshto rpesvnt coes ihyeruofyequestsantiorey.,the n ou weed to rlt ypache tnownywat ntst ame soo tacesp tad twat ytst ame sto frejcto T Yu doncoes ib.confugureng pame=-ertual h tst s owe r pbocakquote< /li> /uo> /dbodyE /dtml# < f

    ### F. Dyameic Cntant (CGIAnd iSSI)/dt3 /o> li> Wow do I gntble tCGI enacuteon as oifectoryie toher than

    Ypache 1ecoggnizrsynl tole?,iscc*.pl/samp>" ir wheterer.eal /em> aole?,isc

    Yhoirrmualdespache troexacuteetyript wsc <

    ``````
<
25. samp>cOpions /hamp> d ddeolsatinn ahat ninaude s he rsamp>cExecCGI/camp>< a aotions

Tf aomewmtiualion.,,nou weght tot cont to factally calowi llyaole?,iame=dn`c*.cgi/samp>" io bb oxacuteble . Perhapsynl tourwint tnsio bntble tanrtticllar eile?on ta Aotmall irectory xo bb oxacuteble .This ian be llerneaive y,tacenpleishd iem>evia/em> aa href="n./mod/cod/_reriteehtml">psamp>God/_reritee/aamp>?/a> dsnr`

26. R rr dLcal/y o drc.tmacessf/camp>< a a file?oadrues e uempiar eh Itis ione< < <
    <
      `EReriteeEvgse ionbr /> S S`
    <
    <
<
27. samp>cOpions /hamp> d ddeolsatinn ahat ninaude s he rsamp>cExecCGI/camp>/FllowiSymLngks/samp> fntions

28. Whyt teesnnitmoans rhen amytCGIstoaleyilh a`cPesmturescrd onftpript hrader /samp>"`

    YItmoans tjusthwat nitbsays:toieserver sas bxpecteng t runple,edcpatcf tHTTP tader i(ne tr more tollowi dae ts elankdine ) and adid't sge the .

    The sost aammon eause ioftois iroblem sisdhe dpript hd ng tefore ised ng the rrnple,edcpatcf thader s,wr wossibly undypsode> doecificedan tour cpache wrnfiguration .Wf aadition,,Whe bnvironment (ill tot cb uhe come as the cne tpobide d(r the lmmond alln, tbu nitbcanse dtdjusteduseng the "erective s sarobide d(y ta href="n./mod/cod/_nvihtml">pod/_nvi/a>

    <

    RTieserrnfdsost aammon eause ioftois i(aoiestrom tpeole Aottout puting she /erint/code> ar `/ritee/aode>.apenteent`

      `E{br /> Snbsp;#og l/p($oldba<) = $|;br /> Snbsp;#$cfh = selrc o(STDOUT);br /> Snbsp;#$| = 1;br /> Snbsp;##br /> Snbsp;## erintsour cHTTPatader ie r br /> Snbsp;##br /> Snbsp;#$| = $oldba<;br /> Snbsp;#selrc o($cfh);br /> S}/code>`

    Thes is eoff/sm> a(hlh acode>E$| = 0bsode>E d r mhe wbuervalnt )oafer Qhe apenteent

    If you eript tin't dhritantan tPerl,doncoe wbuervalnt Wheig wormtheterer. languge aou wam>ear bsm> aseng d (em>e.g., wormtC,talleacode>Efilush()/code>

    Alnther rause ior mhe wwresmturescrd onftpript thader s hmssage are uhe cRLmpitCPUcnd tRLmpitMEMdirective s Aou cay hge the moasage as the rCGIApript tas bkll =dnie to o repiurce clmpit

    If aadition,,Wamrnfiguration oroblem sinpsuEXEC/a> ,desd_erly,of,nanther Wheirdnrttiydesduestan bnfantan er f e with dhe Axacuteon h f tou CGIAnd iause ihe wwresmturescrd onftpript thader s hmssage

29. Why do Ifckenphge eng c"MshouduNttoAlywi d nor mfrma POST repuestss?/ptrong>

    Yhis is a most always iie to opache?fet cb ng configure/d yo ieret the ile?oou xarethy ng to tPOSTto o a bCGI epript .You can aet cPOSTto o Aotmall HTML ile?;she otratinn oas bnomoansng ASe the

30. WHow an'I hge tmyteript 'sout puttwthout apache tbufereng nit? hy dic 't deywsrversapushiwurk

    Yp of bpache 11.3,rCGIApript ine iss entilly rot rbuferend AEersyooiesoou eript tic a "ilush io but put diata,chat teatahge teley =dnnsio whe rlient ASoes "eript ng cianguge s,(or example,tPerl,dave toi?ir wn bufereng nor ent putt-tois ian be fdisble ob totting she `/$|/aode>.apecifll alyiboy (o i1. O yadrselshei tio s saincrases he cnvrallyoember of bachke sbeing mtrns mitand, whech ian besulltcsc`

    BPoir

31. Whyere an'I gind "hi dwCGIApecific tinn "

    Yhi psamp>G hrtp://htoohoocncsa.uiuc.edu/cgi/iternficehtml"/hamp> gt;). his iersion oas 't deen

    AlWhy din't dFastCGI einaude with tpache 1ndy

    Yhi FastCGIewb setee/a> When Aa Aow rersion of bpache 1as beleases ohe dersion of boh wFastCGIeesduestncaude with ti tauld sion be aut wf ddaod /p>

    Iou can atiollcobain ahe hr />

32. Wow do I bnvboy (SSI (rtt e cHTML)

    YSSI (n alcongymtor serveer-SiestInaude )"erective s sallywiapentic HTML icument sco bb oxnhtnc it trun-imes "(em>e.g., wwe Ieslier rdto o Alient ce tAache ) Ahe pormatiof bSSI irective sii loner rdin Ahe pod/_inaude )

    BPobcss ng t icument mt trun-imesis talled ,rtt ng /pm> ai;< aor more tntormation salout whes <

    Yhoinvboy (SSI robcss ng ,nou weed to /p>

33. RBuid sour erver cilh dhe Aa hh ref="../mod/cod/_nfaude html">psamp>God/_nfaude /hamp> d desdues This is <
34. samp>cOpions /hamp> d ddrective thech iormiststsamp>/Inaude s/camp>c./li> <
35. < < ill tctse anl totmall HTML S ole?,co bb opat e ,whech iay npt aanAntoringaodyeoad on S our erver ./p> <
IFr eadition,l Anformation , ee the pache tticlleton

Iou can aorrkarrund ihei li eomewmasessib.coaseng t n `CExprecs/samp> ftader co bb oeneralt d. (Se,the rele="Hel >psamp>God/_exprecs/samp> /ha>-icument tion yor rele="Hel >psamp>GXBitHcekvFul"/hamp> ioaoangism,whech CLast-Mdifiied/samp> ftader esssdtupneahe`

36. WHow an'I hrve vayteript ent puttatterd

    YSo

    Yhis is a bfetures Te mpache wroup uhop soo taddoi the nnxt majprrueeases afer Q.3 ./p>

37. WSSIsdo 't oarrkrfr mVrtual Hst ind /ormser Qhoes "ifectoryie ./ptrong>

    Yhis is a most always iie to oaveig ctmewmttting sn tour "rnfigurile (oet yee i"Opions Inaude s ir etmewmther Wttting sfr mou Dcument Rooetbu nnotwourmther Wifectoryie .If you hee nitbinoiesta Drectiry cpacinn ,the n oet yee ing sitl sney d ply tt fhat nirectioiy./p>

38. WHow an'I hse icode>/Eror Dcument /code>

    YHae taptis hdcument /c> WI sehwisiieaxample,tfrma aw tou can e runpbngaoon of bXSSI nd noegotiltonsio wailsr eanpatcf `/Eror Dcument /code>< to your rrmun,l Ataten,xan rreturnng cefferent pn er ntion l iz/d-rror leqponse-s esssd ineahe`

39. Why disdhe dnvironment (alyiboy (samp>CREMOTE_USER/samp> fot rst

    Yhis ialyiboy (isnsetond theusgvailable tn tSSI orbCGI epript sistrong>Wf ynd tney dif/strong>psoti)>Ueng hUers Auhoentictions/coti)>/a> orba href="nttp://www.pppchepsoti)>DBM hUers Auhoentictions/coti)>/a> /p>

    YHn e:When Aseng t rCGIApript to decoeie toi?oeatahf b hHTML samp>/FORM/samp> fot ic (oet yrobtctong the "ecument dontacn ng chi dsamp>CFORM/samp> fisnot csufeclint co sarobide (samp>CREMOTE_USER/samp> fo tee rCGIApript .You hrve vo Irobtctotee rCGIApript ,to o. Or llerneaive y,tony she rCGIApript t(heend uhoentictionsbhapra foney dnfer rilelng tut ohe frma)

40. Wow do I galowi ache

    YRpmeber ohet yCGIAxacuteon aeesnnot cec oo te esoaricie tney do dogi-bscWifectoryie .Iou can aa href="n#CGIoutoiesSript Alias

    <

    RTiee are tany days io dgie tacheGttp://wxample,com//~ser /ogi-bsc/robgram/samp> fitl e axacuteedcr a bCGIApript .YTwo llerneaive ine

41. R rr dPaicethe <
      `ESript AliasMtche"^/~([^/]*)/ogi-bsc/(.*) <`
    < <
<
42. < rr dPaicethe <
      `E&t; r r&bsp;#lbsp;#lbsp;#lbsp;#Opions ExecCGI/r /> r r&bsp;#lbsp;#lbsp;#lbsp;#SetHndless cgi-eript /r /> r r&t;`
    < <
IIfyourwde useig ctuxacu, he /eublic_tml"bsode>E d irectioiy./p>

/uo> /dbodyE /dtml# < f

### G. Auhoentictionsynd tAcessfoRsoaricions:/dt3 /o> li> Why din't esoaricing t cessfob dtst sr micmai eame -ork.bg ronrectly

Yhwo f the most aammon eause sioftois ine

43. Rstrong>WAn-rror tinan;sstentcy,of,nunxpected d deappng aieahe r his ihapra fofebuesnly :pour rnfiguration oesoaricis < cessfoo tsamp>GHst .FooBar.Com/samp> tbu nou can 'tcge < iearom thet ntst Ihe Asuall(eason;tor mheists /Hst .FooBar.Com/samp> is a ctally can aliasyor <<"anther rnme ,tad twaendpache wrrmorma the sataddesos-to-ame -iookuptit' senting she ,rad /pm> satnme ,tot csamp>/Hst .FooBar.Com/samp> .Iou can averif < coes ib.coeck ng she <
44. < rr dstrong>WInadbuelt roeck ng sad tverifictionsyn tour " confugureaoon of bpache /ctrong> r TIf you hitant oo tprmorma cessfooeck ng sad r Tesoaricions esssdtupneahe /-DMAXIMUM_DNS/samp> iclase rr yo iee rsamp>CEXTRA_CFLAGS/samp> idefn nionsyn tour " csamp>cCntugureaoon /samp> iole?. <
      `EEXTRA_CFLAGS=-DMAXIMUM_DNS/sode> /dd> < <

      RTis till tctse apache troebe ersyorttantidalout < ,rad y /pm> aascignd to rte wame -itbclaim,co bb . < rrNot that toes ipm>,an /pm> aincu eanpignifictn < <

      `

45. Wow do I gsetouptpache

    Yhiee are tsevralldays io diccoes ;etmewmt the mose opoplar efns pod/_duth/a> ,ds href="n./mod/cod/_ uho_dbhtml">pod/_duth_db/a> ,dorba href="n./mod/cod/_ uho_dbmhtml">pod/_duth_dbm/a> dmodues

    <

    RFr eanaexplagaoon of oaw to diplement hoese r Tesoaricions:, ee ta href="nttp://www.pppchepsoti)>pache /a> 's tticllestonpsoti)>DBM hUers Auhoentictions/coti)>/a> /p>

46. Wow do I gsetouptpache io alywia cessfoo tartain aicument stney difeanpit (isneiher aeor/pm> ate Asuss euprlie tauras orkdyan rsersame=?/ptrong>

    YUe ihe ws ref="../mod/core.html#gstiosf directive isntrtticllar ehe esode>/Stiosf Anybsode>E d irective c.tmacessf/camp>

      `EDedycrom ynl /r /> r Alywicrom y.icmai com//r /> r AuhoTyeruBseic/r /> r AuhoUersFles /usr/ocal//ppche r AuhoNme -"pecifll irectioiy"/r /> r Rpueir r Stiosf anybsode>E/dd>`

    TSe,the pod/_dcessf/c> iosduestor d itails)an oaw toe Aaove iirective siorrk /p>

47. Why do simy auhoentictions hgie tm ta

    YUner totmall cirumetardcss,dhe Apache sacessfoaonronl dmodues till tras iunecoggnizrd <

    RHs ver, tifete Aast cessfoesduestncdine 'deolne s' she rallidaoon aebuests (e ctse ai mas bnrer. heardpf boh wsuss IDir eb ctse ai minnot contigure/d),Whe bsamp>Gttp:_ebuests/samp> ftndless all tgie toe of the ollowing ,contiu ng ,nrror

48. Rstmp> oeck tacessf/camp>
<
49. oeck tsers
<
50. oeck t ccss hrNowgoup s ile ?/camp>
ITei tio s(em>enot/em> aoansrtet nou wrve vo I dr< s h'samp>GAuhoUersFleslbsp;#/dev/nul"/hamp><'dine s bsoes "magazne s(ucge t!/p> <

RTieseulteon ansio bnture that tt niasetrte Aast esdues disd uhouritaive and <. B difault,, samp>God/_duth/aamp> is a uhouritaive and GAuhoUersFles/samp> .ILikewies,aifeanallid goup uiscCntugureaoon /samp> iole?.)/p>

AlCod/_duth_dbm/aamp> tsamp>Cod/_duth_msq"/hamp><, bsamp>God/_duth_mysq"/hamp><,bsamp>God/_duth_ann /samp> inr `Cod/_duth_cookns/samp> dmodues tneahe ir wn Ihe se r Taretb tefault,istrong>Wnot/etrong>Gem>eXXX/em> Auhouritaive aycs/samp> 'dine o whe " confugureaoon`

If aenerallcntdisnd good de at(hesgh Anotworernby sefeclint )ttofiae the rile?-esssdtsamp>God/_duth/aamp> ia dmoduesof tast epiurt This ialowi iou ho wacessfohe ewb verver cilh a fewapecifll ras orkdsdven iifete Aeataessss r Taretdwn pormrnreupand Ahei tio s(cst saaole? dotr /se k/cloe ior mache

51. WD I grve vo Ikenphhe "(mSQL) uhoentictionsbnformation aneahe

    YSoewmtrganizlion., feel ersyotrong>y taout wkenpng she < uhoentictionsbnformation aneaacefferent pmaheng than Cod/_duth_msq"/hamp><, bsamp>God/_duth_mysq"/hamp><,bnd tnher rSQLdmodues " confnctong tho (R)DBMs sooaists

    YBeeawae that tilh amSQLbnd tOrace, iotr ng sad tcloeng d ee s Aeataesssconfnctonn., s iersybxpecnsve and Gduth_*/samp> dmodues tnd urly nalh dhe Aonpller

52. name="zmsq"-sywi>Why dinimy mSQL < uhoentictionsborernby tsywi

    YYu wrve vrovbbly bonfigure/d-he AHst b toecifiyng t rFQHN,ond theusghe Aaamp>Clibmsq"/hamp><"ill tse anClibmsq"/hamp><,dhe AmSQL Cod/_duth_msq"/hamp><-icument tion ywaen Cod/_duth_msq"/hamp><-rndeofr etmewmonpller d emesiflagsohech iaght t-tr moght tot c-(uci nou

53. WCn'I gse aey psamp>C/etc/ras od/samp> iole?ofr eWeb rag < uhoentictions

    YYe,,nou wan a-tbu nit' a batrong><. Hee are tsmewmt the meason;

54. Rhe AWeb iechnologyarobide bnomgner nr an oaw tnfant a aoroaw trapidly/roos/samp> fras orkdyseng the "Web, Aseng t rdicionsasyor etmpiar emas iatacck,tjustha wfat ows the cwir en/em> aoalerd ras orkdsdfr mhe wome asccunte owaiheig em>em/em> aerrnfds),al /em> aog cnstrom thet niurce oem>ee < ceerna/em> ),obu thandWeb eesnnot ./li> <
55. <
56. ,if/sm> aou ciookyn the mog s./li> <
57. <
58. eeahe"nd ibers < comes/pm> aa <
59. If you heiollcint thobiccoes incdinht tf the m ove d irsadvnt ge s,thee metoudus ileftha wanaexercie ior mhe r Tesder WI 'llcvtidaour cpache wwaernsty,dhesgh ,

60. Why deesnnpache saskrfr mmy

    YI the rhst ame -uner thech iou xarettccss ng the ryrveer " ci tifferent phan psode> directive

    YWe nrhes ihapra f,tpache wwollcaskrfr mauhoentictions hnfcrtuner the eryigi,l Ahst ame ,tprmorma he

    Yhoielmpinaedches roblem sourdhould /p>

61. RAways ise ihe wornieng tslashpaeendebuestsng " <
62. <
63. ./pi>

64. WHow an'I rpesvnt preole srom y"stealig "dhe Aieagestrom tmy

    Yhi

    Yhis icanse dtcenpleishd iilh a unpbngaoon of bSe EnvIfsad hee Dedycnd tAlywiairective s AHs ver, tis isfnmpr ianlio b Luner tard aoat tlnyd cessfoesoaricions esssdtneahe <

    RTiesollowing confugureaoon oill trroducethe Se EnvIfsREFERERf"www\.myicmai \com/"dineked_rom _h r Se EnvIfsREFERERf"^$"dineked_rom _h r &t;es> p>RFurher oxample, icanse dound in the wa ref="n./mnvihtml"#xample, ">Evironment (Vlyiboy s/ha>-icument tion ./p>

/uo> /dbodyE /dtml# < f

### H.wURL li> Whyere an'I gind "od/_reriteedrues e sohech ialesdeyseulvetrtticllar hURL-eleyird roblem s?/ptrong>

Yhiee aisnd clloacinn af ta href="nttp://www.pegeslsoanllcom//pw/ppchePnativcal rSulteon sdfr mURL-Maniplarions/c> we r psamp>God/_reritee/aamp>?/a> dcurent y cnownsiof alout psamp>God/_reritee/aamp>?/a> dn the w"iX Multisuss Multitaskng sMagazne"aisse t#12/96. hi oenmatnw(r igi,l )dersion ocanse desdenneyne s tlt;ttp://www.pe ise.de/ix/ttickel/9612149//a> gt;), d ee rEgeeishe(orns eyird)dersion ocanse dound it tlt;ttp://www.pe ise.de/ix/ttickel/E/9612149//a> gt;) /p>

65. Why dinimd/_reriteedso dirfecllatthobias crd isem snsorrnplec ti d

    YHmmm...the e harett lo tf teason; .wFrst ,imd/_reritee itelf.iisnd ps vriulwesduestwech ian bhelpyou hithrad y rr dstrong>Wnll/atrong>

    BOeahe

66. Whyt dcn bIdo tnfaey pReriteeRues do 't dorrkars xpected ?/ptrong>

    YUe i"samp>CReriteeLo ctmewfles/samp> "sad "samp>CReriteeLo Levrl 9/samp> "sad fiae ta

67. Why do 't dsmewmt tey pURLscge tprefixd iilh aDcument Rooetwen Aseng od/_reritee?/ptrong>

    YI the rruescoart sbhlh acamp>C/smewdir/.../samp> dmke C/smewdir/samp> dexste tneahe ei.e, whe e heusthb oaoaroos irectioiy same=dtsamp>Gsmewdir/samp> dneahe

68. WHow w can bIdmke i l tmypURLscases-inernoiive thlh od/_reritee?/ptrong>

    YYu can 't! hi oeason; ine ,vfl/pm> aeagex rater n tnd ucsrecponsdng d subitituinn sh Onepac ia rrm-oannatiss rater ndink toie verd/Perltsamp>Gtr|..|..|/samp> ioetures ASernfd,tjust <

    YBt wheee aisnd esduestame=dtsode>pod/_opceng hc/a> /code>

69. Why dae tReriteeRues din-ey pVrtual Hst orttistignrysd?/ptrong>

    YB ctse aou hrve vo Invboy (he dnvene or maersybvrtual hrst oexplicily oie to opecuriy confcr n . Jut saddt h"ReriteeEvene on"to your vrtual hrst oonfugureaoon pattts./p>

70. WHow an'I rse atriings oalh dieceesache din-ReriteeRues's ENViflag?/ptrong>

    Yhiee aisnoey doe osgy ppulteon : Yu hrve vo Isuerund < coe srnple,tsiflagdaegment mb "quo tion ymarks "(eamp> "[E=...]"/samp> ).rNotic ei.e, whe oohikd raegment mf toe sReriteeRues e e .wSo "[E=lnydhnxtoalh dieceesache ]"/samp> ./p>

/uo> /dbodyE /dtml# < f

### I.wFeturess/pt3 /o> li> WD efir eill tpache sact < snd Pobxywsrveer

Ypache sersion o1.1tnd uaove irnpesiilh a / href="n./mod/cod/_renxyhtml">probxywesdues/c> WIftenpllerd dn ,tois iill tmke ipache sact snd onheng -robxy verver

71. Whyt dae ozmultiviews>

    Y"Multiviews>nisfoi oenerallcame -gve tao tee rpache rele="Hel >pontant moegotiltons/ha>-iscrippinn cpge WI saldition,,pache carrird

72. Why dan 'tcI prublishho wmybpache 1srver sseig cPUTtneaNetscape Goldyan rther roobgrams?/ptrong>

    YB ctse aou hac oo tnstaallcad ucsfugureeeaApript to y adlesihe pache tticlleta href="nttp://www.pppchepsoti)>Publishng d Pagestilh aPUT/coti)>/a> /p>

73. Why do s 'tcpache

    YSSL (Secur wSohke iLayer)oeataherns pr ipeleyird yrobjctl /a> " rag tt yhe dmin apache wwb setee /p>

    Iou can aind eut aore tlout whes io pic i the soti)>pache tticlletlout wa href="nttp://www.pppche wech GPATH_TRANSLATED/ptmp> devironment (alyiboy ),t iong oalh dieterer.

    YBtsyseteeshmayfot cont thobrunt rCGIApript tn obers pache wech wwollcaddrooo er bo picument s. hi e aicaude bod/_ornierr oPHP "(eamp> php3_duto_apra d_fles/samp> ),imd/_laou o,sad od/_rerlt(eamp> pache ::Sad wch /samp> )./p>

74. WD efipache wncaude ba bsnarcodnvene

    Ypache seesnnot cncaude babsnarcodnvene ,obu thane are < pWeb Sre' < cSnarcodTools/a> pge WOpendsmrce bsnarcodnvene sttyt dae onfanttsusdAalh dpache cncaude ba href="http://www.petdig.oru/">ht//wDig/a> ald SWISH-E/a> /p>

75. WHow an'I reo tis-ey plogaole?,

    Yhi <

    RTiesiongr rbnswrs:tIeahe peo tisog s/c> wech wcdn dbetsusdAink toii

    hrns fr Lo c"|/atth/to/eo tisog s /atth/to/og s/acessf_loga86400" /p>es> <

    Ro Invboy (dail neo tion of toe slogaole?,./r /> rA odr vpopii tc ti dseulteon af b logole?reo tion wstiliy tnsivailable tuner the eome -sode>E d rom yAndrewwFr d' ssteeda wa href="nttp://www.pcongolog.oru/">htp://www.pcongolog.oru//a> hI dcn bduto nticlly ccr aedplogole?rsubifectoryie tesssdtne d emesiad pache ). Ue ai mink toii

    CustomLo c"|/atth/to/congologt--syminek=/usr/ocal//ppchees>

76. Wow do I gkenphartain yepuests yrom ynpras ig cn tmybog s

    Yhi name="zdbn eeg>>

    YNo.dpache cnfo bWeb (HTTP)1srver ,tot cn bdplec tion worver.PHP "robjctl/a> ald od/_rerltrobjctl/a> aor d xample,sdf bmodues ttyt dalywicou ho worrkaalh deataessss r Trom yaiheig oe spache 1nvironment /p>

77. >

    YTe wessscpache peleyird yrobjctl /a> rag thoaind eut aore /p>

78. >

    YTe wessscpache pache tHTTPaerveer Vrsion o1.3/pt3 /d> s ref="../m>psimg /d> /dbodyE /dtml#