Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   HTTP Listener Redirect (http://www.mirthcorp.com/community/forums/showthread.php?t=218366)

AlexNeiva 06-22-2018 01:40 AM

HTTP Listener Redirect
 
1 Attachment(s)
Hello,


i'm using Mirth 3.5.1 and i have a HTTP Listener in the Source Connector.
Everything works ok except one particular thing in Static Resources area.
I put a File in the resources when a particular path is accessed, problem is with the HTML page that does not load the CSS inside a LINK tag!
The CSS are just loaded if i insert them inside the HTML page, everything that is outside the page is not loaded! Please check the attached image.

It that normal?


Thank you

siddharth 06-22-2018 05:45 AM

Interesting.

I think if you are trying to send back an HTML file, then your response content type should change to text/html instead of text/plain. Try that and see.

AlexNeiva 06-22-2018 05:52 AM

I could not attach the complete image but the Content Type is already set to text/html.

AlexNeiva 06-25-2018 02:02 AM

I already set the Resource Type to "Directory" instead of "File", so i put in root folder HTML page and CSS/JS scripts.

When call it redirect the HTML page same thing happen! No CSS or JS files are loaded.


All times are GMT -8. The time now is 04:26 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation