View Full Version : DocumentRoot as a network location
05-30-2010, 11:40 PM
This seems like it would be an extremely easy task but it isn't working for me. Basically I'm employing WAMP and trying to get Apache's DocumentRoot and Directory to be a server location (ie: \\myserver\path\to\doc\root).
When I put that in, however, the apache server doesn't start up. Moreover, I tried mapping the network location to a drive letter however no dice on that either.
Any ideas on how I can accomplish this?
Thanks for ANY assistance you can offer!!
05-30-2010, 11:58 PM
What does the error log say?
05-31-2010, 12:27 AM
Unfortunately it doesn't say anything, no mention of any error whatsoever. The service just doesn't start. (If you're familiar with WAMP's indicator it stops at "yellow").
Before I posted this I did hours of researching and the closest thing I could get is that the service doesn't have permission to access the network location. So I went into services and specified that it login using my account (which has access to the network location). Still no dice, though.
This forum posting (http://forums.whirlpool.net.au/forum-replies-archive.cfm/1129557.html) is the closest I could find to my prediciment. The solution, though, didn't work for me (assuming I did it right). It may be relevant that I'm trying to do this in httpd.conf and not a virtual host file.
05-31-2010, 05:08 AM
Yeah, I am familiar with WAMP's yellow icon. You generally get an error in the Apache error log, or the Windows error log. If that fails, try starting Apache from the command line.
05-31-2010, 11:18 PM
Try looking in the event viewer for windows to see if it has any error messages about apache. The other alternative is to open a command window and try starting apache interactively, it should print out any error messages to the console so you can see why it didn't start.
06-01-2010, 12:42 PM
most info I see on web suggests (seems to work for some & not for others) UNC path such as //192.168.$network.$ip/share (with forward slashes) also see this page... http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.