zekia
zekia

Reputation: 4857

HTTP Error 401.3 for specific .pdf file

I just uploaded two .pdf files on my server. They are both in the same folder.

The first one can be normally accessed but for the second one I get an HTTP Error 401.3 "You are not authorized to view this page"

This looks weird to me. Do you have any idea why is this happening?

Upvotes: 0

Views: 291

Answers (1)

Mathieu
Mathieu

Reputation: 5695

check filesystem permission if you are running linux. the user running the webserver should have read permission on both files you can do this with most ftp software or if you have shell access chmod a+r /path/to/your/file.pdf

if that does not solve the problem look for error in log file usually /var/log/apache/error.log

Upvotes: 1

Related Questions