Hi,
Have a small issue that I hope someone might be able to help with. Using the filemanager, I'm trying to get a correct path to the UserFiles folder. Basically I have several sites running under localhost, and when I drop an image in its using "/mysite1/UserFiles/" as the relative path rather than the "/UserFiles/" path that I need - this isn't a problem during development but when I put the site onto a live server its not going to be pathed properly.
I've had a play with a variety of configurations for the UserFilesPath and UserFilesAbsolutePath, but the only other way I can get it to work is it creates a UserFiles folder under localhost - which again is no use as all the development sites will try and use this same folder.
Anyone have a solution for this? I'm using ASP.net so I've tried using the tilde "~" to set the path to root of the site rather than localhost but it doesn't seem to work.
Any suggestions or help appreciated
cheers
Have a small issue that I hope someone might be able to help with. Using the filemanager, I'm trying to get a correct path to the UserFiles folder. Basically I have several sites running under localhost, and when I drop an image in its using "/mysite1/UserFiles/" as the relative path rather than the "/UserFiles/" path that I need - this isn't a problem during development but when I put the site onto a live server its not going to be pathed properly.
I've had a play with a variety of configurations for the UserFilesPath and UserFilesAbsolutePath, but the only other way I can get it to work is it creates a UserFiles folder under localhost - which again is no use as all the development sites will try and use this same folder.
Anyone have a solution for this? I'm using ASP.net so I've tried using the tilde "~" to set the path to root of the site rather than localhost but it doesn't seem to work.
Any suggestions or help appreciated
cheers