Welcome Guest, Not a member yet? Register   Sign In
Deploying Codeigniter 4 Website on LAN server
#5

from what i understand apache2.conf for ubuntu is the "equivalent" for httpd.conf which i have on Arch and you have on Mint

Also on your ubuntu see if you have this file: /etc/apache2/sites-enabled/000-default.conf


One weird thing with Ubuntu is you have to run : sudo a2ensite <VirtualHostFilename>

Did you have to do that on Mint ?

There are a few tutorials out there for Ubuntu but you should be able to compare apache2.conf settings against httpd.conf settings
since in essence they are the same thing


So you should see something like [in apache2.conf:

Code:
<IfModule dir_module>
    DirectoryIndex index.html index.php
# i added index.php to above
</IfModule>


here i added index.php after index.html
Reply


Messages In This Thread
RE: Deploying Codeigniter 4 Website on LAN server - by captain-sensible - 07-30-2021, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB