Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have links to documents on a page. They work fine until i put a password protection on the folder where the documents are stored on the server. The paths are correct, but when i click on them now i get a 401 redirect. This just started happening when i updated to 7.17 from 7.14. Before updating, when i clicked on the link, i was asked for my username and password to access the password protected directory and it worked fine. Is this a bug? Or if not what is my problem?
Thanks!
Comments
Comment #1
jonahruh CreditAttribution: jonahruh commentedI contacted my host server and they gave me a solution. It doesn't explain why this just started happening when i upgraded core but here is what i did to solve the issue:
I put the password protected directory at the root folder, created a subdomain and rewrote the link paths to the http://subdomain.domain.org/directory/file. Now it works fine.