fairtomidland Posted March 27, 2012 Share Posted March 27, 2012 I have upgraded so many times my .htaccess file has some code that shows up in my hosting control panel showing that it is blocking all ip addresses. I am just trying to get the proper code that should be in the 5.07 version. Here is the code: ## File Security <FilesMatch "\.(htaccess)$"> Order Allow,Deny Deny from all </FilesMatch> Is this cubecart's code? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted March 27, 2012 Share Posted March 27, 2012 I have it as first thing in mine, so I assume it is CC code. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 28, 2012 Share Posted March 28, 2012 The default contents of the .htaccess file is found here: adminsourcessettingsseo-htaccess.txt Sorry, I am no expert on .htaccess coding, but it seems to me that this first ruleset is to prevent anyone from directly accessing any file that ends in .htaccess. But I have the understanding that web servers are not suppose to answer requests for files that start with a period anyway. I could be wrong about that. Quote Link to comment 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.