httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christof Damian <dam...@mediaconsult.com>
Subject Re: cvs commit: apache-1.3/src/main http_config.c
Date Sat, 26 Sep 1998 10:44:35 GMT
"Roy T. Fielding" wrote:
> 
> >> +  *) Non-existant .htaccess files being returned as FORBIDDEN instead
> >> +     of not-existing. [Roy Fielding]


This might be connected to this problem: I am trying to upgrade one of our
linux server from apache 1.3b6 & php 3.0 to apache 1.3.2 and php 3.0.4. I
used the attached fix to make the htaccess problem go away (the fix from
dist/patches didn't work somehow).

but i still have a problem. On some sites I use URLs like "/car.php3/12345"
to pass parameters (instead of "/car.php3?id=12345") and get the
information via PATH_INFO. Now all this pages give me a forbidden message.
I guess apache is looking for "/car.php3/.htaccess" and gives an error,
because it can't find it. Does anybody know about this problem ? is there a
fix ?

damian


*** Ohttp_config.c      Fri Sep 25 13:26:55 1998
--- http_config.c       Fri Sep 25 11:40:57 1998
***************
*** 1247,1253 ****
        *result = dc;
      }
      else {
!       if (errno == ENOENT || errno == ENOTDIR)
            dc = NULL;
        else {
            ap_log_rerror(APLOG_MARK, APLOG_CRIT, r,
--- 1247,1253 ----
        *result = dc;
      }
      else {
!       if (errno == ENOENT || errno == ENOTDIR || (!access_name[0]))
            dc = NULL;
        else {
            ap_log_rerror(APLOG_MARK, APLOG_CRIT, r,



-- 
Christof Damian                
Technical Director
http://mediaconsult.com/

Mime
View raw message