#24248 [Fbk->Opn]: .htaccess php var overides not being cleared between page requests

From: Date: Sat, 16 Aug 2003 02:37:02 +0000
Subject: #24248 [Fbk->Opn]: .htaccess php var overides not being cleared between page requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46002@lists.php.net to get a copy of this message
 ID:               24248
 User updated by:  dkh-php at nighttide dot net
 Reported By:      dkh-php at nighttide dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: FreeBSD 4.8-STABLE
 PHP Version:      4.3.3RC2-dev/5.0.0b1
 New Comment:

Ah, responded to that in our 11 Jul exchange hence my confussion.

./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
--enable-ssl


Previous Comments:
------------------------------------------------------------------------

[2003-08-15 21:29:10] sniper@php.net

I wanted to know what was the configure line used to configure Apache2
before running 'make'..


------------------------------------------------------------------------

[2003-08-15 21:15:12] dkh-php at nighttide dot net

Do you want the whole configuration file?

Its a pretty standard configuration. Regular host and a couple of
virtual hosts.

Lines directly relevent to php:

LoadModule php4_module   modules/libphp4.so

DirectoryIndex index.html index.php index.shtml index.html.var

AddType application/x-httpd-php .php

ErrorDocument lines all pointing to /errors.php

------------------------------------------------------------------------

[2003-08-14 01:16:32] sniper@php.net

How was Apache2 configured?


------------------------------------------------------------------------

[2003-07-16 22:17:29] dkh-php at nighttide dot net

One further note.

If an .htaccess file redefines the auto_prepend_file and
auto_append_file variables in the second page things work as expected.

------------------------------------------------------------------------

[2003-07-16 22:13:28] dkh-php at nighttide dot net

Ok, got time to try this tonight. Installed latest stable release of
apache (2.0.47) and php4-STABLE-200307170130.

Same problem.

For some reason the .htaccess overrides in the first directory are
sticking accross invocations. Not sure about the achitecture of the
code but it sure looks the php module  isn't reseting its values
between transactions.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24248

-- 
Edit this bug report at http://bugs.php.net/?id=24248&edit=1



Thread (23 messages)

« previous php.bugs (#46002) next »