ONLamp.com
oreilly.comSafari Books Online.Conferences.
Articles Books & Videos School of Technology  

FAQS
 FAQs
Apache FAQ
Linux FAQ
XML FAQ

Log in to particpate



Apache FAQ

A. Background
What is Apache?
How and why was Apache created?
Why the name "Apache"?
OK, so how does Apache compare to other servers?
How thoroughly tested is Apache?
What are the future plans for Apache?
Whom do I contact for support?
Is there any more information available on Apache?
Where can I get Apache?
May I use the Apache logo on my product or Web site?
B. General Technical Questions
Why can't I ...? Why won't ... work?" What to do in case of problems
How compatible is Apache with my existing NCSA 1.3 setup?
Is Apache Year 2000 compliant?
How do I submit a patch to the Apache Group?
Why has Apache stolen my favourite site's Internet address?
Why am I getting spam mail from the Apache site?
May I include the Apache software on a CD or other package I'm distributing?
What's the best hardware/operating system/... How do I get the most out of my Apache Web server?
What are "regular expressions"?
Why isn't there a binary for my platform?
C. Building Apache
Why do I get an error about an undefined reference to "__inet_ntoa" or other __inet_* symbols?
Why won't Apache compile with my system's cc?
Why do I get complaints about redefinition of "struct iovec" when compiling under Linux?
I'm using gcc and I get some compilation errors, what is wrong?
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.
D. Error Log Messages and Problems Starting Apache
Why do I get "setgid: Invalid argument" at startup?
Why am I getting "httpd: could not set socket option TCP_NODELAY" in my error log?
Why am I getting "connection reset by peer" in my error log?
The errorlog says Apache dumped core, but where's the dump file?
When I run it under Linux I get "shmget: function not found", what should I do?
Server hangs, or fails to start, and/or error log fills with "fcntl: F_SETLKW: No record locks available" or similar messages
Why am I getting "Expected </Directory> but saw </Directory>" when I try to start Apache?
I'm using RedHat Linux and I have problems with httpd dying randomly or not restarting properly
I upgraded from an Apache version earlier than 1.2.0 and suddenly I have problems with Apache dying randomly or not restarting properly
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?
When I try to start Apache for Windows, I get a message like "Unable To Locate WS2_32.DLL...". What should I do?
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?
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?
E. Configuration Questions
Why can't I run more than <n> virtual hosts?
Can I increase FD_SETSIZE on FreeBSD?
Why doesn't my ErrorDocument 401 work?
Why does Apache send a cookie on every response?
Why don't my cookies work, I even compiled in mod_cookies?
Why do my Java app[let]s give me plain text when I request an URL from an Apache server?
How do I get Apache to send a MIDI file so the browser can play it?
How do I add browsers and referrers to my logs?
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)?
Why doesn't mod_info list any directives?
I upgraded to Apache 1.3 and now my virtual hosts don't work!
I'm using RedHat Linux and my .htm files are showing up as HTML source rather than being formatted!
My .htaccess files are being ignored.
Why do I get a "Forbidden" message whenever I try to access a particular directory?
Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server?
Why do my files appear correctly in Internet Explorer, but show up as source or trigger a save window with Netscape?
F. Dynamic Content (CGI and SSI)
How do I enable CGI execution in directories other than the ScriptAlias?
What does it mean when my CGIs fail with "Premature end of script headers"?
Why do I keep getting "Method Not Allowed" for form POST requests?
How can I get my script's output without Apache buffering it? Why doesn't my server push work?
Where can I find the "CGI specification"?
Why isn't FastCGI included with Apache any more?
How do I enable SSI (parsed HTML)?
Why don't my parsed files get cached?
How can I have my script output parsed?
SSIs don't work for VirtualHosts and/or user home directories.
How can I use ErrorDocument and SSI to simplify customized error messages?
Why is the environment variable REMOTE_USER not set?
How do I allow each of my user directories to have a cgi-bin directory?
G. Authentication and Access Restrictions
Why isn't restricting access by host or domain name working correctly?
How do I set up Apache to require a username and password to access certain documents?
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?
Why does my authentication give me a server error?
Do I have to keep the (mSQL) authentication information on the same machine?
Why is my mSQL authentication terribly slow?
Can I use my /etc/passwd file for Web page authentication?
Why does Apache ask for my password twice before serving a file?
H. URL Rewriting
Where can I find mod_rewrite rulesets which already solve particular URL-related problems?
Where can I find any published information about URL-manipulations and mod_rewrite?
Why is mod_rewrite so difficult to learn and seems so complicated?
What can I do if my RewriteRules don't work as expected?
Why don't some of my URLs get prefixed with DocumentRoot when using mod_rewrite?
How can I make all my URLs case-insensitive with mod_rewrite?
Why are RewriteRules in my VirtualHost parts ignored?
How can I use strings with whitespaces in RewriteRule's ENV flag?
I. Features
Does or will Apache act as a Proxy server?
What are "multiviews"?
Why can't I publish to my Apache server using PUT on Netscape Gold and other programs?
Why doesn't Apache include SSL?
How can I attach a footer to my documents without using SSI?
Does Apache include a search engine?
How can I rotate my log files?
How do I keep certain requests from appearing in my logs?
Does Apache support any sort of database integration?
Can I use Active Server Pages (ASP) with Apache?
Does Apache come with Java support?

Contact UsMedia KitPrivacy PolicyPress NewsJobs @ O'Reilly
Copyright © 2000-2006 O’Reilly Media, Inc. All Rights Reserved.
All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.
For problems or assistance with this site, email