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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Sun May 05 22:01:29 2024 UTC