Problems with apache and php project
0
So I've got this weird problem, I am trying to host a php codeigniter project but I can only access my index page all the other pages give me a 404 error I want it on port 81 so in ports.conf I have added Listen 81 (No problems there but I'm going to give all the configs I have changed so you have some sort of overview) Apache2.conf Alias "/foo" "/var/www/foo <Directory /var/www/foo> Options Indexes FollowSymLinks ExecCGI AllowOverride All AddHandler cgi-script .php Require all granted </Directory> foo.conf <VirtualHost *:81> ServerAdmin webmaster@localhost DocumentRoot /var/www/team28 ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> So the problem now is I ca...