Location and Name of CI v4 .env File |
Not sure if your on Linux xampp for Windows used to be called WAMP but i have a few web dev all in the same hosting space.
Currently I have in /var/www/htdocs/ one wordpress and the rest CI4: Code: ├── GBYS everything above is a directory and each has its own config with no clash. This is what it looks like inside one dev: Code: basic the trick is to make use of virtualhost : Code: <VirtualHost 127.0.0.8:80> FOr the Wordpress site i stipulate I can access site via address bar in web browser using 127.0.0.8 and for one of the CI4 GBYS i access in browser using 127.0.0.2 . Also i point webserver to listen to requests from the web root of the directory called "wp" whereas via virtual host config i tell it to listen at GPWS/public . Every web dev has its own config , with no clash . if you want to use domain in web address you can use /etc/hosts such as: 127.0.0.8 <some domain alias> 127.0.0.2 <some other> |
Messages In This Thread |
Location and Name of CI v4 .env File - by Mr Lister - 11-10-2020, 09:33 PM
RE: Location and Name of CI v4 .env File - by John_Betong - 11-10-2020, 11:39 PM
RE: Location and Name of CI v4 .env File - by captain-sensible - 11-11-2020, 07:19 AM
RE: Location and Name of CI v4 .env File - by Mr Lister - 11-12-2020, 03:54 AM
RE: Location and Name of CI v4 .env File - by captain-sensible - 11-12-2020, 06:19 AM
|