在openshift自定义域名上的wordpress"太多的重定向"错误,适用于openshift默认域

时间:2015-01-27 19:14:10

标签: php wordpress redirect openshift

wordpress on openshift自定义域“太多重定向”错误,适用于openshift默认域

自定义域上的curl请求无法正常工作

curl -vvv http://www.hobbyhap.com/h

            Hostname was NOT found in DNS cache
            *   Trying 54.204.79.83...
            * Connected to www.hobbyhap.com (54.204.79.83) port 80 (#0)
            > GET /h HTTP/1.1
            > User-Agent: curl/7.35.0
            > Host: www.hobbyhap.com
            > Accept: */*
            > 
            < HTTP/1.1 301 Moved Permanently
            < Date: Tue, 27 Jan 2015 18:05:15 GMT
            * Server Apache/2.2.15 (Red Hat) is not blacklisted
            < Server: Apache/2.2.15 (Red Hat)
            < Location: http://www.hobbyhap.com/h/
            < Content-Length: 317
            < Content-Type: text/html; charset=iso-8859-1
            < Cache-control: private
            < Set-Cookie: GEAR=local-54c70ac64382ec8161000031; path=/
            < Accept-Ranges: none
            < 
            <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
            <html><head>
            <title>301 Moved Permanently</title>
            </head><body>
            <h1>Moved Permanently</h1>
            <p>The document has moved <a href="http://www.hobbyhap.com/h/">here</a>.</p>
            <hr>
            <address>Apache/2.2.15 (Red Hat) Server at www.hobbyhap.com Port 80</address>
            </body></html>
            * Connection #0 to host www.hobbyhap.com left intact

openshift域名卷曲请求

curl -vvv http://hhapp-hobbyhap.rhcloud.com/h/

1 个答案:

答案 0 :(得分:1)

我使用自定义域更新博客,选项,网站和网站名称表,并开始工作