Index.php - routing

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
tkristis
Posts: 12
Joined: 19 Oct 2017, 12:18

Index.php - routing

Post by tkristis » 19 Oct 2017, 12:29

Hi, we're trying to set up aimeos on a staging environment on AWS with ec2.

We're using ubuntu 16.04, with the latest aimeos version, with PHP 7.0, and laravel 5.5.

We are having issues when it comes to routing, as the address seems to require index.php before it. If we try to link on any links, we for example from list to basket we get an 404 not found due to the lack of index.php.

We tried adding index.php as the landing page with apache, however when we do this we lose the css.

Anyone got any suggestions?

Thanks,
Kristis.

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: Index.php - routing

Post by aimeos » 19 Oct 2017, 13:15

Make sure you've installed and activated mod_rewrite!
In your public folder is a .htaccess file, which rewrites the URLs. If mod_rewrite isn't available, you get the problems you describe.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tkristis
Posts: 12
Joined: 19 Oct 2017, 12:18

Re: Index.php - routing

Post by tkristis » 19 Oct 2017, 13:37

Thank you for help!

Post Reply