11.18 Apache user authentication
Edit the following file
Then, create the user and password
-c,create create file,-M,MD5 encryption, aming for custom user name;
Create a new user the second time, do not create a file with-C, has been created;
Then,-t, and then graceful;
Then, bind the hosts,
Browser testing
The status code is 401,
-U, specify user and password login, password error status code will also be 401;
Specify the file admin.php;
11.19/11.20 Domain Jump
Domain Jump (also known as domain redirection), lifting weights; 301 permanent redirection;
! To denote a non, ^ to start with xxx;
Change the configuration file and then check the load
200 normal; 301 permanent redirect; 403 Forbidden;
11.21 Apache Access Log
Log directory and files
User-agent user agents, and browser-related information;
Referer record the URL visited by the browser last time, from which URL into the current Web site, as follows:
Extended
Apache Virtual host opens PHP's short tag http://ask.apelearn.com/question/5370
Linux Learning Note April 13 task