Apury Posted July 1, 2018 Share Posted July 1, 2018 (edited) Hello there! I'm running PS 1.7.3.4 on ubuntu 16.04.4 x64 with LAMP (php 7.1) I've enabled friendly URL after the installation of my shop. From index.php it then changed to /en/ yielding in Not Found The requested URL /en/ was not found on this server. rewrite is enabled and active. The .htaccess reads <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on I've regenerated the .htaccess by deleting the old one and enabling / disabling friendly urls. I'm utterly confused. I solved the problem by adding the Allowoverride All directive to /etc/apache2/apache2.conf <Directory /var/www/prestashop/> Options Indexes FollowSymLinks AllowOverride All </Directory> Edited July 1, 2018 by Apury (see edit history) Link to comment Share on other sites More sharing options...
jmeile Posted April 14, 2021 Share Posted April 14, 2021 (edited) On 7/1/2018 at 9:33 PM, Apury said: I've enabled friendly URL after the installation of my shop. From index.php it then changed to /en/ yielding in Not Found I solved the problem by adding the Allowoverride All directive to /etc/apache2/apache2.conf <Directory /var/www/prestashop/> Options Indexes FollowSymLinks AllowOverride All </Directory> Yes, this solved my problem as well. Additionally, you will also have to enable mod_filter; otherwise you will get the error: .../.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration In Ubuntu just run: a2enmod filter Thanks for posting this. Best regards Josef Edited April 14, 2021 by jmeile (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now