httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: config/2326: AccessConfig and ResourceConfig redirect to nul fails
Date Sun, 31 May 1998 17:23:16 GMT
Hmmm... The only "non-file" config-file that can be opened is
'/dev/null'. Sounds like under Win32 it's called something
else? Maybe just 'nul' ??

If so, this is easy to change. What's the NT equivalent of /dev/null ??

Rodent of Unusual Size wrote:
> 
> This is a multi-part message in MIME format.
> --------------091B5DAD196F6F8F28F200CC
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Weren't we looking for a case in which the special device files
> would bite our bums?  Well, guess what..
> 
> So how *would* one nullify the {Access,Resource}Config directives?
> Point them to zero-length files?  Ugly..
> 
> #ken	P-)}
> 
> Ken Coar                    <http://Web.Golux.Com/coar/>
> Apache Group member         <http://www.apache.org/>
> "Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>
> --------------091B5DAD196F6F8F28F200CC
> Content-Type: message/rfc822
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Return-Path: <apache-bugdb-owner-coar=decus.org@apache.org>
> Received: from DECUS.Org (Topaz.DECUS.Org [192.67.173.1])
> 	by Mail.Golux.Com (8.8.5/8.8.5) with ESMTP id LAA02441
> 	for <Ken.Coar@Golux.Com>; Sun, 31 May 1998 11:18:37 -0400
> Received: from hyperreal.org (taz.hyperreal.org) by DECUS.Org (PMDF V4.2-13
>  #26234) id <01IXOJM0H7LS8WZG4B@DECUS.Org>; Sun,
>  31 May 1998 11:20:10 -0400 (EDT)
> Received: (qmail 7713 invoked by uid 6000); 31 May 1998 15:20:02 -0000
> Received: (qmail 7703 invoked by uid 2001); 31 May 1998 15:20:00 -0000
> Received: (qmail 6986 invoked by uid 2012); 31 May 1998 15:14:11 -0000
> Date: Sun, 31 May 1998 15:14:11 +0000
> From: John Hansen <sasjwh@wnt.sas.com>
> Subject: config/2326: AccessConfig and ResourceConfig redirect to nul fails
> Sender: apache-bugdb-owner@apache.org
> To: apbugs@hyperreal.org
> Reply-to: sasjwh@wnt.sas.com
> Message-id: <19980531151411.6985.qmail@hyperreal.org>
> Content-transfer-encoding: 7BIT
> X-Send-Pr-Version: 3.2
> Precedence: bulk
> 
> 
> >Number:         2326
> >Category:       config
> >Synopsis:       AccessConfig and ResourceConfig redirect to nul fails
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Sun May 31 08:20:00 PDT 1998
> >Last-Modified:
> >Originator:     sasjwh@wnt.sas.com
> >Organization:
> apache
> >Release:        1.3.b7
> >Environment:
> Windows NT 4.0 sp3
> >Description:
> If I combine all .conf files into httpd.conf and put the following statements in httpd.conf
> # allow all 3 config files to reside in httpd.conf
> AccessConfig /dev/null
> ResourceConfig /dev/null
>  or 
> AccessConfig nul
> ResourceConfig nul
> 
> I get the following type of errors:
> [c:\apache]apache -S
> [Sun May 31 10:59:18 1998] [error] Access to file c:/apache/nul denied by server: not
a regular file
> 
> fopen: No error
> httpd: could not open document config file c:/apache/nul
> 
> [c:\apache]apache -S
> fopen: No such file or directory
> httpd: could not open document config file /dev/null
> 
> Under 1.3b6 redirecting to nul worked fine
> 
> 
> >How-To-Repeat:
> 
> >Fix:
> No
> >Audit-Trail:
> >Unformatted:
> [In order for any reply to be added to the PR database, ]
> [you need to include <apbugs@Apache.Org> in the Cc line ]
> [and leave the subject line UNCHANGED.  This is not done]
> [automatically because of the potential for mail loops. ]
> 
> 
> 
> 
> --------------091B5DAD196F6F8F28F200CC--
> 
> 


-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message