httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zeev Suraski <bour...@netvision.net.il>
Subject Re: [PHP3] Re: Apache 1.3.2, nonexistent .htaccess file error
Date Thu, 01 Jan 1970 00:00:00 GMT
Roy, I didn't manage to find your personal Email address, so I assume
you're reading this mailing list :)  It may be of interest to others as
well.  The patch you suggested does solve the problem.

Zeev

>Delivered-To: bourbon-php3@bourbon.netvision.net.il
>Mailing-List: contact php3-help@lists.php.net; run by ezmlm
>Delivered-To: mailing list php3@lists.php.net
>X-Mailer: exmh version 2.0.2 2/24/98
>To: rasmus@lerdorf.on.ca (Rasmus Lerdorf)
>Cc: php3@lists.php.net
>Subject: Re: [PHP3] Re: Apache 1.3.2, nonexistent .htaccess 
> file error
>Date: Fri, 25 Sep 1998 09:57:37 -0500
>From: Mark Malecha <mark@pathology.utmem.edu>
>
>
>rasmus@lerdorf.on.ca said:
>> A message from Roy Fielding on this bug.  Could someone  with the
>> problem please try this and report back to the  list?
>
>> In article <6ufhnn$b5j@kiwi.ics.uci.edu>, you say...
>> In <L4CO1.486$u27.2059611@news.san.rr.com> sean dreilinger
>> <sean@durak.san.rr.com> writes:
>> 
>> >  [Thu Sep 24 17:07:43 1998] [crit] [client 205.188.154.129] /
>> .htaccess
>> >  pcfg_openfile: unable to check htaccess file, ensure it is readable
>> 
>> Please try the following patch and let me know if it fixes the
>> problem.
>> Apply it to the src/main/http_config.c file.
>> 
>> ....Roy
>> 
>> Index: http_config.c
>> ===================================================================
>> RCS file: /home/cvs/apache-1.3/src/main/http_config.c,v
>> retrieving revision 1.128
>> diff -u -r1.128 http_config.c
>> --- http_config.c	1998/09/21 21:09:47	1.128
>> +++ http_config.c	1998/09/25 07:41:49
>> @@ -1229,7 +1229,10 @@
>>  	filename = ap_make_full_path(r->pool, d, w);
>>  	f = ap_pcfg_openfile(r->pool, filename);
>>      }
>> -    if (f) {
>> +    if (!access_name[0]) {
>> +	dc = NULL;
>> +    }
>> +    else if (f) {
>>  	dc = ap_create_per_dir_config(r->pool);
>>  
>>  	parms.config_file = f;
>>  
>
>Yes, this patch fixed the problem!
>
>Thank you very much.
>
>                    ---------  Mark Malecha
>                    ---------  mark@pathology.utmem.edu
>
>
>
>--
>PHP 3 Mailing List   http://www.php.net/
>To unsubscribe send an empty message to php3-unsubscribe@lists.php.net
>To subscribe to the digest list:  php3-digest-subscribe@lists.php.net
>For help: php3-help@lists.php.net  Archive:
http://www.php.net/mailsearch.php3
>
>
>
--
Zeev Suraski   <zeev@php.net>
For a PGP public key, finger bourbon@netvision.net.il

Mime
View raw message