Chapter 1: You: Programmer and Search Engine Marketer
DocumentRoot “C:/Program Files/xampp/htdocs”
Options Indexes FollowSymLinks
Allow from all
To make sure
gets processed when Apache starts, open
and make sure this line, located somewhere near the end of the file, isn’t
# Virtual hosts
Restart Apache for the new configuration to take effect. The easiest way to restart Apache is to
open the XAMPP Control Panel, and use it to stop and then start the Apache service.
In case you run into trouble, the first place to check is the Apache error log file. In the default XAMPP
installation, this is
To test your new virtual host, create a new file named
type this code in it:
and expect to see a page like the one in
This way you’ve also tested that your PHP installation is working correctly.
In order for
to continue working after you create a virtual host,
you need to define and configure it as a virtual host as well — this explains why
we’ve included it in the vhosts file. If you have any important applications working
, make sure they continue to work after you restart
Apache at the end of this exercise.
c01.qxd:c01 10:38 10
Bitcoin Gambling - The Original Crypto Dice Game . View here