問:www.lmpx.cnDV域名型證書已經成功部署,但以https://www.lmpx.cn,頁面顯示不正常,該怎么設置。
另外原來http://如何301定向到https://上,謝謝。,DV域名型證書已經成功部署以https無法正常訪問
答:您好,
1、通過https地址https://www.lmpx.cn/ 訪問站點時,站點樣式顯示異常是由于頁面中調用的css樣式文件是使用的http地址調用的,在https頁面中調用http的資源會無法加載,這個需要您調整下程序,如果網站后臺有設置站點地址的地方,可以登錄網站后臺將站點地址由http://www.lmpx.cn/ 調整為https://www.lmpx.cn/ 再試;
2、您可以參考http://www.shinetop.cn/faq/list.asp?unid=1419 設置將http跳轉到https;非常感謝您長期對我司的支持!
問:服務器 是否支持.htaccess
服務器地址:
問:您好,您的主機 為 Windows 2008 系統,不支持 linux 的 apache下的 .htaccess 配置文件,若需要實現url重寫功能 ,可在www下添加 web.config 文件 并在其中添加 代碼 :
<?xml version=\”1.0\” encoding=\”UTF-8\”?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=\”OrgPage\” stopProcessing=\”true\”>
<match url=\”^(.*)$\” />
<conditions logicalGrouping=\”MatchAll\”>
<add input=\”{HTTP_HOST}\” pattern=\”^(.*)$\” />
<add input=\”{REQUEST_FILENAME}\” matchType=\”IsFile\” negate=\”true\” />
<add input=\”{REQUEST_FILENAME}\” matchType=\”IsDirectory\” negate=\”true\” />
</conditions>
<action type=\”Rewrite\” url=\”index.php/{R:1}\” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
后 再觀察 是否滿足需求 ,非常感謝您長期對我司的支持.由此給您帶來的不便之處,敬請原諒!謝謝!