Nginx problem, I access other paths no problem, this path is an error

Source: Internet
Author: User

Access to this is a mistake:

Read the log:

Reply content:

Access to this is a mistake:

Read the log:

The master gives the configuration is not complete, I follow the existing to tell the possibility of error:

  • The directory that is accessed in log is D:/nginx_project/whois/whois , maybe the main thing is actually want to access D:/nginx_project/whois under the things, then is the configuration where the problem.

  • If it is to access D:/nginx_project/whois/whois , then please ensure that there are index.* files, otherwise there will be 403 errors.

  • Finally, it's a little strange. Why the browser will have redirected information ....

Nginx did not read the permissions of the file?

What frame do you use, if you are using Laravel, root to refer to the public folder

Debugging AH.

Slag slag windows, so easy things, first use nginx account, direct access to this directory to try Ah. Do not open Filemon.exe, no longer the Nginx source-level debugging Ah, slag residue windows above the solar system is the strongest IDE, afraid of hair ah.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.