- Code: Select all
NameVirtualHost 127.0.0.1:8012
<VirtualHost 127.0.0.1:8012>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost 127.0.0.1:8012>
DocumentRoot "C:/Shares/VAS/VAS PHP System"
ServerName vaslive.local
<Directory "C:/Shares/VAS/VAS PHP System">
Options All
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>
My XAMPP port is set to 8012 - works fine on the default local host. Any idea why I get error 404?
Using Windows Server 2012 R2. Hosts file also amended as required.