dongtanxi5676756 2013-05-10 23:12
浏览 69
已采纳

在服务器上托管CodeIgniter项目

i have a website developed in php CodeIgniter framework which is presently working on my localhost. the present working url on my localhost is

http://localhost/myproj/index.php/xyz

xyz is my first controller from which the home page is called.

i want to host on a particular domain as http://www.example.com and it works same as the above url (http://localhost/myproj/index.php/xyz)

  • 写回答

2条回答 默认 最新

  • dongtuo2373 2013-05-11 00:17
    关注

    Prathik change your base_url with your domain and mention your default_controller in config/routes.php file.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了