Hi @PMario,

I followed the IIS setup guide on tiddlywiki.com.  Yes I used the MyApp 
subdirectory directions.

I am not using it to serve static files per say, but the way I display 
images/pdfs/etc... in my tiddlers is like this --> [img[./files/test.jpg]

I use tiddlywiki as a personal notebook and have a large directory of PDFs, 
Images, files etc.  I use external links to display them from tiddlyiwki.

A sample tiddler is:

--------------------------
!TEST

//this is a test tiddler//

This is how you display an image in tiddlywiki

[img[./files/test.jpg]
--------------------------

On Thursday, February 11, 2021 at 3:59:44 PM UTC-5 PMario wrote:

> Hi, 
> I think there is a configuration problem with the IIS server. If you use 
> IIS, you should better serve static files using IIS instead of the node 
> server. 
> How did you set up your IIS node setting? ... Do you use a MyApp 
> subdirectory?
>
> -mario
>
> On Thursday, February 11, 2021 at 4:59:18 PM UTC+1 [email protected] 
> wrote:
>
>> I have 2 deployments of tiddlywiki:
>>
>>    - One on a linux server using the docker image --> 
>>    https://hub.docker.com/r/m0wer/tiddlywiki
>>    - The other on IIS with nodejs.
>>
>>
>> The one using the docker image is working normally. I have a `files` 
>> directory  and I am able to have image links in my tiddler such as the 
>> below.  The images (pdf, etc) display correctly.
>>
>>    - [img[./files/test.jpg]]
>>
>>
>> The one on IIS using nodejs is not working.  I have the same folder 
>> structure but the images links are not working.  I can see the image when I 
>> go to `localhost/tw/files/test.jpg` but they will not populate in the 
>> tiddler. Is there anything that has to be enabled or different when hosting 
>> on IIS using Windows versus a linux?
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf01b363-5e31-40f7-b09f-3aa2e9045592n%40googlegroups.com.

Reply via email to