Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Access to TTF Files in Browser

Discussion in 'General Discussion' started by 007basaran, Feb 21, 2017.

Tags:
  1. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Hello, All

    When attempting to open a TTF file in a browser, I receive:

    403 Forbidden Error, .ttf?-i3a2kk | .woff?-i3a2kk | .woff2?-i3a2kk

    CHMOD 777.
    ALL MIME TYPES ACTIVE


    ERROR CODE : 403 Forbidden


    #### SOLVED #####

    Disable: MODSECURITY
    Disable: COMODO WAFF
     
    #1 007basaran, Feb 21, 2017
    Last edited: Feb 22, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the output from /usr/local/apache/logs/error_log when this happens? What MIME entries are enabled in the .htaccess file within the document root for this website?

    Thank you.
     
  3. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Code:
    [Removed - Please Remove Identifying Domain Names/IP Addresses From The Output]
    
     
  4. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Code:
    [root@cloud ~]# tail /usr/local/apache/logs/error_log
    [Tue Feb 21 11:48:06.786997 2017] [:error] [pid 4650] [client 95.10.230.83] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www..com"] [uri "/sayfa-bulunamadi"] [unique_id "WKxvRlcwvJyzWdDQ5aJPNwAAAAk"]
    [Tue Feb 21 11:48:06.787021 2017] [:error] [pid 4650] [client 95.10.230.83] ModSecurity: Rule processing failed. [hostname "www..com"] [uri "/sayfa-bulunamadi"] [unique_id "WKxvRlcwvJyzWdDQ5aJPNwAAAAk"]
    [Tue Feb 21 11:48:06.834025 2017] [:error] [pid 4650] [client 95.10.230.83] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "www..com"] [uri "/cgi-sys/ea-php56/404.php"] [unique_id "WKxvRlcwvJyzWdDQ5aJPNwAAAAk"]
    [Tue Feb 21 11:48:06.834220 2017] [:error] [pid 4650] [client 95.10.230.83] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "www..com"] [uri "/cgi-sys/ea-php56/404.php"] [unique_id "WKxvRlcwvJyzWdDQ5aJPNwAAAAk"]
    [Tue Feb 21 11:48:07.525288 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname ".com"] [uri "/yonetim"] [unique_id "WKxvR1lU9ygR4VXTdhwa2AAAAAY"]
    [Tue Feb 21 11:48:07.540838 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname ".com"] [uri "/yonetim"] [unique_id "WKxvR1lU9ygR4VXTdhwa2AAAAAY"]
    [Tue Feb 21 11:48:07.540905 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: Rule processing failed. [hostname "com"] [uri "/yonetim"] [unique_id "WKxvR1lU9ygR4VXTdhwa2AAAAAY"]
    [Tue Feb 21 11:48:07.544585 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: collection_store: Failed to access DBM file "/tmp/ip": Permission denied [hostname ".com"] [uri "/yonetim"] [unique_id "WKxvR1lU9ygR4VXTdhwa2AAAAAY"]
    [Tue Feb 21 11:48:07.544623 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname ".com"] [uri "/yonetim"] [unique_id "WKxvR1lU9ygR4VXTdhwa2AAAAAY"]
    [Tue Feb 21 11:48:07.544752 2017] [:error] [pid 4744] [client 141.8.143.212] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname ".com"] [uri "/yonetim"] [unique_id "
     
    #4 007basaran, Feb 21, 2017
    Last edited by a moderator: Feb 21, 2017
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Ensure you reproduce the 403 error output in your browser while running the following command:

    Code:
    tail -f /usr/local/apache/logs/error_log
    You are looking for the specific output that's added when you see the error code in your browser, as opposed to the entire recent output from the log.

    Thank you.
     
  6. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I Used This Command On Putty :
    tail -f /usr/local/apache/logs/error_log

    Nothing found 403 error.
     
  7. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    .ttf?-i3a2kk | Not Working
    .ttf | Working.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. 007basaran

    007basaran Active Member

    Joined:
    Feb 21, 2017
    Messages:
    40
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Turkey
    cPanel Access Level:
    DataCenter Provider
    Solved,

    Modsecurity, Comodo WAFF , blocking does not work for
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page