Skip to content

Instantly share code, notes, and snippets.

@Kcko
Created February 18, 2020 08:55
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 Kcko/6677f3788092f49f6ecd7435a30d43bc to your computer and use it in GitHub Desktop.
Save Kcko/6677f3788092f49f6ecd7435a30d43bc to your computer and use it in GitHub Desktop.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/storage/
#RewriteCond %{REQUEST_URI} !^/storage/images/(.*)/4[0-9]{4}
RewriteCond %{HTTP_HOST} !darkovapoukazka\.ambi\.cz$ [NC]
RewriteRule ^(.*)$ http://darkovapoukazka.ambi.cz/$1 [R=302,QSA,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment