Req #40128 [Opn->Fbk]: add htpasswd function to Apache2 connectors
| From: | cmb@php.net | Date: | Tue, 31 Aug 2021 09:54:08 +0000 |
| Subject: | Req #40128 [Opn->Fbk]: add htpasswd function to Apache2 connectors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236192@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=40128&edit=1
ID: 40128
Updated by: cmb@php.net
Reported by: gk at gknw dot de
Summary: add htpasswd function to Apache2 connectors
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: all
PHP Version: 5.2.0
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Apparently, these patches are no longer available. If you're
still interested in this feature, please provide a pull
request[1].
[1] <https://github.com/php/php-src/pulls>
Previous Comments:
------------------------------------------------------------------------
[2007-01-14 23:39:16] gk at gknw dot de
Just found that the previous patches were slightly incomplete because the Apache headers for the
prototypes were missing; have fixed that now, here are the new new patches:
apache2filter:
http://www.gknw.net/test/php_issues/ap2filter_php_functions.c.diff
apache2handler:
http://www.gknw.net/test/php_issues/ap2handler_php_functions.c.diff
Have now also successfully tested this on Win32 with the apache2handler module.
Here's a new working sample for testing:
http://www.mailkastl.at/tstphp/tap_htpasswd.php
Download of the sample:
http://www.gknw.net/test/php_issues/tap_htpasswd.php
------------------------------------------------------------------------
[2007-01-14 16:47:22] gk at gknw dot de
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 this bug report at https://bugs.php.net/bug.php?id=40128&edit=1