You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gunther Birznieks <gu...@clark.net> on 1998/08/27 16:45:52 UTC

os-windows/2915: directive does not work in httpd.conf

>Number:         2915
>Category:       os-windows
>Synopsis:       <Files> directive does not work in httpd.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 27 07:50:00 PDT 1998
>Last-Modified:
>Originator:     gunther@clark.net
>Organization:
apache
>Release:        1.3.1
>Environment:
NT SP3, Downloaded Binary
>Description:
I am getting the following error upon startup when I try to add
a <Files> directive to my HTTPD.CONF under 1.3.1 Apache for Win32

[Thu Aug 27 10:11:14 1998] file .\os\win32\util_win32.c, line 66, assertion "s >
= szFile && "this is a known bug"" failed
>How-To-Repeat:
Add anything that is a files directive to httpd.conf

eg I first tried this with mod_perl for Win32:

<Files *.perl>
   SetHandler perl-script
   PerlHandler Apache::Registry
   PerlSendHeader On
   Options +ExecCGI
</Files>

This is not just a mod_perl issue though-- it also does not work when 
I disable mod_perl and try other <Files *.perl> directives.
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> 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!         ]