Linux Learning Note April 13 task

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.