Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prestashop 1.6 fix for Apache 2.4 (only for dev mode!)
find -iname '.htaccess' -exec sed 's/Deny from all//' -i {} \;
@cantoute

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.