Thursday, 15 May 2014

php - CodeIgniter configuration for multi domain home -



php - CodeIgniter configuration for multi domain home -

i've built ci app , informed have multi homed. is, on server has 2 nics. 1 www , other internal address.

i'm not sure value i'm supposed utilize in config file's base_url. technically, users of site should able access going either:

www.widgets.com - public address

or

http://ourserver.widgets.net - internal address

how configure ci app allow this?

thanks.

$config['base_url'] = '';

codeigniter figure out base_url itself.

php codeigniter url-routing app-config

No comments:

Post a Comment