重定向到目录的HTTPS [英] Redirect to HTTPS for directory

查看:64
本文介绍了重定向到目录的HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在使用mod_ssl运行Apache 2.0.40。我想用https递归保护

单个目录。 SSL已经运行。只有

绊倒我才会重定向来自
http://www.myserver.com/protected https:// www.myserver.com/protected

任何提示或建议?


谢谢!

Robert

Hi,

I''m running Apache 2.0.40 with mod_ssl. I''d like to recursively protect a
single directory with https. SSL is already functioning. Only thing that
is tripping me up is redirecting any request from
http://www.myserver.com/protected to https://www.myserver.com/protected.
Any tips or advice?

Thanks!
Robert

推荐答案

Robert McIntosh写道:
Robert McIntosh wrote:


我正在运行Apache 2.0.40用mod_ssl。我想用https递归保护
单个目录。 SSL已经运行。只有
绊倒我的是重定向来自
的任何请求 http: //www.myserver.com/protected https://www.myserver。 com / protected
任何提示或建议?
Hi,

I''m running Apache 2.0.40 with mod_ssl. I''d like to recursively protect a
single directory with https. SSL is already functioning. Only thing that
is tripping me up is redirecting any request from
http://www.myserver.com/protected to https://www.myserver.com/protected.
Any tips or advice?




错误的群组。尝试alt.apache.configuration - 后续'的设置。



Wrong group. Try alt.apache.configuration - follow-up''s set.


Mark Tranchant写道:
Mark Tranchant wrote:
错误的组。尝试alt.apache.configuration - 后续'的设置。
Wrong group. Try alt.apache.configuration - follow-up''s set.




并认为我有一个关于撇号使用的页面......


我的意思是跟进设置,诚实。


-

Mark。
http://tranchant.plus.com/



And to think I have a page on apostrophe usage...

I meant "follow-up is set", honest.

--
Mark.
http://tranchant.plus.com/


Mark Tranchant写道:
Mark Tranchant wrote:
并认为我有一个关于撇号使用的页面......

我的意思是跟随 - up is set,诚实。
And to think I have a page on apostrophe usage...

I meant "follow-up is set", honest.




只要我们用标点符号挑剔,那么跟进
$ b $怎么样? b设置,在引号内的逗号所在的位置? :-p


-

Brian(删除.invalid给我发电子邮件)
http://www.tsmchughs.com/


这篇关于重定向到目录的HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆