Skip to content

Instantly share code, notes, and snippets.

@nitaking
Last active January 18, 2018 03:39
Show Gist options
  • Save nitaking/a6ba3963fd9192896c00f4a329764636 to your computer and use it in GitHub Desktop.
Save nitaking/a6ba3963fd9192896c00f4a329764636 to your computer and use it in GitHub Desktop.
ajaxでpostがgetにrewriteされる ref: https://qiita.com/nitaking/items/aea4f17a61c168d60f4a
...
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment