In the local xampp running environment, when the browser accesses the local environment, ERR_CONNECTION_RESET appears.

Source: Internet
Author: User
Tags apache php
An environment is deployed locally, and apachephp runs normally. Echophpinfo(javaspboard.png] (imgbVF2CF) cannot be opened when the local website environment is opened. for example, why does the ssl module already be enabled in xampp? ApacheerrorlogAH00112: Warning: D...

An environment is deployed locally, and apache php is running normally. Echo phpinfo ()

Pboard.png] (/img/bVF2CF)

However, it cannot be opened when the local website environment is opened: for example:

The ssl module has been enabled in xampp.

Why?

Apache errorlog

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:32:17. 419428 2016] [ssl: warn] [pid 5936: tid 608] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:32:17. 445843 2016] [mpm_winnt: notice] [pid 5936: tid 608] AH00354: Child: Starting 150 worker threads.
[Fri Nov 25 11:33:22. 663569 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00428: Parent: child process 5936 exited with status 3221225477 -- Restarting.
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 063262 2016] [ssl: warn] [pid 6500: tid 604] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:33:23. 087278 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Fri Nov 25 11:33:23. 087278 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Fri Nov 25 11:33:23. 087278 2016] [core: notice] [pid 6500: tid 604] AH00094: Command line: 'D: \ xampp2 \ apache \ bin \ httpd.exe-d:/xampp2/apache'
[Fri Nov 25 11:33:23. 089281 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00418: Parent: Created child process 4480
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 459542 2016] [ssl: warn] [pid 4480: tid 568] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 551973 2016] [ssl: warn] [pid 4480: tid 568] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:33:23. 576003 2016] [mpm_winnt: notice] [pid 4480: tid 568] AH00354: Child: Starting 150 worker threads.

Reply content:

An environment is deployed locally, and apache php is running normally. Echo phpinfo ()

Pboard.png] (/img/bVF2CF)

However, it cannot be opened when the local website environment is opened: for example:

The ssl module has been enabled in xampp.

Why?

Apache errorlog

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:32:17. 419428 2016] [ssl: warn] [pid 5936: tid 608] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:32:17. 445843 2016] [mpm_winnt: notice] [pid 5936: tid 608] AH00354: Child: Starting 150 worker threads.
[Fri Nov 25 11:33:22. 663569 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00428: Parent: child process 5936 exited with status 3221225477 -- Restarting.
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 063262 2016] [ssl: warn] [pid 6500: tid 604] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:33:23. 087278 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Fri Nov 25 11:33:23. 087278 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Fri Nov 25 11:33:23. 087278 2016] [core: notice] [pid 6500: tid 604] AH00094: Command line: 'D: \ xampp2 \ apache \ bin \ httpd.exe-d:/xampp2/apache'
[Fri Nov 25 11:33:23. 089281 2016] [mpm_winnt: notice] [pid 6500: tid 604] AH00418: Parent: Created child process 4480
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 459542 2016] [ssl: warn] [pid 4480: tid 568] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/frontend] does not exist
[Fri Nov 25 11:33:23. 551973 2016] [ssl: warn] [pid 4480: tid 568] AH01909: www.example.com: 443: 0 server certificate does NOT include an ID which matches the server name
[Fri Nov 25 11:33:23. 576003 2016] [mpm_winnt: notice] [pid 4480: tid 568] AH00354: Child: Starting 150 worker threads.

The connection is reset, and the configuration items of php. ini are

Change session. use_only_cookies to 1

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.