HTTP status code (Apache parsing PHP 403 error)

Source: Internet
Author: User

200-Server successfully returned to Web page

301 (permanent move)-the requested page has been permanently moved to a new location. When the server returns this response (a response to a GET or HEAD request), the requestor is automatically forwarded to the new location. You should use this code to tell Googlebot that a Web page or Web site has been permanently moved to a new location.

302 (temporary Move)-the server is currently responding to a request from a Web page in a different location, but the requestor should continue to use the original location to respond to subsequent requests. This code, similar to the 301 code that responds to the GET and HEAD requests, automatically transfers the requestor to a different location, but you should not use this code to tell Googlebot that a Web page or site has moved because Googlebot continues to crawl the original location and index it.

403 (Forbidden)-The server rejects the request. The solution is as follows:

1. Access to the document permissions is insufficient. More than 755 permissions. WORKAROUND: Use the command chmod 755/var/www/or other appropriate directory.

2. The reason for selinux or firewalls. Workaround: First turn off SELinux and let the firewall pass the WWW service.

3.

<directory/>
Options followsymlinks
allowoverride None
Order Deny,allow
allow from all
</Directory>

4. InAddType application/x-gzip. gz. tgzthe line is added below:addtype application/x-httpd-php. PHP

5. The DirectoryIndex index.html The line is changed to directoryindex index.html index.htm index.php

404-The requested page does not exist

503-Server Timeout


HTTP status code (Apache parsing PHP 403 error)

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.