Using other folder than HTDOCS
Posted: 15. October 2009 14:23
Hello Everyone,
I am a bit new to this, so please take it easy on me. I am trying to set up me xampp at home like I have it set up at work. They don't store the main site under HTDOCS, but instead under a folder called 'vhost'.
In my http-vhosts.conf, I have my virtualhosts set up as such:
When I first tried it, it was blocking me. I fixed that, but it still doesn't seem to be able to find the directory. It comes up as object not found. What am I missing here?
I am a bit new to this, so please take it easy on me. I am trying to set up me xampp at home like I have it set up at work. They don't store the main site under HTDOCS, but instead under a folder called 'vhost'.
In my http-vhosts.conf, I have my virtualhosts set up as such:
- Code: Select all
<VirtualHost *:80>
ServerName www.mysite.com
ServerAlias mysite.com
DocumentRoot "C:/xampp/vhost/trunk/htdocs"
</VirtualHost>
When I first tried it, it was blocking me. I fixed that, but it still doesn't seem to be able to find the directory. It comes up as object not found. What am I missing here?