1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

nginx error

Discussion in 'Server Configuration and Hosting' started by ankurs, Apr 21, 2012.

  1. ankurs

    ankurs Well-Known Member

    PC with only characters like ! . , results in "403 Forbidden" erorr

    example url http://www.domain.com/conversations/.1234/unread

    from error.log
    [error] 53402#0: *1791175 access forbidden by rule, client: x.x.x.x., server: www.domain.com, request: "GET /conversations/.1234/unread HTTP/1.1", host: "www.domain.com"
    this is my conf
    location / {
            try_files                      $uri $uri/ /index.php?$uri&$args;
    location /(data|internal_data|library)/ {
    location ~ \.php$ {
            #try_files $uri /index.php
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include        fastcgi_params;
  2. p4guru

    p4guru Well-Known Member

    ChemicalKicks likes this.
  3. ChemicalKicks

    ChemicalKicks Well-Known Member

Share This Page