I've done the following:
1. Added "Includes" in httpd.conf
<Directory "/Library/WebServer/Documents/manual">
Options Indexes FollowSymlinks MultiViews Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
2. In httpd.conf, uncommented
AddType text/html .shtml
AddHandler server-parsed .shtml
3. System Preferences -> Sharing -> Started Personal Web Sharing
4. In my Sites folder, I have two files (test.shtml & footer.html)
test.shtml:
<html>
<head></head>
<body>
this file
<!--#include virtual="footer.html"-->
this file
</body>
</html>
footer.html:
<html>
<head></head>
<body>
footer file
</body>
</html>
5. In Safari,
http://IPAddress/~admin/test.shtml
output:
this file this file
Can someone tell me where I am wrong? Or can someone test what I have out? Thanks in advance!