I am trying to resolve an issue that has come up as a result of planned migration from a single server solution to a distributed solution. A site (and interrelated batch processing scripts) has been running on a single server (IIS 6, win 2003) to two machines both are IIS 6, win 2003, the machines are as follows:
box1: Webserver
box2: MySQL & Files
scripts on box 1 need access to either a mapped drive and or a fully specified path (ie \\box2\intf or \\box2\d$)
I do not have control to set up the box myself (ahh the joys of the corporate world) so I need to be able to tell the admin team exactly what I need. I believe the following is correct:
1) Set up a Domain account for IIS to run under instead of the box1 local account
2) set IIS to use the above mentioned account on box1
3) grant full access to the needed directories on box2 to the domain account.
Impersonation should not be an issue since it is by default turned off and I have not ASP or ASP.NET on the box to turn it on in the config files.
I am already successfully accessing the MySQL data.
I believe that that should take care of everything, does it sound correct?
the following two lines are how we are accessing the files currently, and we would prefer to be able to use the files the same way if possible so as to avoid having to do more code tweaking than we currently have before us.
Expand|Select|Wrap|Line Numbers
- open(OUTFILE, '>' . $path . $seed_file) or die "Can't open output file. $@\n";
- printf OUTFILE "$user_id,$dts\n";