dongtanxi5676756 2013-05-11 07: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 08:17
    关注

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

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

报告相同问题?