Set SSL access links in URLs after static configuration in apache

Source: Internet
Author: User
SSL protocol access link address in LAMP environment: how to set the URL after static access to enable SSL access? Www. example. comindex. php? CPath1109 (normal access) after static www. example. comccategories_name_1109 (Error 404) (required... SSL protocol access link address in LAMP environment: how to set the URL after static access to enable SSL access?
Https://www.example.com/index.php? CPath = 1109 (normal access) after static
Https://www.example.com/c/categories_name_1109 (404 error)
(You Need To set both methods for access. The default method is http)

Refer:
Request URL: https://www.lightinthebox.com/c/watch-cell-phones_1298
Request Method: GET
Status Code: 302 Moved Temporarily

Reply content:

SSL protocol access link address in LAMP environment: how to set the URL after static access to enable SSL access?
Https://www.example.com/index.php? CPath = 1109 (normal access) after static
Https://www.example.com/c/categories_name_1109 (404 error)
(You Need To set both methods for access. The default method is http)

Refer:
Request URL: https://www.lightinthebox.com/c/watch-cell-phones_1298
Request Method: GET
Status Code: 302 Moved Temporarily

About how to set the SSL protocol for Apache:
In the default Apache environment, you need to set the absolute certificate path address in the configuration file httpd-ssl.conf file, and correctly set the virtual host configuration under port 443 of the ssl protocol, add Access Directory control permissions

Thank you.

Neither will I.

In principle, the Protocol has nothing to do with it. Static and protocol are two different layers.

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.