Alias with Offline Files and Mapped Network Drive
Posted by: Ardesco (---.in-addr.btopenworld.com)
Date: April 26, 2007 01:21AM

I can't seem to get this working.

What I want to do is set up an alias in Apach2 that links to a folder on a mapped network drive. This folder is set up to synchronise with the mapped folder so that files are available offline. (This way I can work on my laptop and as soon as I reconect to the network all the work is auto synched with file server)

The problem is Apache can't seem to see the Mapped drive (doesn't matter if I am on network or not).

I have created my alias as follows:

Alias /ardesco/ "Z:/foo/"

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

I have set Apache2 service to run as my user instead of system user, and I have made a modification in the registary to enable mapped network drives to be used with the admin token as well as the restricted user token by making the following modification:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLinkedConnections =(dword)1

Still I get a 404 when trying to navigate to my alias and i'm fast running out of ideas.
Can anybody offer any insight?

BTW this is on Vista Ultimate, hence the talk about tokens set in registry. UAC stops the admin portion of your account from seeing mapped drives that your restricted user part of the account can see.


Options: ReplyQuote


Sorry, only registered users may post in this forum.