|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15 Apache 1.2.4 .htaccess directives
Submitted: 1998-01-27 15:02 UTC Modified: 1998-01-30 02:45 UTC
Avg. Score:2.5 ± 1.5
Reproduced:1 of 2 (50.0%)
Same Version:2 (200.0%)
Same OS:1 (100.0%)
From: walshj at ns dot net Assigned:
Status: Closed Package: Other
PHP Version: 3.0b3 OS: Solaris 2.5.1
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: walshj at ns dot net
New email:
PHP Version: OS:


 [1998-01-27 15:02 UTC] walshj at ns dot net
Adding any PHP3 Module directive results in an Error 500. Note: Should safe mode have the capability of being overridden by .htaccess or should that only be an option in php.ini or srm.conf?  Some ISPs may allow dot files to be uploaded.

Example .htaccess file:
     IndexIgnore .htaccess */.??* *~ *# */HEADER* */README*

     <Limit GET POST>
     order deny,allow
     deny from all
     allow from all
     <Limit PUT DELETE>
     order deny,allow
     deny from all
     AuthUserFile /home/goo/blah/_vti_pvt/service.pwd
     AuthGroupFile /home/goo/blah/_vti_pvt/service.grp

     # -PHP3-
     php3_safe_mode 0
     php3_include_path /home/goo/blah/media/include


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-30 02:45 UTC] rasmus
To see a list of which directives may only be included in the *.conf files, run 'grep RSRC_CONF mod_php3.c'.

If you are having problems with particular directives in your configuration, please open a new bug with 
more specific information about the error being generated (such as the relevant log entries from your 
server's error log). "Error 500" just means there was a server error, and doesn't give any indication of 
what it was.

The argument to php3_safe_mode should be either 'on' or 'off' and it shouldn't core dump.  I just tested
with Apache 1.2.6-dev on a Solaris 2.5.1 machine and it works perfectly.  The only reason you might be
seeing a core is if you don't match up PHP's regex library with Apache's.  I suggest using the bundled
library for both.  PHP defaults to the bundled library, so you should edit your Apache 1.2.x Configuration
file and set WANTHSREGEX=yes and then recompile.
 [2013-11-03 07:41 UTC]
Automatic comment from SVN on behalf of nicolas
Log: fix github issue #15
 [2019-10-15 14:47 UTC]
Automatic comment from SVN on behalf of nikic

Patch by BenMorel.

Closes php/doc-en#15.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 18:01:30 2024 UTC