You want to save a complete, static version of an SHTML page. Simply saving the browser’s “Web Page, Complete” often saves the processed HTML, not the underlying SSI logic. To get the full static snapshot, you need to fetch the server’s final output.
Some servers allow you to request the source via specific handlers (e.g., ?source=1 if mod_rewrite is configured), but this is rare. The most reliable method is to use curl with a specific header to attempt to trick the server, though this rarely works since SSI is processed at a deeper level than HTTP headers. view shtml full
If you are auditing an old web application, you might want to see the of an SHTML file (including its SSI directives) to understand how the page was constructed. This is the opposite of problem A—you want to see the template, not the final product. You want to save a complete, static version of an SHTML page
When a browser requests this file, the server scans it. It sees #include file="header.html" and replaces that line with the actual content of header.html . It sees #echo var="DATE_LOCAL" and replaces it with the current server time. Some servers allow you to request the source
: It is likely a toggle. If the page isn't loading correctly, try removing the ?view=shtml_full (or similar) part of the web address.