Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 110861 - php_values in .htaccess Copied From One Virtual Host to Another
php_values in .htaccess Copied From One Virtual Host to Another
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
: 111140 121303 (view as bug list)
Depends On: 123095
  Show dependency treegraph
Reported: 2003-11-24 17:08 EST by Allan Hansen
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-25 14:46:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Allan Hansen 2003-11-24 17:08:19 EST
Description of problem:

I am not sure whether this is a problem with php alone or with php+httpd.

When using virtual hosts in Apache, php_value set in .htaccess are
sometimes copied from one virtual host to another.


php_value auto_prepend_file "/web/a.com/prepend.php"

-- noting --

When loading a.com, the prepend.php file is always prepended as it
should. But then loading b.com, /web/a.com/prepend.php is sometimes
prepended as well - but not always.

Version-Release number of selected component (if applicable):

Applies to both the Fedore Core 1 package and to test versions:
httpd-2.0.48-1.2 + php-4.3.4-1.1

Steps to Reproduce:
1. Set AllowOverride Options in httpd.conf on <Directory>
2. Use virtual hosts in httpd.conf
3. Set php_value auto_prepend_file "some-file" in .htaccess for one host.
4. Do NOT set php_value auto_prepend_file in .htaccess for another host.
5. Start two browsers and reload one host in each browser. At some
point the host without php_value auto_prepend_file will get it from
the other host.
Comment 1 Kalle Kataja 2003-11-28 09:58:02 EST
*** Bug 111140 has been marked as a duplicate of this bug. ***
Comment 2 Allan Hansen 2003-12-15 16:45:22 EST
Three weeks and not a comment. 
Reporting bugs is completely pointless.
Comment 3 Joe Orton 2003-12-15 17:15:49 EST
Thank you for the reports.  We've spent some time investigating but
have not yet tracked down a fix.
Comment 4 Joe Orton 2004-01-30 04:24:25 EST
Somehow managed to track it down upstream. Test packages are up at:

Comment 5 Joe Orton 2004-04-20 05:18:28 EDT
*** Bug 121303 has been marked as a duplicate of this bug. ***
Comment 6 Joe Orton 2004-05-25 14:46:40 EDT
Fixed in 4.3.6-1.1 update.

Note You need to log in before you can comment on or make changes to this bug.