16 ms·
You might check out "server side includes" if your web server supports them. Here is some apache documentation: https://httpd.apache.org/docs/current/mod/mod_i
by uberman 4y ago
You might check out "server side includes" if your web server supports them.
Here is some apache documentation: https://httpd.apache.org/docs/current/mod/mod_include.html https://httpd.apache.org/docs/current/mod/mod_include.html
- rchaud 4y agoThis is what I was doing in 2015 when my brain was fried with HTML and CSS and I was desperate to avoid having to learn even more syntax (PHP). I remember trying something like .shtml and .dhtml. It didn't feel "real". I had never seen web pages with those extensions. Frankly, I hadn't even seen .html pages in several years because everybody edits the .htaccess file to prettify the URLs. I ended up biting the bullet and going with PHP. Surprised to learn that there still isn't anything out of the box that handles this.
- deafpolygon 4y agoThat still requires a server.
- uberman 4y agoTrue. Though How would one serve a website without a server in some capacity? SSI like those from apache acting in otherwise the most privative form of server just using paths and no routing produce the kind of repetitive HLML that iframes via the client produce.
- Phrodo_00 4y ago... Serving HTML requires a server?