I’m looking to port a few sites to DreamHost, but don’t want to make any radical code changes. I am concerned about server-side includes on an Apache-hosted DreamHost installation.
For a server-side include, can I include any kind of file or must it have a .shtml file extension…
I talked to someone on Live Chat that insisted that was the case. The Apache documentation says otherwise…
To clarify, from a file named foo.shtml, I want to include the following code:
<!--#include virtual="/include/bar.txt" --> -and- <!--#include virtual="/include/bar.php" --> -and- <!--#include virtual="/include/bar.html" -->
I was told by support that these would not work on a DreamHost server. Could someone tell me whether this is the case?