PHP Apache configuration After access appears bad Request (400)

Source: Internet
Author: User
Httpd.conf to DocumentRoot, too.
LoadModule Php5_module
AddType application/x-httpd-php. php
Phpinidir and so on, but do not know why access to PHP files or a bad Request (400)
, is there anyone who can answer what this is for?


Reply to discussion (solution)

If the configuration file is not a problem, it will be the browser cache problem
or something else.
1, first check is not IE set up a fault, you can first delete the IE cookies and internet temporary files. Open IE, click "Tools-internet Options" above the menu bar above, click on the "delete" file on the general options, then switch to "advanced-Restore Advanced settings" and restore it to the original settings. Now try to open the browser to see if the Web page shows the failure of the request. :
IE Restore Advanced settings

2, of course, if the failure is not resolved, it may be the browser page has failed, the page has not been resolved, try to use other computers to browse the page, if it is not possible to browse the phenomenon mentioned above, that is the problem of the Web page. This situation can only wait for the site to return to normal.
3, if not the problem of the web, it may also be the user's network failure. We check that the DNS and IP settings are correct and reset the DNS configuration error. Right click on "My Network Places-Properties-Find your local connection-right click on Properties", then the General tab has a drop-down connection using the project, select INTERNETF (TCP/IP) Click on the attribute selection is automatically obtained, it is best to check the local DNS fill in, If it is a LAN, you can fill in your gateway address on the primary DNS. The gateway address can be contacted by the network consulting provider.
The above is the Web page shows the description of the solution of bad request, I hope you have some help oh.



My PHP is on the server, another non-PHP site on the server can be run, but the PHP page cannot be displayed, the Web page has a bound domain name, the domain name is also resolved, in the local and other machines can not access, is the appearance of the bad request

Request PHP, there is the same problem, ask! Landlord if solved, trouble to share a bit!

  • 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.