The .htaccess files on your server are for making configuration changes to apache on a per directory basis. For more information on what the .htaccess is see our article on What is the .htaccess file and what do I use it for? The following is a list of articles that explain different uses for the .htaccess file.
URL Rewriting and Redirects
Security
- Restrict access with .htaccess and the IP Deny Manager
- Block unwanted users from your site using .htaccess
- How to prevent access to a specific file in htaccess
- How to prevent access to multiple file types in htaccess
- How to password protect a single file with htaccess
- How to block a country’s IP ranges in htaccess
- How to password protect a single file with htaccess
- Hotlink protect files in the .htaccess and cPanel
- Restrict public access to your php.ini
Site Optimization and Performance
File Handling
- How can I make my php.ini file recursive ?
- Using Server Side Includes with HTML Files
- How to change your default Index page in htaccess
- Forcing a file to download in a browser via htaccess
- Removing file extensions from displaying in browser via htaccess
- How do I enable Hotlink Protection in cPanel?
- How do I execute PHP code in a HTML page?
Enabling mod_speling would not effect the inmotionhosting shared platform users detrimentally. All the shared web hosting users would get a benefit. Being able to overcome a visitors to our web site url case typo’s would seem like a good thing. Right now, to have this enabled requires an Inmotionhosting up sell upgrade. I am going to have find a web hosting platform that does things with more common sense.
I did as you sugest. It sure seems like a reasonable sugestion…………
I am learning this is one of the “got ya’s” that Inmotionhosting seems to use to do up selling.… I am really thinking of terminating….. This is really too bad becuase the sales guy seemed very sincere and I liked the pitch. But I am learning (the hard way) that Inmotionhosting may not be my new home. The Inmotionhosting support response to turning on mod_speling was a very firm “NO”, “IF you need it then upgrade” to one of their more expense platforms. I asked how to escalate the issue and was told it wouldN’T be possible to talk to anyone else or to reach someone at the NOC to explore a work arround.
The more I learn about Inmotionhosting ……their business model seem to be “hok em” and “upp sell”!
Our systems administrators cannot make system-wide configuration changes in a shared hosting environment based on individual requests. This rule is not a sales-driven decision, rather it is in place only to make sure that one user cannot affect the others in the shared environment.
Not allowed to.
Is there a regex work arround?
Perhaps:
RewriteEngine on
Why not reach out to your host and ask them to look at the 500 error in the apache error log? This would at least let you begin to understand why you’re getting a 500 error. And I’m not sure why you’re not allowed to verify id mod_speling is not enabled. Your hosting provider should be able to answer that.
Your anawer does’t address the issue!!!!!!! If it does, then your answer is not detailed enough.
Have you verified mod_speling is enabled in your Apache configuration?
using CheckCaseOnly On in .htaccess throws an 500 error.
?????????????????????????????????????????
see: https://httpd.apache.org/docs/2.4/mod/mod_speling.html
When using CheckCaseOnly on you need to ensure it is applying that configuration to mod_speling. I have included what that should look like below, You will also need to ensure you have mod_speling enabled in your apache configuration.
CheckCaseOnly on
how do I stop the hot linking protection for the whole site turning its-self on when I only want to stop some sites.
I do not want to stop others like google from accessing the graphics which is what happens when the hotlinking protection is on
It will not turn on automatically and if you turned it off within cPanel it should stay that way. This can, however, be changed by other scripts that my write to your .htaccess file such as security plugins for WordPress.