search

Home  >  Q&A  >  body text

How to access different applications when running multiple applications under CodeIgniter?

How to access different applications when running multiple applications under CodeIgniter?

某草草某草草2777 days ago645

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-05-16 16:45:39

    Add rewrite url rules to your server configuration script

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 16:45:39

    Aren’t multiple applications multiple index.php? They just have different directories

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 16:45:39

    1. in index.php

    $routing['directory'] = ENVIRONMENT;
    1. Add variables in apache CI_ENV

    # vhost/admin.conf
    CI_ENV admin
    # vhost/mobile.conf
    CI_ENV mobile

    For details, please refer to
    http://www.kancloud.cn/yozman/ci-fly

    reply
    0
  • Cancelreply