httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@ibm.net>
Subject Re: Odd exception under Win32
Date Sat, 17 Jun 2000 21:33:09 GMT
> From: "William A. Rowe, Jr." <wrowe@lnd.com>
> Date: Sat, 17 Jun 2000 16:08:00 -0500
> 
> Any ideas?
> 
> [Sat Jun 17 15:57:33 2000] [crit] [client 127.0.0.1] (3)The system cannot find 
> the path specified.  : /apache/.htaccess pcfg_openfile: unable to check htaccess
> file, ensure it is readable
> 
> (e:)/apache/ path exists, there is no .htaccess... hmmm...
> 
> Bill

>From the trace, it seems that 

1) error code is 3
2) ap_getfileinfo() is failing inside pcfg_openfile() (or you would have posted the previous
   trace message)

ap_getfileinfo() uses stat() on Win32 which sets errno, so
ap_getfileinfo() returns errno.  We then canonicalize the error, but
this is Win32 so we don't think it is errno and for this and other
reasons it isn't turned into APR_ENOENT or APR_ENOTDIR, which is what
ap_parse_htaccess() allows without complaint.

3 is ESRCH with MSVC++, by the way...

Fun, huh?

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message