开发者

Movable Type Administration to https subdomain

开发者 https://www.devze.com 2022-12-17 03:29 出处:网络
I have working https protocol on my subdomain. I would like to change current url: http://www.mydomain.com/cgi-bin/mt/mt.cgi

I have working https protocol on my subdomain. I would like to change current url:

http://www.mydomain.com/cgi-bin/mt/mt.cgi

to

https://ssl.mydomain.com/

How can I do it? Could anybody help me step by step? I am beginner in this field. I tried Google and also Movable Type forum, but n开发者_运维知识库o answer so far. Maybe this could help you http://www.movabletype.org/documentation/appendices/config-directives/admincgipath.html. Thank you for your help, I really appreciate it.

Thomas


The AdminCGIPath config directive is exactly what you need to apply.

Assuming that you have already set up SSL with your hosting provider and placed your MT application files in the correct web root for the SSL domain (which can be the same domain as your main site), here are the steps to change the MT admin path to use the SSL

  1. Open the mt-config.cgi file.
  2. Add the following line:

    AdminCGIPath https://ssl.mydomain.com/cgi-bin/mt/mt.cgi
    
  3. Save the mt-config.cgi file.

    At this point you should be able to access MT via SSL by going to: https://ssl.mydomain.com/cgi-bin/mt/mt.cgi

  4. Rather than access MT at the root of this domain--which I don't suggest because you may want to host other SSL apps--I suggest that you place a redirect script in your index file.

    You can do this with Meta Refresh Tag or html meta refresh

That should answer your question.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号