#40128 [NEW]: add htpasswd function to Apache2 connectors
| From: | gk at gknw dot de | Date: | Sun, 14 Jan 2007 16:47:22 +0000 |
| Subject: | #40128 [NEW]: add htpasswd function to Apache2 connectors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-107583@lists.php.net to get a copy of this message | ||
From: gk at gknw dot de
Operating system: all
PHP version: 5.2.0
PHP Bug Type: Feature/Change Request
Bug description: add htpasswd function to Apache2 connectors
Description:
------------
Its often needed to generate an Apache password for authentication. At
least on NetWare and Win32 its a nightmare to execute the htpasswd bin
from Apache; and even on Linux it might not be possible due to safemode
restrictions. Therefore I've created a patch for the Apache2 filter and
handler module:
filter:
http://www.gknw.net/test/php_issues/apache2filter_php_functions.c.diff
handler:
http://www.gknw.net/test/php_issues/apache2handler_php_functions.c.diff-2
I have successfully tested this patch on NetWare platform;
and it should work on all other platforms too.
Here's a test script to verify the new function:
http://www.gknw.net/test/php_issues/tap_htpasswd.php
would be great if this could make it into next release.
Thanks!
--
Edit bug report at http://bugs.php.net/?id=40128&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40128&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40128&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40128&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40128&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40128&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40128&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40128&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40128&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40128&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40128&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40128&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40128&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40128&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40128&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40128&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40128&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40128&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40128&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40128&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40128&r=mysqlcfg