I’m a CI newbie and was just wandering around the excellent documentation and trying to do a simple web app, but I have two questions that let me think that CI is not as portable as it should be, or maybe I just don’t know yet how to overcome this issues:
base_url: The use of a hardcoded url leads to the need of change that parameter every time the web app is changed from domain or ip. This means the web app can’t be used from different network segments at the same time even if the server has multiple ip’s. I just want to change my app from ip or domain without the need to change anything.
.htaccess: I’m not familiarized with hosting, but as far as I know the default installation of Apache in Red Hat and Debian disbales this kind of file with the directive “AllowOverride None”, wich means my pages can’t access any image, css or javascript file, wich makes them unusable. I don’t want to change anything in the server just to run my app, beacuse most of the times we can’t access the server configuration.
Is there any workaround for this issues or CI is just aimed for traditional web hosting where your page is always accessed with only one domain name and the server allows the use of .htaccess files?
