Results 1 to 10 of 13

Hybrid View

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

    Default Re: cpanel error log - client denied by server configuration

    client denied by server configuration:
    - this indicates that a directive within your .htaccess prevented someone from doing something

    /home/mysite/public_html/includes/templates/mytemplate/css/none,
    - this is something that I'm starting to see more 'n more of and on various Servers with various versions of Zen Cart, seems to be more related to how the Server is configured than Zen Cart itself but puzzling nonetheless

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: cpanel error log - client denied by server configuration

    Just a hunch, without any proof yet, that it's caused by poor URL rewriters.

    Or templates that have replaced the original ZC code which calls files with actual .css extensions on them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: cpanel error log - client denied by server configuration

    Quote Originally Posted by Website Rob View Post
    /home/mysite/public_html/includes/templates/mytemplate/css/none,
    - this is something that I'm starting to see more 'n more of and on various Servers with various versions of Zen Cart, seems to be more related to how the Server is configured than Zen Cart itself but puzzling nonetheless
    This is not a 'server configuration' issue. It's just 'bad' code somewhere.

    Here's a nice video tutorial on how to find the cause.
    http://youtu.be/Ev-cLvYnJ_k

    Cheers
    Rod

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: cpanel error log - client denied by server configuration

    Nice catch, Rod.

    Just bad (sloppy) CSS coding, using invalid syntax like:
    Code:
    background:url(none)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: cpanel error log - client denied by server configuration

    Thanks to all that replied, you been a great help.

    Problem now solved.
    For those that took the time to reply, and to those that may stumble across this thread in the future, heres the cause.

    It turns out that there was 2 lines in my stylesheet.css which were causing the apache error logs.

    The line in question was

    background-image:url('none');

    apparently apache sees anything between the brackets as a valid url

    I did spot this before, but as I was editing the css file in FrontPage, when I edited the file to

    background-image: none;

    and clicked save, it would correct it back to the original line (albeit wrongly)

    So I changed my default editing software to Notepad++ and made the change again, and hey presto, no more error logs.

    So in a nut shell, dont use FrontPage for editing code

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: cpanel error log - client denied by server configuration

    Yup. FrontPage is THE WORST application for editing code.

    Indeed most applications by Microsoft are notoriously bad for coding/writing/designing for the web.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Oct 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: cpanel error log - client denied by server configuration

    Hi Folks,
    I think my issue is similar, but caused by looking at a category and paging through the products in the category.

    From my home page, I select the category "Christmas Goodies". When I do this I see the first 24 products in that category. I can then use the [Next >>] link to go to the next 24 products. I can also choose the page number to jump to as well.

    In my situation, given the category of "Christmas Goodies" I can select [Next>>] to go to page 2, then page 3, but at page 4 I get a blank screen. When I got the blank screen I also see the following errors in my error log:

    [Wed Sep 30 10:48:29 2015] [error] [client 24.147.42.112] client denied by server configuration: /home/TheUser/public_html/includes/js, referer: http://www.jollygrub.com/abritish-ch...ort=20a&page=4
    [Wed Sep 30 10:48:26 2015] [error] [client 24.147.42.112] client denied by server configuration: /home/TheUser/public_html/includes/js, referer: http://www.jollygrub.com/abritish-ch...ort=20a&page=3
    [Wed Sep 30 10:48:26 2015] [error] [client 24.147.42.112] client denied by server configuration: /home/TheUser/public_html/includes/js, referer: http://www.jollygrub.com/abritish-ch...ort=20a&page=3

    Now, the path show of "/home/jollygru/public_html/includes/js" does not exist as a directory or a file.

    I think that getting the blank page is the result of this error, but I am not sure where to locate the problem.

    Can anyone point me in the right direction?

    Thanks in advance!!!

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

    Default Re: cpanel error log - client denied by server configuration

    You need to find out what products show on page 4 I think, because page 5 and 6 also work fine. My guess is you have a product that makes a call to that specific path.

 

 

Similar Threads

  1. Replies: 24
    Last Post: 23 Sep 2011, 01:45 PM
  2. 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
  3. Client Denied by Server Configuration
    By fortun3 in forum General Questions
    Replies: 5
    Last Post: 18 Dec 2009, 06:38 PM
  4. 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

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