Jump to content

The way Presta 1.7.2.4 generates .htaccess


mihocafe

Recommended Posts

Hi, i am in a bit troubles with the new Prestashop 1.7.2.4 and it's way of generation of .htaccess file. Because my host does not allow to use Options directive and the new presta generates in the .htaccess with Options -Multiviews, everytime i regenerate this file i get the Error500 and i have to manually edit generated htacces to remove options directive. Is there any way how to prevent Presta from generating this Option directive?

Thank you, regards Jan

Link to comment
Share on other sites

3 minutes ago, mihocafe said:

Hi, i am in a bit troubles with the new Prestashop 1.7.2.4 and it's way of generation of .htaccess file. Because my host does not allow to use Options directive and the new presta generates in the .htaccess with Options -Multiviews, everytime i regenerate this file i get the Error500 and i have to manually edit generated htacces to remove options directive. Is there any way how to prevent Presta from generating this Option directive?

Thank you, regards Jan

 

Check function generateHtaccess() at class Tools.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...