client denied by server configuration

Today I got sth like this after configuring a vhost, it was stragne, because I didn’t noticed anything like that before (I have about 10 vhosts more, and the problem was only with this one).

/var/log/httpd/error_log

[Mon Apr 07 14:53:42 2008] [error] [client 192.168.0.68] client denied by server configuration: /home/users/dumie/file.txt

The information from browser was “access denied”. First I was thinking about privilages, but even chmod 777 to whole path didn’t work. The only difference was that this vhost pointed to homedir not to special directory made for www users.

After checking documentation the solution was adding a

<directory /home/users/dumie>
allow from all
</directory>

into the <VirtualHost> </VirtualHost> section

Monday, April 7th, 2008 Uncategorized

9 Comments to client denied by server configuration

  1. Anonymous on June 12th, 2008
  2. you saved me some grief by posting this. thanks!

  3. Glenn on June 28th, 2008
  4. You rule!

  5. Jon on July 3rd, 2008
  6. Thank you for that, I knew it was something with the tag’s, but I wasn’t 100% sure of what aspect I needed to add… Thanks a ton.

  7. Trojaneyez on July 3rd, 2008
  8. Thanks a ton for posting this. I was pulling out my hair. Ugh.

    Thanks again.

  9. matt on July 10th, 2008
  10. thanks, help me out! :)

  11. Anonymous on July 13th, 2008
  12. saved my bacon

  13. SkiBob on August 22nd, 2008
  14. thanks a million for the info…been looking for a fx and foudn it here!

  15. Pabs on September 21st, 2008
  16. Thank, you tip was just what I needed..

    John..

  17. John Moore on October 13th, 2008

Leave a comment