documentroot on network share
Posted by: jeroensen (---.speed.planet.nl)
Date: January 21, 2008 08:47PM

Hi,

First I would like to thank all of those who are contributing to the WAMPserver project. I'm using it for over 2 years now, and I'm enjoying it every day.

Secondly I have a very wierd problem. I have some sites of which I would like the DocumentRoot of the virtualhost to be on a network share. I've mounted the share in explorer (Windows Vista Home Ultimate) under the letter X: (but I've tried other driveletters as well). I've set up my virtual host in the httpd-vhosts.conf like this:

<VirtualHost *:80>
ServerName imara.22vision.nl
ServerAdmin xxxxx@domain.nl
DocumentRoot X:/sites/imara.22vision.nl
ErrorLog logs/imara-error_log
CustomLog logs/imara-access_log common
</VirtualHost>

Then the strangest this occurs. When I try to start WAMPserver with wampmanager.exe it fails and a message popups up saying Apache has stopped working. But when I start Apache manually by clicking httpd.exe (or by cmd -> httpd.exe) Apache works fine and no errors arise.

I thought that usergroups had something to to with it so I tried it as another user but the same thing occurred. It seems that when installing Apache as a server no networkshares of any kind can be used as a DocumentRoot.

Has anybody had this situation before? And, even more important, is there a way to get Apache running smooth by, for example, adding the wampmanager.conf?

All help would be appriciated.

Options: ReplyQuote


Sorry, only registered users may post in this forum.