homepage Welcome to WebmasterWorld Guest from 54.161.202.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Changing the location of htdocs to a NAS drive?
madfiddler




msg:3357984
 2:00 pm on Jun 4, 2007 (gmt 0)

Hi,

I've just installed Apache etc onto my local windows PC for the first time as I'm wanting to learn basic PHP with includes etc.

I want to change htdocs to a location on my NAS drive rather a local drive. However, when I do this Apache crashed when I try to start it.

I can point it to any local drive/directory but any NAS drive/directory and it crashes.

Any thoughts on this please?

Thanks a lot,

Mark.

 

spinnercee




msg:3358024
 2:50 pm on Jun 4, 2007 (gmt 0)

It may be a better idea to Alias the NAS drive:

With Apache running as a service:
Alias /NAS/ "//nashost/NasSharename/NasPath/"

or if you run Apache in Win, and the drive is mapped (has a drive letter) you can do this:
Alias /NAS/ "N:/PathName/"

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved