| Your Goal | Command / Action | | :--- | :--- | | | curl -s http://site.com/page.shtml or Chrome DevTools → Network → Response | | See raw SSI source code | SSH into server: cat /var/www/page.shtml | | Save complete static version | wget -O fullpage.html http://site.com/page.shtml | | Debug missing include | Check server error log: tail -f /var/log/apache2/error.log | | Enable SSI on Apache | Add AddType text/html .shtml and Options +Includes to .htaccess | | Disable SSI temporarily | Rename file from .shtml to .html |
You have a website with a universal header ( header.shtml ) and footer ( footer.shtml ). The homepage renders fine, but a subpage is missing the navigation. You need to see the raw SHTML code (to check the file paths) and the full rendered output (to see where the break occurs). view shtml full
Unlike standard HTML files, SHTML files are processed by the web server before being sent to your browser. | Your Goal | Command / Action |