Loading myfile.js returns /myfile.js/
This is an open discussion with 2 replies, filed under General.
Search
I don't know how how HeadJS works, but to stop the rewrite rules from adding a trailing slash, get rid of the four lines that follow ### CHECK FOR TRAILING SLASH - Will ignore files
.
The rule that adds a trailing slash to URLs is a pestilence and I would prefer to see it removed.
The rule that checks for trailing slashes will ignore files. If it adds a slash, there is no file.
Create an account or sign in to comment.
Hello,
I have this kind of problem, I'm using head.js to load js files asynchronously, but I get errors because probably htaccess sees js calls as page calls.
How can I fix this?
Thanks!