Page 1 of 1

Use htdocs on NAS

PostPosted: 05. July 2009 20:26
by MaxG
Hello everyone!

I have tried to use my htdocs from NAS without success. I used IP address, mapped drive (Z:\) etc.
Apache 2.2.8 (WinXP Pro) says: "The requested operation has failed!".
The error-log file does not record anything.
The configuration file has the general directory settings like this:

<Directory "/">
Options FollowSymLinks Includes Indexes MultiViews
Allow from all
Order allow,deny
AllowOverride All
</Directory>

How to setup my Apache to run websites from a Network drive? :roll:

Max

Re: Use htdocs on NAS

PostPosted: 05. July 2009 21:40
by Wiedmann
mapped drive (Z:\)

You must use UNC paths. And Apache must run with a user which have access privileges to this share.

Re: Use htdocs on NAS

PostPosted: 06. July 2009 12:36
by MaxG
I'm logged in on NAS. I have tried with UNC paths Windows-like and Unix-like.
The response is always the same: "The requested operation has failed!"

What i have to configure?

Re: Use htdocs on NAS

PostPosted: 10. July 2009 11:42
by MaxG
Can anyone help me?

Re: Use htdocs on NAS

PostPosted: 10. July 2009 12:33
by Nobbie
Probably the SYSTEM User (which executes the services) does not have sufficient rights to access the NAS. Or the NAS is not already connected when Apache Services starts.

You may try to start Apache not as a service, but manually after you have started Windows. It is then executed with your UserID instead of System and the NAS will be connected to your LAN.

Re: Use htdocs on NAS

PostPosted: 10. July 2009 16:42
by MaxG
Nobbie wrote:Probably the SYSTEM User (which executes the services) does not have sufficient rights to access the NAS. Or the NAS is not already connected when Apache Services starts.

You may try to start Apache not as a service, but manually after you have started Windows. It is then executed with your UserID instead of System and the NAS will be connected to your LAN.


I'm logged on Nas before start Apache Service... How to verify the error?