>Number:         4212
>Category:       config
>Synopsis:       The "Order" directive does not recognize whitespace in a 
>config file.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Apr  8 13:20:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.6
>Environment:
Solaris 2.6 running source compiled on Solaris 2.5.1 with GCC 2.8.1.
>Description:
Inside a <Directory> directive, this does not work (crashes the server with an
appropriate error):

  Order Deny, Allow

Simply eliminating the space fixes the problem:

  Order Deny,Allow
>How-To-Repeat:
<Directory "/path/to/my/htdocs">
  AllowOverride None
  Order Deny, Allow
  Deny from All
  Allow from mydomain.com
</Directory>

  
>Fix:
Simple matters of contiguous whitespace (on a single line) should not confuse
the config file parser.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to