dra11767 2015-11-11 17:23
浏览 26
已采纳

在网站本地备份上禁用SSL以在WAMP堆栈中进行本地编辑

I have taken a backup of my Web server.

Database restored fine and looks like backup connection is also working.

I have problem with SSL, as I do not have any SSL on local Desktop, I seems not getting through the https to http.

As soon as I try to open http:\localhost\myBackupFolder\ it automatically goes to https:\localhost\myBackupFolder\

I have deleted .htaccess, ,htaccess.txt, php.ini, still it is getting routed to https.

Please Note* (The Backup was of a joomla site and forced site ssl was enable, but that doesn't looks like a problem at the moment. As a proof I had a sub-site folder containing HTML site, even that is getting routed to https)

  • 写回答

1条回答 默认 最新

  • duanpu4143 2015-11-12 18:44
    关注

    Here is the solution

    1. in joomla 'configuration.php', Set public $force_ssl = '0';
    2. if required remove the livesite name, public $live_site = '';
    3. Restart Your WAMP apache Server.

    howver you may get a warning in local WAMP copy like: Strict standards: Only variables should be assigned by reference in C:\wamp\www..in line #45 but One can deisale it by setting display_errors = Off in php.ini

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?