Welcome Guest, Not a member yet? Register   Sign In
Codeigniter with several webs
#9

Ok, by now I can access the welcome controller and from there go to the view in the new views folder:

index.php in the /web1.com

$system_path = '/var/www/html/sistema/system';
$application_folder = '/var/www/html/sistema/application';   // <-- If I use only application it says don't have index.php
$view_folder = '/var/www/html/web1.com/views';

it works right, and can see the home ... but

when I try to go to web1.com/fotos it get apache 404 error
if I try to go to web1.com/index.php/fotos it get ci3 404 error

Where do I use the rewrite and how!?!?!?! for any web1.com/???

the controller fotos is "/var/www/html/sistema/application/controllers/Fotos.php" ...
Reply


Messages In This Thread
Codeigniter with several webs - by Entai - 02-28-2020, 01:18 PM
RE: Codeigniter with several webs - by Entai - 02-28-2020, 05:55 PM
RE: Codeigniter with several webs - by Entai - 02-28-2020, 07:51 PM
RE: Codeigniter with several webs - by Entai - 03-01-2020, 05:57 PM
RE: Codeigniter with several webs - by Entai - 03-02-2020, 07:48 AM
RE: Codeigniter with several webs - by FlavioSuar - 03-02-2020, 01:50 PM
RE: Codeigniter with several webs - by Entai - 03-03-2020, 09:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB