CodeIgniter Forums
Problem accessing CI4 with XAMPP on Linux Mint - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Problem accessing CI4 with XAMPP on Linux Mint (/thread-76724.html)



Problem accessing CI4 with XAMPP on Linux Mint - barkietrin7 - 06-13-2020

I’m having problem accessing CI4, when I try localhost/CI4/ it shows me only the files in the directory and then tried to access the “public” directory but it says that access is forbidden...Meanwhile when I use the spark serve command it works okay...Any idea please... Ps. Sorry english is not my native language so is not so good.usps tracking showbox speed test


RE: Problem accessing CI4 with XAMPP on Linux Mint - vitnibel - 06-13-2020

Apache config example:

httpd-vhosts.conf
<VirtualHost *:80>
    DocumentRoot "/opt/lampp/htdocs/ci4example/public"
    ServerName ci4.domain.com
</VirtualHost>

app/Config/App.conf
public $baseURL = 'http://ci4.domain.com/';