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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Help installing 2.2.2 on XAMPP outside of normal document root


Go to End


1630 Views

Avatar
Hankster

Community Member, 14 Posts

20 June 2008 at 10:04am

Edited: 20/06/2008 10:04am

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