Regarding UseRelativeLinks

  •  03-16-2006, 7:29 AM

    Regarding UseRelativeLinks

    Hi,

     I have a web application deployed on a real server www.mydomain.com/AppName. where “AppName” is the virtual directory.

     I set both UseRelativeLinks and RemoveServerNamesFromUrl to true.

     My Upload folder set to "~/Files".

     When I Upload file; the url looks like /AppName/Files/UploadedFileName.xxx.

     Actually, what I expect is to get the url like “Files/ UploadedFileName.xxx” .

     Is this normal behavior? If yes is there any way to get the URL with out virtual directory?   

     Thanks

View Complete Thread