M
M
Maks Burkov2017-04-28 21:43:35
Apache HTTP Server
Maks Burkov, 2017-04-28 21:43:35

Why is Apache not loading via XAMP?

With this construction in the httpd-vhosts file, the server does not load
.
.. Why ??

<VirtualHost *:80>
    ##ServerAdmin [email protected]
    DocumentRoot "C:/xampp/htdocs/sites/couponsystem"
    ServerName couponsystem.com
    ServerAlias www.couponsystem.com
    ErrorLog "logs/couponsystem.com.error.log"
    CustomLog "logs/couponsystem.com.access.log"
    ##common
</VirtualHost>

Log in XAMP console..
Attempting to start Apache app...
9:32:43 PM  [Apache] 	Executing "c:\xampp\apache\bin\httpd.exe"
9:32:43 PM  [Apache] 	Return code: 0
9:32:43 PM  [Apache] 	Status change detected: running
9:32:44 PM  [Apache] 	Status change detected: stopped
9:32:44 PM  [Apache] 	Error: Apache shutdown unexpectedly.
9:32:44 PM  [Apache] 	This may be due to a blocked port, missing dependencies, 
9:32:44 PM  [Apache] 	improper privileges, a crash, or a shutdown by another method.
9:32:44 PM  [Apache] 	Press the Logs button to view error logs and check
9:32:44 PM  [Apache] 	the Windows Event Viewer for more clues
9:32:44 PM  [Apache] 	If you need more help, copy and post this
9:32:44 PM  [Apache] 	entire log window on the forums

Apache error logs:
[Fri Apr 28 21:30:42.524977 2017] [ssl:warn] [pid 7012:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:30:42.552217 2017] [core:warn] [pid 7012:tid 380] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 28 21:30:42.608394 2017] [ssl:warn] [pid 7012:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:30:42.678206 2017] [mpm_winnt:notice] [pid 7012:tid 380] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 configured -- resuming normal operations
[Fri Apr 28 21:30:42.678206 2017] [mpm_winnt:notice] [pid 7012:tid 380] AH00456: Apache Lounge VC11 Server built: Dec 20 2016 13:02:04
[Fri Apr 28 21:30:42.678206 2017] [core:notice] [pid 7012:tid 380] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 28 21:30:42.679184 2017] [mpm_winnt:notice] [pid 7012:tid 380] AH00418: Parent: Created child process 6800
[Fri Apr 28 21:30:42.988143 2017] [ssl:warn] [pid 6800:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:30:43.065356 2017] [ssl:warn] [pid 6800:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:30:43.096424 2017] [mpm_winnt:notice] [pid 6800:tid 384] AH00354: Child: Starting 150 worker threads.
[Fri Apr 28 21:33:40.946138 2017] [ssl:warn] [pid 6064:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:33:40.973378 2017] [core:warn] [pid 6064:tid 384] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 28 21:33:41.026525 2017] [ssl:warn] [pid 6064:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:33:41.055566 2017] [mpm_winnt:notice] [pid 6064:tid 384] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 configured -- resuming normal operations
[Fri Apr 28 21:33:41.055566 2017] [mpm_winnt:notice] [pid 6064:tid 384] AH00456: Apache Lounge VC11 Server built: Dec 20 2016 13:02:04
[Fri Apr 28 21:33:41.055566 2017] [core:notice] [pid 6064:tid 384] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 28 21:33:41.056568 2017] [mpm_winnt:notice] [pid 6064:tid 384] AH00418: Parent: Created child process 7660
[Fri Apr 28 21:33:41.372407 2017] [ssl:warn] [pid 7660:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:33:41.446640 2017] [ssl:warn] [pid 7660:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 28 21:33:41.476685 2017] [mpm_winnt:notice] [pid 7660:tid 384] AH00354: Child: Starting 150 worker threads.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question