Dragosvr92 Posted November 22, 2014 Share Posted November 22, 2014 I think my eyes are going to fall out from all the searches ive made to find a solution for this that works on a shared host. I tried this... but it doesnt work. RewriteEngine on CheckSpelling on The only Rough solution i got is to do the case manually with an internal redirect. Like this. RewriteEngine on RewriteBase /~quux/ RewriteRule ^foo\.html$ bar.html Is there absolutely no way to mention [a-z] and [A-Z] into a RewriteRule to get this done? I find it terribly stupid from Apache not to provide a simple solution for this. Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/ Share on other sites More sharing options...
requinix Posted November 22, 2014 Share Posted November 22, 2014 Solution to what? Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497290 Share on other sites More sharing options...
Dragosvr92 Posted November 22, 2014 Author Share Posted November 22, 2014 Solution to what? What....? Whats unclear to you? .......Solution to specify the case like in the example i gave. RewriteRule ^foo\.html$ FoO.html Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497292 Share on other sites More sharing options...
requinix Posted November 22, 2014 Share Posted November 22, 2014 Try this: I think my eyes are going to fall out from all the searches ive made to find a solution for this that works on a shared host.Solution for what? The only Rough solution i got is to do the case manually with an internal redirect.What case? Filename, okay, but what about the filename case? Is there absolutely no way to mention [a-z] and [A-Z] into a RewriteRule to get this done?Get what done? I find it terribly stupid from Apache not to provide a simple solution for this.SOLUTION FOR WHAT? Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497295 Share on other sites More sharing options...
Dragosvr92 Posted November 22, 2014 Author Share Posted November 22, 2014 Okay, is it normal around here for moderators to act unknowing and troll others? I am talking about making urls Case-Insensitive. A solution to. THAT ! Is it clear now? Go get some sleep if you are tired. Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497297 Share on other sites More sharing options...
Ch0cu3r Posted November 22, 2014 Share Posted November 22, 2014 Okay, is it normal around here for moderators to act unknowing and troll others? No. To be honest it wasn't clear in your first posts what solution you were after. My response would of been the same. Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497306 Share on other sites More sharing options...
Dragosvr92 Posted November 22, 2014 Author Share Posted November 22, 2014 In my posts, yes, you may be right. But the topic title made it clear in my opinion. Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497315 Share on other sites More sharing options...
Solution Ch0cu3r Posted November 22, 2014 Solution Share Posted November 22, 2014 If you want your rewrite rules to be case insensitive then apply the NC flag RewriteRule ^foo\.html$ bar.html [NC] Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497324 Share on other sites More sharing options...
Dragosvr92 Posted November 22, 2014 Author Share Posted November 22, 2014 No, i wanted to just disable the case sensitivity. There doesnt appear to be a way to do this, so i just turned to use something rough like this.. RewriteRule ^fIle\.html$ FiLe.html [L] Quote Link to comment https://forums.phpfreaks.com/topic/292637-turn-apache-case-insensitive/#findComment-1497330 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.