Skip to content

Instantly share code, notes, and snippets.

@ReekenX
Created May 9, 2014 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ReekenX/d5f11c0ce2480b4bd457 to your computer and use it in GitHub Desktop.
Save ReekenX/d5f11c0ce2480b4bd457 to your computer and use it in GitHub Desktop.
Prestashop 1.6 fix for Apache 2.4 (only for dev mode!)
find -iname '.htaccess' -exec sed 's/Deny from all//' -i {} \;
@cantoute
Copy link

cantoute commented Jul 7, 2018

find . -iname .htaccess | xargs perl -pi -e 's/Deny from all/Require all denied/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment