How to configure FuelPHP on ubuntu 16?

3

I need to "clone" a FuelPHP application, which runs in Lamp (linux) on the company server.

Everything went smoothly on the first try, which was done on the client's local machine. Already this runs in Xampp with Win 10.

But now that I'm trying to run on my machine (Ubuntu 16), problems have started.

The entire installation is quiet, and Fuel PHP opens normally, but when I open a view (and a controller), it says that file does not exist.

Here is the error message when accessing the browser:

  

URL = xxx.xxxx.xxxx / jikken / index /

     

Not Found

     

The requested URL / jiji / index / was not found on this server.

     

Apache / 2.4.18 (Ubuntu) Server at xxxx.xxxx.xxxxPort 80

I do not know if it is an error in the Apache VirtualHost configuration or in the .htaccess file.

Does anyone know how to solve this?

    
asked by anonymous 06.01.2017 / 14:25

1 answer

3

When you install Apache2 on Ubuntu, it usually comes with mod_rewrite disabled.

In this case, you can enable it like this:

sudo a2enmod rewrite
    
06.01.2017 / 15:03