I've just done a fresh install of xampp.
I went into the httpd.conf and entered the following at the end of the file,
- Code: Select all
<VirtualHost kbw.stevepc:80>
DocumentRoot "V:/Work/KBW/Website/Build.WD/"
ServerName kbwweb
ServerAdmin admin@somewhere.co.uk
<Directory "V:/Work/KBW/Website/Build.WD/">
Options Indexes FollowSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I then went into my windows host file and added,
- Code: Select all
127.0.0.1 kbw.stevepc
When I restart apache (and it does start without leaving anything in the error log) any address I try to access, including the bog standard localhost xampp panel, gives me a server error.
I know it has something to do with my address 'kbw.stevepc' as 'localhost:2000' works.
Am I missing something or am I doing something I'm not allowed to?
Thanks.