Re: cvs: php4 /sapi/apache2filter sapi_apache2.c

From: Date: Thu, 10 Apr 2003 11:32:53 +0000
Subject: Re: cvs: php4 /sapi/apache2filter sapi_apache2.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20210@lists.php.net to get a copy of this message
You should be using the apache2handler instead..so please make the change there too. (this filter thing is obsolete..) --Jani On Thu, 10 Apr 2003, Stanislav Malyshev wrote: >stas Thu Apr 10 07:28:54 2003 EDT > > Modified files: > /php4/sapi/apache2filter sapi_apache2.c > Log: > make Apache define SG(request_info).path_translted, like Apache 1 did. > > >Index: php4/sapi/apache2filter/sapi_apache2.c >diff -u php4/sapi/apache2filter/sapi_apache2.c:1.107 >php4/sapi/apache2filter/sapi_apache2.c:1.108 >--- php4/sapi/apache2filter/sapi_apache2.c:1.107 Fri Mar 28 23:52:46 2003 >+++ php4/sapi/apache2filter/sapi_apache2.c Thu Apr 10 07:28:54 2003 >@@ -18,7 +18,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: sapi_apache2.c,v 1.107 2003/03/29 04:52:46 sterling Exp $ */ >+/* $Id: sapi_apache2.c,v 1.108 2003/04/10 11:28:54 stas Exp $ */ > > #include <fcntl.h> > >@@ -383,6 +383,7 @@ > SG(request_info).query_string = safe_strdup(f->r->args); > SG(request_info).request_method = f->r->method; > SG(request_info).request_uri = safe_strdup(f->r->uri); >+ SG(request_info).path_translated = safe_strdup(f->r->filename); > f->r->no_local_copy = 1; > content_type = sapi_get_default_content_type(TSRMLS_C); > f->r->content_type = apr_pstrdup(f->r->pool, content_type); > > > > -- <- For Sale! ->

« previous php.cvs (#20210) next »