Hi everyone. I downloaded the most recent version of XAMPP and the local host was working fine, allowing me to have a little dabble with phpMyAdmin etc. I then went to set up a virtual host by doing the following;
1. in the windows 'hosts' file I added "127.0.0.1 apress"
2. httpd.conf file of apache 2.2.8 had this added
NameVirtualHost *
<VirtualHost *>
DocumentRoot "C:/Documents and Settings/Ed B/My Documents/Websites/Apress"
ServerName apress
</VirtualHost>
What happens now is the following error
======
Bad request!
Your browser (or proxy) sent a request that this server could not understand.
If you think this is a server error, please contact the webmaster.
Error 400
localhost
04/27/08 10:52:54
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
=======
This is absolutely killing me. I need to set up a virtualhost so I can test PHP in dreamweaver and I just CANNOT seem to set up a virtual host without this problem occuring. Even if it's just a guess, please do post some advice as I'm at my wit's end!
Best wishes Ed