Welcome to WebmasterWorld Guest from 54.166.224.46

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Changing the location of htdocs to a NAS drive?

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

5+ Year Member



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.

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

10+ Year Member



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/"

 

Featured Threads

Hot Threads This Week

Hot Threads This Month