Tags
亲和力网站 小狗钱钱 72小时法则 apache C CakePHP Capistrano Catalyst change filename Cpan css cygwin Database Directory Dreamweaver encoding ext2 Geshi heredoc httperf IP address IPv6 Joomfish Joomla Jquery Junction Kannel Linux MacOS Magento NTFS Oracle Perl PHP Phtml print Read File Regex Shell SqlServer2005 ssh Test touch Ubuntu Windows
Tag Archives: apache
Apache基本验证用户认证的配置
AuthType Basic AuthName “By Invitation Only” # 可选 AuthBasicProvider file # 可选 AuthUserFile /home/zzz/www/netmanager/passwdfile AuthGroupFile /home/zzz/www/netmanager/groupfile Require valid-user
htpasswd 命令
htpasswd 命令是用来维护Apache HTTP Server基本验证口令文件的命令。可以用来完成如下功能: 1. 创建口令文件并增加用户: htpasswd -c passwordfile username 2. 修改已存在的口令文件: htpasswd -b passwordfile username password 3. 显示结果(不带口令):htpasswd -n username 4. 显示结果(带口令): htpasswd -nb username