While Apache is for the most part a drop-in replacement for NCSA's httpd, there are a couple gotcha's to watch out for. These are mostly due to the fact that the parser for config and access control files was rewritten from scratch, so certain liberties the earlier servers took may not be available here. These are all easily fixable. If you know of other problems that belong here, let us know.
Please also check the known client problems page.
AuthGroupFile
-specified group file format allows commas between user names - Apache does not.AuthType, AuthName, AuthUserFile
or AuthGroupFile
. None of these are needed (or appropriate) for restricting access based on client domain. When Apache sees AuthType
it (reasonably) assumes you are using some authorization type based on username and password. Please remove AuthType
, it's unnecessary even for NCSA.OldScriptAlias
is no longer supported.exec cgi=""
produces reasonable malformed header responses when used to invoke non-CGI scripts.include virtual
, or use exec cmd=""
instead.<VirtualHost>
treats all addresses as "optional" (i.e., the server should continue booting if it can't resolve the address). Whereas in NCSA the default is to fail booting unless an added optional
keyword is included.OnDeny
; use ErrorDocument
instead.HostnameLookups minimal
. minimal
is not an option to HostnameLookups
.referer
directive. See PR#968 for a few brief suggestions on alternative ways to implement the same thing under Apache.AddType
directive cannot be used to set the type of particular files. Instead, you can scope you directives using <Files> blocks.More to come when we notice them....