Download & Extend

Paths to password protected directory are getting a 401 redirect

Project:Drupal core
Version:7.17
Component:file system
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

I 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.

nobody click here