HTTPS 重写 .htaccess
我刚刚在我的网站上安装了 SSL 证书。 它已安装到子域。
我对子域进行了重写,因此 http://orderonline.mydomain.com.au 使用网络服务器来自同一服务器但在另一个帐户中。这个重写工作正常。
RewriteCond %{SERVER_PORT} 80
RewriteRule ^orderonline/?$ http://111.67.13.129/~dsoft/themes/RIV00/
但我似乎无法与 https 一起使用。 https 定向到子文件夹“orderoline”。 如何重写 https 以指向 http://111.67.13.129/~dsoft/ theme/RIV00/ 但仍保留 https://orderonline.mydomain.com.au。
预先感谢
丹尼尔
I have just had an SSL certificate installed to my site.
It was installed to the subdomain.
I have a rewrite on the sub domain so http://orderonline.mydomain.com.au uses web servers from the same server but in another account. This rewrite work fine.
RewriteCond %{SERVER_PORT} 80
RewriteRule ^orderonline/?$ http://111.67.13.129/~dsoft/themes/RIV00/
However I can't seem it work with the https. The https is directed to the subfolder 'orderoline'.
How do I do a rewrite for the https to point to http://111.67.13.129/~dsoft/themes/RIV00/ but still maintain https//orderonline.mydomain.com.au.
Thanks in advance
Daniel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我解决了。
我需要更改
为
但是可以两者兼而有之吗?
d
I worked it out.
I needed to change
to
However is it possible to do both?
d