Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default client denied by server configuration

    I have an error on my server which causes a 503 to occur every so often.


    Error
    --- client denied by server configuration: /home/xxx/public_html/images/test/


    That path that i am getting the errors no longer exist.

    What might be causing this error?

    If someone can assist me or lead me the right direction I would greatly appreciate it.

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: client denied by server configuration

    I think you answered your own question .
    The path no longer exists, so if someone tries to visit the path a 503 is generated.

  3. #3
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: client denied by server configuration

    What would be calling that path. I have nothing in my system that even links to that path. Whats happening is that it fills my log up with error and crashes the site.

    Error is actually a 500 not 503
    --- client denied by server configuration: /home/xxx/public_html/images/test/

    Would something in the .htaccess help me?

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: client denied by server configuration

    Check the log files for IP addresses, and you can search the internet who they are. Most likely they belong to search engine bots. Which would not be very surprising since the image folder is a public accessible folder.
    I am not sure if you can stop the errors from being logged, because rules in the .htaccess file will also trigger a response, to my knowledge. Maybe talk to your host to see if they have a solution.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: client denied by server configuration

    "Most likely they belong to search engine bots."

    You are correct the ip address is from google.

    I spoke with my hosting company and of course they said that its a programming issue. Do you have any other recommendations.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: client denied by server configuration

    Starting with the error msg. is the best option.

    If you need help in that area then you should post the complete error msg.--removing or substituting sensitive characters. See if the same error is caused in both; Zen Cart 'logs' dir. and hosting control panel Apache error log and paste both if needed.

  7. #7
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: client denied by server configuration

    This error only appears in the apache log.
    Zen Cart 'logs' show no error.

    This would be the full error
    [Sun Sep 24 18:04:34.713495 2017] [access_compat:error] [pid 29902:tid 140411898676992] [client 66.249.73.193:59263] AH01797: client denied by server configuration: /home/xxx/public_html/images/xxx/cwr

    **Please note that the path no longer exist
    Last edited by chadlly2003; 25 Sep 2017 at 12:00 PM.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: client denied by server configuration

    Add the following into your 'images/.htaccess' file or create one if necessary.

    Code:
    #############################
    ##  General Settings
    
    Options  +SymLinksIfOwnerMatch -FollowSymlinks -Indexes
    
    RewriteEngine ON
    
    #############################
    ##  Redirect for a dir. that has been removed.
    
    RewriteCond %{REQUEST_URI} xxx
    RewriteRule .? http://example.com/404.shtml [R=301,L]

    http = use https if using an SSL Cert
    xxx = name of previous dir.
    example.com = your domain name
    404.shtml <- make sure you have this file

  9. #9
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: client denied by server configuration

    Sorry but i don t understand what you mean by
    xxx = name of previous dir.

    can you explain. Would that be the folder path or a url

  10. #10
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: client denied by server configuration

    Okay I got it to work by using the code you gave me.

    I am still getting the error even when the pages are being redirect to mysite404.shtml.

    I also noticed that sometimes it works and sometimes it does not.

    Any thoughts

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h cpanel error log - client denied by server configuration
    By Interceptor in forum General Questions
    Replies: 12
    Last Post: 30 Sep 2015, 11:30 PM
  2. Replies: 24
    Last Post: 23 Sep 2011, 01:45 PM
  3. mod_security vs client denied by server configuration
    By gsdcypher in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 2 Jan 2010, 09:43 PM
  4. Client Denied by Server Configuration
    By fortun3 in forum General Questions
    Replies: 5
    Last Post: 18 Dec 2009, 06:38 PM
  5. client denied by server configuration - misconfigured host settings
    By RedGerry in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 5 Oct 2006, 04:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR