差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 | |||
squid [2017/01/12 21:34] jz |
squid [2018/12/29 21:39] (目前版本) jz |
||
---|---|---|---|
行 24: | 行 24: | ||
apache-htdigest -c /usr/local/etc/squid/password realm username | apache-htdigest -c /usr/local/etc/squid/password realm username | ||
# or htdigest if apache-htdigest is not found | # or htdigest if apache-htdigest is not found | ||
+ | </code> | ||
+ | |||
+ | <code bash> | ||
+ | php -a | ||
+ | echo 'user': . crypt('password', base64_encode('password')); | ||
</code> | </code> | ||