Welcome Guest, Not a member yet? Register   Sign In
ci 4 not found controller in linux

(This post was last modified: 05-15-2020, 01:26 PM by captain-sensible.)

i have three directories in /var/www/htdocs (apache on slackware current) each with a different project using CI4. The way i access each is via the i.p

I left .htacess in public alone since i'm using http for localhost and then tweak things for live. An example of my virtual host is:

# ServerAdmin [email protected]

ErrorLog "/var/log/httpd/CI.org-error_log"
# CustomLog "/var/log/httpd/dummy-host.example.com-access_log" common
<Directory "/var/www/htdocs/CI/public">
Order allow,deny
Allow from All
AllowOverride All
Require all granted
ServerName CI.org
DocumentRoot "/var/www/htdocs/CI/public"
ServerAlias www.CI.org



so basically when i put into address bar of browser i see my web page.

for the base url in app/config/app.php i use :

public $baseURL = '';

Messages In This Thread
ci 4 not found controller in linux - by gra - 05-14-2020, 04:52 AM
RE: ci 4 not found controller in linux - by captain-sensible - 05-15-2020, 01:24 PM

Theme © iAndrew 2016 - Forum software by © MyBB