php.net |  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
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.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:
MUST BE VALID
Solve the problem:
47 - 24 = ?
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>
     <Limit PUT DELETE>
     order deny,allow
     deny from all
     </Limit>
     AuthName somedomain.com
     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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-30 02:45 UTC] rasmus
[Jim]
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.

[Rasmus]
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] nicolas@php.net
Automatic comment from SVN on behalf of nicolas
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=332048
Log: fix github issue #15
 [2019-10-15 14:47 UTC] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=348169
Log: Change FTP_IMAGE to FTP_BINARY

Patch by BenMorel.

Closes php/doc-en#15.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 14:01:31 2024 UTC