.htaccess file uploads with no info...

User 2602507 Photo


Registered User
3 posts

When I upload the file, all I get in the .htaccess file is:
#### CC BEGIN WEBSITE ACCESS MANAGER ####

#### CC END WEBSITE ACCESS MANAGER ####

The password file uploads fine each time. I have tried deleting the old ones, re-imported the users, etc and nothing has worked so far. Even upgraded from 4.0 to 5.0 and that didn't change anything. I have uploaded to the same site before and have not changed any of the settings.
User 166871 Photo


Registered User
184 posts


Dale
Sounds like you forgot to enable permissions for the folder and users in WAM and are uploading and an empty user file.
Did this myself a few times with the same result
Cayucostom
Vista Tom


User 2602507 Photo


Registered User
3 posts

All users have been given permission. The password file has them all listed and is correct. It looks like it always has.
User 103173 Photo


VP of Software Development
0 posts

Dale Andrews wrote:
All users have been given permission. The password file has them all listed and is correct. It looks like it always has.

Check to see if you have an expiration date set to any users. If the date is wrong, that will cause the issue you are describing.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2602507 Photo


Registered User
3 posts

Found the issue. Under "Tools" and then "Show Protection Status", the protected directory was listed 4 times. I deleted 3 of the 4 instances of this and left just 1. When I re-uploaded the file, it was correct. Don't know why the exact same directory was listed 4 times though.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.