Maks00088
@Maks00088
Обучаюсь Java/JavaEE /Php/Js

Почему не загружается Apache через XAMP?

При данной конструкции в файле httpd-vhosts сервер не загружается ..
C:\xampp\apache\conf\extra\httpd-vhosts.conf :
** После того как я коментирую всё что откаментировал и настроил под себя в файле .. сервер загружается .. Почему ??
<VirtualHost *:80>
    ##ServerAdmin webmaster@dummy-host.example.com
    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 в XAMP консоли ..
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.
  • Вопрос задан
  • 614 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы