Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Help installing 2.2.2 on XAMPP outside of normal document root


Reply

1269 Views

Avatar
Hankster

20 June 2008 at 10:04am (Last edited: 20 June 2008 10:04am), Community Member, 14 Posts

Hi, I've been really impressed with what I have seen in SilverStripe and its user community and want to dig in a little deeper. To do that, I have a XAMPP 1.6.6.a running and would like to install SilverStripe *outside* of the normal document root (c:\xampp\ss) on my local machine in order to duplicate the production environment within our org. I have been trying to make changes to the httpd-vhosts.conf file to allow me to find the silverstripe site by using something like "ss.com" and localhost for everything else, but I can't get anything to work. I've added ss.com to my hosts file and that works, but any time that I make a change to the httpd-vhosts.conf file, XAMPP won't restart and errors out with a nondescript error. My conf file looks like this:

NameVirtualHost *:80

<VirtualHost *:80>
   ServerName ss.com
   DocumentRoot /xampp/ss
</VirtualHost>

<VirtualHost *:80>
   ServerName localhost
   DocumentRoot /xampp/htdocs
</VirtualHost>

Any ideas??? Am I way off base to try this?

Thanks,
Henry