I have Apache running on my PowerBook running Mac OSX 10.4.4 (not server).
I want to enable shtml files, but the include lines are not interpreted, and they don't result in an error. A "view source" just spits out the html and the include line.
I have the following lines uncommented in my httpd.conf:
/private/etc/httpd% grep shtml httpd.conf
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddType text/html .shtml
AddHandler server-parsed .shtml
I have the following line in my shtml file in attempt to include the html code in a file called 'h.txt':
<!--#include virtual="h2.txt" -->
The shtml and h.txt files are both world-read/execute.
If I upload these same shtml files to my website, they work just fine.
Thanks!
I want to enable shtml files, but the include lines are not interpreted, and they don't result in an error. A "view source" just spits out the html and the include line.
I have the following lines uncommented in my httpd.conf:
/private/etc/httpd% grep shtml httpd.conf
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddType text/html .shtml
AddHandler server-parsed .shtml
I have the following line in my shtml file in attempt to include the html code in a file called 'h.txt':
<!--#include virtual="h2.txt" -->
The shtml and h.txt files are both world-read/execute.
If I upload these same shtml files to my website, they work just fine.
Thanks!