More in this section

Forums / Bugs & Issues / Need to make a PDF available on a very specific URL but can't do it

Need to make a PDF available on a very specific URL but can't do it

2 posts, 0 answered
  1. James
    James avatar
    1 posts
    30 Oct 2012
    30 Oct 2012
    Link to this post
    I have a website on SiteFinity 4.4. I need to make a document available on a very specific URL, i.e.

    If I just create a directory in the root of the site it does not work (503 error). The link has already been published in print and has to be exactly as specified. How do I solve this?

    Any help would be greatly appreciated.
  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    13 Aug 2007
    31 Oct 2012 in reply to James
    Link to this post
    Hey James,

    Sitefinity wouldn't block a folder. Adding a physical folder and dropping that report on the proper place should function, so it probably means you'll have to check your server configuration.

    Anyway, the fastest way outside Sitefinity, would be to just create a IIS rewrite rule.
    Make the http:/ the pattern and redirect them to the url of the document from the sitefinity library.

    When you upload a document to the library in sitefinity it gives you an direct url, something like /docs/defaultlibrary/document. You can verify the url by going to content >> documents and files and chose Embed link to this file. That gives you a pop-up with the url.

2 posts, 0 answered