Run xampp local but pull sites from network dive

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Run xampp local but pull sites from network dive

Postby thors1982 » 20. April 2010 14:44

Is it possible to run xampp Local but pull from network drive

I tried installing xampp on C:\xampp\

Then changing the DocumentRoot to F:\Web_Sites\ and its not working at all apache throws an error

Syntax error on line 188 of C:/xampp/apache/conf/httpd.conf:
DocumentRoot must be a directory


Is there a better way of doing this? I installed Xampp with directories not portable, but I thought I needed that to run services. (I have never used Xampp with services so not sure what that will change)
thors1982
 
Posts: 4
Joined: 20. April 2010 14:40

Re: Run xampp local but pull sites from network dive

Postby MoodyMammoth » 20. April 2010 15:03

Hi,

your mistake is that you wrote the path in windows style.
Try F:/web_sites and that should work.

Best Regards
Manfred
MoodyMammoth
 
Posts: 7
Joined: 19. August 2009 08:51

Re: Run xampp local but pull sites from network dive

Postby thors1982 » 20. April 2010 15:19

I am afraid I am still getting the same problem. Is it because it is a network drive and not another partition?

Thanks for the help though
thors1982
 
Posts: 4
Joined: 20. April 2010 14:40

Re: Run xampp local but pull sites from network dive

Postby MoodyMammoth » 20. April 2010 15:34

Hi,

I checked that and you seemed to be right.
It doesn't work with network drives.

Best Regards
Manfred
MoodyMammoth
 
Posts: 7
Joined: 19. August 2009 08:51

Re: Run xampp local but pull sites from network dive

Postby Nobbie » 20. April 2010 18:45

MoodyMammoth wrote:It doesn't work with network drives.


It does, but you have to know what your doing:

a network drive letter is created AFTER you have logged in into your windows. But first of all the services (like Apache) are started - at this time THERE IS NO DRIVE LETTER F:

If you want to use drive letters, you have to start Apache AFTER you have logged in (you can start Apache manually for example). Or dont use driveletters, apply the UNC Path of the DocumentRoot instead (like "\\servername\pathname").
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: Run xampp local but pull sites from network dive

Postby MC10 » 26. April 2010 03:04

Would a service with a "Delayed Start" work?
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Run xampp local but pull sites from network dive

Postby BigWetDog » 26. April 2010 23:28

What version of Windows are you using?

You might try configuring the Apache service to be dependent on the Network Connections Service.
User avatar
BigWetDog
 
Posts: 148
Joined: 25. February 2010 15:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: DarthSidus and 59 guests