apache下静态化后URL设置SSL访问链接

WBOY
Release: 2016-06-06 20:43:12
Original
904 people have browsed it

LAMP环境下SSL协议访问链接地址:静态化后URL如何设置使得能够通过SSL访问?
https://www.example.com/index.php?cPath=1109 (访问正常)静态化后
https://www.example.com/c/categories_name_1109(404错误)
(需要设置两种方式都可访问,默认是http协议访问)

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

回复内容:

LAMP环境下SSL协议访问链接地址:静态化后URL如何设置使得能够通过SSL访问?
https://www.example.com/index.php?cPath=1109 (访问正常)静态化后
https://www.example.com/c/categories_name_1109(404错误)
(需要设置两种方式都可访问,默认是http协议访问)

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

关于Apache设置SSL协议问题:
在默认Apache环境下,需要在配置文件httpd-ssl.conf文件设置证书绝对路径地址,以及正确设置ssl协议的443端口下的虚拟主机配置,额外加上访问目录控制权限

谢邀。

我也不会。

原则上讲协议跟相应无关,静态化跟协议是不同的两层。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!