Logic Machine Forum
local html in a frame - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: local html in a frame (/showthread.php?tid=3012)



local html in a frame - SigmaTec - 24.11.2020

Hi all,

I need to display in a frame the content of a web page I created locally on the LM (it is not on the web)?

Editing a page, in the URL of the frame the path "locahost: myfile.html" works, but it returns an error "files or contents are missing ..."

Is it for internal LM security reasons ?


Thank's in advanec for your help.


RE: local html in a frame - Daniel - 24.11.2020

Where did you put the page in LM? apps/user? If yes then just use /user/pagename.html


RE: local html in a frame - SigmaTec - 25.11.2020

I put the html page at default directory (without indicate path)


RE: local html in a frame - admin - 25.11.2020

This won't work, you have to use apps username for FTP and put your files into user directory. If the filename is myfile.html then the iframe path is /user/myfile.html


RE: local html in a frame - SigmaTec - 25.11.2020

Ok admin, thank's.

With running ftp server and creating a local file named "/www/user/myfile.html", all is ok now !