Remote data file...from windows apache server
am 03.01.2008 20:43:09 von priolof
Hi am using a cgi procedure with apache 2.49 on windows xp . I need
to open and write on some data file that are installed on another pc
that is connected as local drive (for examples F:\ ect.ect ) as drive
available on the computer resources for write and read.
Accessing the files the software issues an access wrong message..
I have tried (unsucesfully) the directive " by adding
inside the F:\DATAPATH (where datapath is the location from i need
open files)
Thanks
Federico
Italy
Re: Remote data file...from windows apache server
am 04.01.2008 02:56:15 von Kees Nuyt
On Thu, 3 Jan 2008 11:43:09 -0800 (PST), priolof@libero.it
wrote:
>Hi am using a cgi procedure with apache 2.49 on windows xp . I need
>to open and write on some data file that are installed on another pc
>that is connected as local drive (for examples F:\ ect.ect ) as drive
>available on the computer resources for write and read.
>Accessing the files the software issues an access wrong message..
>
>I have tried (unsucesfully) the directive " by adding
>inside the F:\DATAPATH (where datapath is the location from i need
>open files)
>
>
>Thanks
>Federico
>Italy
1) The Apache service runs in another user-id, which
probabgly doesn't have access to any network shared
directories. You can change the user-ID into one that does
have access to the shares.
2) All path expressions in httpd.conf should use forward
slashes, so F:\DATAPATH is incorrect, should be
F:/DATAPATH
3) Also, you must use the UNC name of the directories, as
in //fileservername/sharename/path/to/dir , not
F:/path/to/dir, because the diskletter assignments are
only valid during an end-user login, not service logins.
HTH
--
( Kees
)
c[_] Rules are for the guidance of the Wise, and blind
observance of Fools. (Oscar Wilde) (#291)