|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 + 20 = ?
Subscribe to this entry?

 [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: Thu Jul 18 20:01:28 2024 UTC