...

View Full Version : http://localhost/xampp/ "Object not found!"



JAG
08-16-2011, 09:20 PM
Hi guys, I use XAMPP to develop my site locally before uploading it to our remote server. I recently added a virtual host entry in my httpd-vhosts.conf file to run my site locally:

<VirtualHost *:80>
ServerName das
ServerAdmin webmaster@das.com
DocumentRoot /Websites/das.com/public
<Directory "/Websites/das.com/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

However, now when I try to use http://localhost/xampp/, it tells me Object not found!

How can I get both my new virtual host and the XAMPP setup page working correctly, without having to remove my virtual host entry and reloading Apache to be able to view the http://localhost/xampp/ page?

JAG
08-16-2011, 11:50 PM
Oops, got the answer. Turns out I needed to create a virtual host entry for the localhost as well:

<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@das.com
DocumentRoot /xampp/htdocs
<Directory "/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum