apache base auth

htpasswd

htpasswd -c /usr/local/apache2/conf/htpasswd.txt kenvin
htpasswd -nb kenvin abcd

conf

     <Directory "/data/www/">
        AuthType Basic
        AuthName "soften.cn"
        AuthUserFile "/usr/local/apache2/conf/htpasswd.txt"
        Require valid-user
    </Directory>
linux/apache_base_auth.txt · 最后更改: 2009/06/01 03:19 由 kenvin
到顶部
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0 红麦软件 红麦软件