This question is an exact duplicate of:
- Apache Virtual Hosts in XAMPP 1 answer
I've installed XAMPP on my Mac, and am trying to set up multiple virtual hosts.
I've changed the system hosts file to include the line
127.0.0.1 seo-reports.local and i've added the following to the XAMPP vhosts file
<VirtualHost *> DocumentRoot "/Users/Alex/Documents/Software Development/Web/seo-reports" ServerName seo-reports.local <Directory "/Users/Alex/Documents/Software Development/Web/seo-reports"> Order allow,deny Allow from all </VirtualHost>
If i go to an example file, eg: http://seo-reports.local/index.html - i get an error:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster. Error 404 seo-reports.local Sun Sep 4 14:02:13 2011 Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1