php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1612 mod_php seems does not merges per directory configuration correctly
Submitted: 1999-06-28 06:53 UTC Modified: 1999-09-18 18:14 UTC
From: sp at alkor dot ru Assigned:
Status: Closed Package: Other
PHP Version: 3.0.8 OS: FreeBSD 3.2-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sp at alkor dot ru
New email:
PHP Version: OS:

 

 [1999-06-28 06:53 UTC] sp at alkor dot ru
The problem with php as apache module.

<directory /document-root>
  php3_engine off
</directory>

<directory /document-root/php-enabled>
  php3_engine on
</directory>

Seems does not work. I've tested compiled with a
debugger and found, that in mod_php3.c in function
php3_merge_dir merge is done by the way:

  memcpy(new, base,...);
  if(orig->x != add->x) new->x = add->x;

And new is just copy of the base. So, apache
per-directory (location) configuration does not
work as desired. That code seems to be in php-3.0.11
too.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-18 18:14 UTC] rasmus at cvs dot php dot net
I think this should finally be fixed in CVS now
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 20:01:29 2024 UTC