Edit: Solved: Stupid me. I had forgotten to switch on rewrite_module
This morning my computer crashed so I needed to re-install WAMP. I have enabled Virtual Hosts:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
I have the Virtual Hosts set up the right way:
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/Mercurius/www/"
ServerName mercurius.local
SetEnv APPLICATION_ENV development
<Directory "c:/wamp/www/Mercurius/www/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "c:/wamp/logs/Mercurius-error.log"
CustomLog "c:/wamp/logs/Mercurius-access.log" common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/Veldhovenfoto/public_html/"
ServerName veldhovenfoto.local
SetEnv APPLICATION_ENV development
<Directory "c:/wamp/www/Veldhovenfoto/public_html/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "c:/wamp/logs/Veldhovenfoto-error.log"
CustomLog "c:/wamp/logs/Veldhovenfoto-access.log" common
</VirtualHost>
I have configured the windows Hosts file:
127.0.0.1 mercurius.local
127.0.0.1 veldhoven.local
I restarted WAMP but without success sofar.
This is what the Apache error log is returning:
[Fri Aug 07 10:07:59.360259 2015] [core:notice] [pid 888:tid 392] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Aug 07 10:07:59.362760 2015] [mpm_winnt:notice] [pid 888:tid 392] AH00418: Parent: Created child process 1348
[Fri Aug 07 10:08:00.734296 2015] [mpm_winnt:notice] [pid 1348:tid 324] AH00354: Child: Starting 64 worker threads.
[Fri Aug 07 10:08:30.774506 2015] [mpm_winnt:notice] [pid 888:tid 392] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Aug 07 10:08:32.802509 2015] [mpm_winnt:notice] [pid 1348:tid 324] AH00364: Child: All worker threads have exited.
[Fri Aug 07 10:08:32.833709 2015] [mpm_winnt:notice] [pid 888:tid 392] AH00430: Parent: Child process 1348 exited successfully.
[Fri Aug 07 10:08:35.641635 2015] [mpm_winnt:notice] [pid 3544:tid 396] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Aug 07 10:08:35.641635 2015] [mpm_winnt:notice] [pid 3544:tid 396] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Aug 07 10:08:35.641635 2015] [core:notice] [pid 3544:tid 396] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Aug 07 10:08:35.644135 2015] [mpm_winnt:notice] [pid 3544:tid 396] AH00418: Parent: Created child process 2136
[Fri Aug 07 10:08:38.265594 2015] [mpm_winnt:notice] [pid 2136:tid 324] AH00354: Child: Starting 64 worker threads.
[Fri Aug 07 10:08:39.788061 2015] [mpm_winnt:notice] [pid 3544:tid 396] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Aug 07 10:08:41.865290 2015] [mpm_winnt:notice] [pid 2136:tid 324] AH00364: Child: All worker threads have exited.
[Fri Aug 07 10:08:41.924041 2015] [mpm_winnt:notice] [pid 3544:tid 396] AH00430: Parent: Child process 2136 exited successfully.
[Fri Aug 07 10:08:55.655194 2015] [mpm_winnt:notice] [pid 2900:tid 400] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Fri Aug 07 10:08:55.655194 2015] [mpm_winnt:notice] [pid 2900:tid 400] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Fri Aug 07 10:08:55.655194 2015] [core:notice] [pid 2900:tid 400] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Fri Aug 07 10:08:55.655194 2015] [mpm_winnt:notice] [pid 2900:tid 400] AH00418: Parent: Created child process 4080
[Fri Aug 07 10:08:58.619998 2015] [mpm_winnt:notice] [pid 4080:tid 324] AH00354: Child: Starting 64 worker threads.
I have no idea what I’m doing wrong, or what I should adjust. Any help would be very much appreciated
Solved: This is solved. Stupid me. I had forgotten to switch on rewrite_module