You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@lnd.com> on 2000/06/17 23:08:00 UTC
Odd exception under Win32
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
Re: Odd exception under Win32
Posted by Jeff Trawick <tr...@ibm.net>.
> From: "William A. Rowe, Jr." <wr...@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...