.htaccess puzzle: 1. You have /foo.html 2. Visiting /foo *rewrites* to /foo.html 3. Visiting /foo.html 302 redirects to /foo Possible?
-
-
Replying to @f3ndot
Yes. I typically use a -f condition on two mod_rewrite rules for the rewrite and the redirect. You may want /? on the redirect.
1 reply 0 retweets 0 likes -
Replying to @ashok
Apache had a wonderful time ignoring [L] and infinitely redirecting despite 1 rule being a rewrite and another being a redirect
3 replies 0 retweets 0 likes
I PROMISE THIS ONE’S THE LAST TIME OK JUST ONE MORE JUST ONE
6:42 PM - 22 Jul 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.