in reply to Re^2: Passing values to htdigest from command line problem
in thread Passing values to htdigest from command line problem
Sorry, I was mistaken on a few things.
So, I read the documentation. Khen1950fx is right (looks like he read the documentation too), there is no -b (batch mode in htpasswd (to which you're above referring to as "BasicAuth"), letting you specify a password on the command line) command line option in htdigest.
So, the problem is that your command won't run from the command line, because the apache utility** doesn't support it. Running it from perl can't change that fact.
* ... and their documentation.
** Apache (and its related utilities) are open source***, maybe you can implement the -b functionality yourself.
*** The apache utilities tend to be written in C, not perl, so we probably won't help you with that, either.
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |