Skip to content

Instantly share code, notes, and snippets.

@martijngastkemper
Created November 1, 2016 07:41
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 martijngastkemper/bce5ffd712539a8b87fa32bd26f42aac to your computer and use it in GitHub Desktop.
Save martijngastkemper/bce5ffd712539a8b87fa32bd26f42aac to your computer and use it in GitHub Desktop.
Replace lines with sed
sed -i-backup "s/RewriteCond \%{HTTP_HOST}.*//" .htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment