Apache verification mode summary

xiaoxiao2021-03-06  54

1 use htppasswd -c .htpasswd username

enter password:

2 To the directory you want to protect, create .htaccess file

Authorfile /usr/local/apache/bin/.htpasswdauthname phpmyadminauthtype Basic

Require User User Name

3 HTTP in Apache. Add in Conf.

Options Followsymlinksallowoverride Authconfig ORDER ALLOW, DENYALLOW FROM AllRequire Jackyrong

转载请注明原文地址:https://www.9cbs.com/read-118253.html

New Post(0)