I've configured a virtualhost on httpd-vhost.conf to work a multisite:
- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@multisite-FIRSTDOMAIN.local
ServerName localhost
DirectoryIndex index.php index.html
DocumentRoot "C:/xampp/htdocs/blablabla"
<Directory>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
Satisfy Any
</Directory>
LogLevel warn
ErrorLog "logs/blablabla"
CustomLog "logs/blablabla-access.log" combined
ServerAlias FIRSTDOMAIN.com.local
ServerAlias www.FIRSTDOMAIN.com.local
ServerAlias SECONDDOMAIN.FIRSTDOMAIN.com.local
ServerAlias www.SECONDDOMAIN.FIRSTDOMAIN.com.local
</VirtualHost>
On mi host file I've set:
- Code: Select all
127.0.0.1 FIRSTDOMAIN.com.local
127.0.0.1 www.FIRSTDOMAIN.com.local
127.0.0.1 SECONDDOMAIN.FIRSTDOMAIN.com.local
127.0.0.1 www.SECONDDOMAIN.FIRSTDOMAIN.com.local
It is a drupal multisite development.
When I try to start Apache, It switches off suddenly.
11:34:55 [Apache] Attempting to start Apache app...
11:34:56 [Apache] Status change detected: running
11:34:56 [Apache] Status change detected: stopped
11:34:56 [Apache] Error: Apache shutdown unexpectedly.
11:34:56 [Apache] This may be due to a blocked port, missing dependencies,
11:34:56 [Apache] improper privileges, a crash, or a shutdown by another method.
11:34:56 [Apache] Press the Logs button to view error logs and check
11:34:56 [Apache] the Windows Event Viewer for more clues
11:34:56 [Apache] If you need more help, copy and post this
11:34:56 [Apache] entire log window on the forums
I get this log:
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:crit] [pid 4880:tid 388] AH02538: Child: Parent process exited abruptly. Child process is ending
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 64] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 01:19:45.070247 2015] [mpm_winnt:warn] [pid 4880:tid 2508] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Apr 17 16:07:58.636675 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.657451 2015] [core:warn] [pid 6600:tid 388] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Apr 17 16:07:58.719951 2015] [ssl:warn] [pid 6600:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Fri Apr 17 16:07:58.839177 2015] [core:notice] [pid 6600:tid 388] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 17 16:07:58.839177 2015] [mpm_winnt:notice] [pid 6600:tid 388] AH00418: Parent: Created child process 3016
[Fri Apr 17 16:07:59.202931 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.282684 2015] [ssl:warn] [pid 3016:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 17 16:07:59.307483 2015] [mpm_winnt:notice] [pid 3016:tid 384] AH00354: Child: Starting 150 worker threads.
[Fri Apr 17 19:24:16.449445 2015] [autoindex:error] [pid 3016:tid 1684] [client ::1:61475] AH01276: Cannot serve directory C:/xampp/htdocs/FOLDER/sites/FIRSTDOMAIN.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:crit] [pid 3016:tid 384] AH02538: Child: Parent process exited abruptly. Child process is ending
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 488] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 00:41:36.112016 2015] [mpm_winnt:warn] [pid 3016:tid 492] (OS 995)La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sat Apr 18 10:15:41.594689 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.610314 2015] [core:warn] [pid 928:tid 428] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 18 10:15:41.672814 2015] [ssl:warn] [pid 928:tid 428] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Sat Apr 18 10:15:41.798711 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Sat Apr 18 10:15:41.798711 2015] [core:notice] [pid 928:tid 428] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 18 10:15:41.799714 2015] [mpm_winnt:notice] [pid 928:tid 428] AH00418: Parent: Created child process 2136
[Sat Apr 18 10:15:42.169249 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.247373 2015] [ssl:warn] [pid 2136:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 18 10:15:42.278624 2015] [mpm_winnt:notice] [pid 2136:tid 384] AH00354: Child: Starting 150 worker threads.
Could you help me?
I'm sorry, but I can't show the real domains name because of a confidentiality agreement.