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.
Hi!
Every time I go to /admin two instances of the following error are generated in the cPanel error log:
"[Mon Jun 14 14:16:22 2010] [error] [client --IP ADDRESS LEFT OUT--] client denied by server configuration: /home/xxx/public_html/files/private/privacy_test.txt"
If I uncheck the Private Upload module on the Modules page, the error goes away. After I have checked it again, the error returns.
How can I get rid of this error?
Comments
Comment #1
Shiny CreditAttribution: Shiny commentedWhat is the path to you private folder? (relative to your doc root)
Comment #2
Shiny CreditAttribution: Shiny commentedComment #3
PWG CreditAttribution: PWG commentedHey Shiny!
Not entirely sure what you mean. Just the path? It's...
ROOT DIRECTORY/files/private/privacy_test.txt
Comment #4
Shiny CreditAttribution: Shiny commentedThanks for the info - so the module is functioning correctly, but also logging an error whenever it correctly denies access to a file.
is that right?
Comment #5
PWG CreditAttribution: PWG commentedCorrect.
I notice that the errors generated when I as a user, without the correct access rights, try to access a privately uploaded file have my computer's ip address as the client address, while the errors generated when I go to /admin have the server's address as the client address. If that provides any clue. :)