access forbidden by rule

Discussion in 'General' started by mike.smith, Apr 29, 2023.

  1. mike.smith

    mike.smith New Member

    I'm using ISPConfig 3 multi server with a nginx server as a reverse proxy and some apache server as proxied servers
    I have a new website with wordpress and cscart platform which calls some controlers through get or post method when loading the page, but the server returns 403
    and logs "access forbidden by rule".
    What could be the problem?
    How can I find the rules that caused this problem?
    Last edited: Apr 30, 2023
  2. mike.smith

    mike.smith New Member

    I found the rule that was causing the problem on the nginx server.
    in mysite.vhost I removed this directive
    location ~ \.php$ {
    try_files /8f4bb938eb95e39ade6d4b0c6ce09029.htm @php;​
    by adding this line to the nginx Directives field:
    location ~ \.php$ {##delete##
    and the problem was solved.
    ahrasis likes this.

Share This Page