cvs: php4 /sapi/apache2handler sapi_apache2.c
| From: | Stanislav Malyshev | Date: | Thu, 10 Apr 2003 11:33:46 +0000 |
| Subject: | cvs: php4 /sapi/apache2handler sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20211@lists.php.net to get a copy of this message | ||
stas Thu Apr 10 07:33:46 2003 EDT
Modified files:
/php4/sapi/apache2handler sapi_apache2.c
Log:
Make Apache 2 define SG(request_info).path_translated like Apache 1 did.
Index: php4/sapi/apache2handler/sapi_apache2.c
diff -u php4/sapi/apache2handler/sapi_apache2.c:1.13 php4/sapi/apache2handler/sapi_apache2.c:1.14
--- php4/sapi/apache2handler/sapi_apache2.c:1.13 Fri Mar 28 23:52:46 2003
+++ php4/sapi/apache2handler/sapi_apache2.c Thu Apr 10 07:33:45 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.13 2003/03/29 04:52:46 sterling Exp $ */
+/* $Id: sapi_apache2.c,v 1.14 2003/04/10 11:33:45 stas Exp $ */
#include <fcntl.h>
@@ -412,6 +412,7 @@
SG(request_info).query_string = apr_pstrdup(r->pool, r->args);
SG(request_info).request_method = r->method;
SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri);
+ SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);
r->no_local_copy = 1;
content_type = sapi_get_default_content_type(TSRMLS_C);