Skip to content

Instantly share code, notes, and snippets.

@raananraz
Created November 27, 2013 09:21
Show Gist options
  • Save raananraz/7672922 to your computer and use it in GitHub Desktop.
Save raananraz/7672922 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule YOUR_HEALTH_CHECK_URL$ /aws.php [L]
# Only rewrite to index.php if the current request is not for an existing file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.html [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment