1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Getting 404 error after enabling modsecurity

Discussion in 'Web Hosting' started by thenetedge, Mar 20, 2019.

  1. #1
    Hi,

    I have Cpanel/WHM. I have enabled modsecurity on my whm server. After enabling it I have started getting 404 not found error in some of the operations of my admin area.
    SEMrush
    How can I resolve it ?
     
    thenetedge, Mar 20, 2019 IP
    SEMrush
  2. UnderHost_MSA

    UnderHost_MSA Notable Member

    Messages:
    1,191
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    200
    #2
    I assume you have some knowledge of Linux server/cPanel, you will need to check mod_security logs and check the rules that your script get caught with and disabled or rearrange mod_security rules accordingly.

    Usually
    /etc/apache2/logs/modsec_audit.log

    Do you use your own rules or using waf or another free modsec rules?

     
    UnderHost_MSA, Apr 3, 2019 IP
  3. dts-net

    dts-net Well-Known Member

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    170
    #3
    also contact cpanel support
     
    dts-net, Apr 9, 2019 IP