Multiple instances of CI4 and removal of public/index.php/ from url |
(03-18-2020, 03:54 AM)mjamilasfihani Wrote: You can change the root directory from your server. Sorry, I should have stated how my folder structure looks. My document root according to the apache2 server is /var/www/html. In this root directory is where I have copies of instances of CI4. So far I have two copies, the one that authenticates users and one that offers a solution to the first problem. Within the root also is an index.php file whose job is simply to direct visitors to the authenticating instance.Once a user has been authenticated, they are directed to an instance that offers a solution.So the sturcture looks like this /var/www/html/ index.php CI4auth/ CI4soln1/ CI4soln2/ So as I stated, whenever an instance of CI4 is active I now have my URLs as http://localhost/CI4auth/public/view http://localhost/CI4soln1/public/view http://localhost/CI4soln2/public/view etc. My wish is to hide the public directory so that I have http://localhost/CI4auth/view http://localhost/CI4soln1/view http://localhost/CI4soln2/view |
Messages In This Thread |
Multiple instances of CI4 and removal of public/index.php/ from url - by owino - 03-17-2020, 05:21 PM
RE: Multiple instances of CI4 and removal of public/index.php/ from url - by silviodelgado - 03-17-2020, 09:29 PM
RE: Multiple instances of CI4 and removal of public/index.php/ from url - by mjamilasfihani - 03-18-2020, 03:54 AM
RE: Multiple instances of CI4 and removal of public/index.php/ from url - by owino - 03-20-2020, 04:31 AM
RE: Multiple instances of CI4 and removal of public/index.php/ from url - by Bennito254 - 03-19-2020, 11:31 AM
RE: Multiple instances of CI4 and removal of public/index.php/ from url - by mjamilasfihani - 03-21-2020, 01:57 PM
|