Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I have a question that I thought would have lots of answers to it, but I can't seem to find much. The media folder lives in the root, but for Source Control and Deployment reasons we want to move it to a network path.
I have tried:
<add key="virtualRoot" value="UNCPATH" />
and:
<add key="rootPath" value="\\webtest10\c$\media\" /><add key="rootUrl" value="~/media"/>
But neither settings work correctly i.e. the images are not rendered. I have also just tried a virtual directory in IIS, which again did not work.
Any help would be greatly appreciated.
Regards,
Al
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Moving the media folder to a network path
Hi all,
I have a question that I thought would have lots of answers to it, but I can't seem to find much. The media folder lives in the root, but for Source Control and Deployment reasons we want to move it to a network path.
I have tried:
<add key="virtualRoot" value="UNCPATH" />
and:
<add key="rootPath" value="\\webtest10\c$\media\" />
<add key="rootUrl" value="~/media"/>
But neither settings work correctly i.e. the images are not rendered. I have also just tried a virtual directory in IIS, which again did not work.
Any help would be greatly appreciated.
Regards,
Al
is working on a reply...