HTTP or Webserver with Node-Red

Hello,
I want to display a webpage if I call the Node-Red server IP with the name defined in the "http_in" node. Example:
<ip_of_raspberry:1880/index.php>
This works, but if I click on a button in this webpage to go to an subpage, then a window opens, that wants to store this subpage. I tried to modify the settings file at this entry:

httpStatic: '/home/nol/node-red-static/', //single static source

Here I changed the path to my webpage, that worked, but the problem was not solved.
Can anyone help me?

Thanks,
Andre

Node-RED uses Node.js and ExpressJS not PHP.

If the sub-page is also ending in .php, that would be expected since Node-RED is not a PHP web server.

The static folder (and hopefully you noticed that /home/nol is @knolleary's personal PC not yours :slight_smile: ) will serve static resources. So a .html file, or .js, images, etc. (if loaded correctly by a web page).

Use of the http-in node also requires a matching http-response node and between them, you can create more dynamic pages thanks to the built-in ExpressJS server.

Similarly, you could use UIBUILDER or Dashboard nodes which may give you more to work with. UIBUILDER in particular may be of help with what you want to do.