- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin postmaster@localhost
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
ServerAlias www.localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" combined
<Directory "C:/xampp/htdocs">
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin postmaster@carrierscompete
DocumentRoot "C:/home/carriers/www"
ServerName carrierscompete
ServerAlias www.carrierscompete
ErrorLog "logs/carrierscompete-error.log"
CustomLog "logs/carrierscompete-access.log" combined
<Directory "C:/home/carriers/www">
AllowOverride All
</Directory>
</VirtualHost>
Here are some of the settings in httpd.conf:
- Code: Select all
ServerRoot "C:/xampp/apache"
Listen 80
ServerAdmin postmaster@localhost
ServerName localhost:80
DocumentRoot "C:/xampp/htdocs"
I think I really didn't change much, if anything, in httpd.conf.
However, whenever I put http://carrierscompete in the address bar of any browser, I get the 403 Access forbidden page.