Jump to content

Adjust php_flag max_input_vars 4000 in .htaccess


racemaniac

Recommended Posts

Hi,  I'm trying to edit the  .htacess file for the translating issue

 

 

see    https://mypresta.eu/en/art/know-how/max-input-wars-in-prestashop-translations-feature.html

 

As soon as i edit the .htaccess  file with 

php_flag max_input_vars 4000

 

webshop will not load  and the 404 error page is whown

 

What do I do wrong of forget  ?

 

below is a  part of .htaccess file  with edit

 

 

 

 

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
 
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
 
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
 
RewriteEngine on
 
# aangepast prestashop 28-6-2015
php_flag max_input_vars 4000
 
 
#Domain: www.hobby-benodigdheden.nl
RewriteRule . - [E=REWRITEBASE:/webshop/]
RewriteRule ^api$ api/ [L]
RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
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...