Rewriting slashes

Well, I finally managed to crack a small but annoying problem on the webserver.

When anyone was requesting a web site directory URL like www.coffeehouse.co.nz/wordpress without the trailing /, then there would be an error,and not a redirection to the index page of that directory like it should.

Setting UseCanonicalName off in the Apache server settings seems to have fixed this without having to worry about any strange rewrite rules using regular expressions. Which I find still just a bit tricky to even sit down and try to learn, though I really should do.

Still, one more small problem dealt with…. Should have got around to that one a long time ago.

Leave a Reply

You must be logged in to post a comment.