how do I enable/install server side includes on the webserver I installed on redhat7.1.
In the /apache_home/conf/httpd.conf
There was a commented bit of .shtml which I uncommentd to look like this. But this still dont work.
#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
As I viewed the document source I saw the,
<!--#include file="top.shtml" -->
which shouldnt have appeared in the source if it understood/interpreted that it was a inlcude.
As you might have gussed it already, I want to include ont html page in nother. So I renamed the top.htm file (which was to be included) to top.shtml. Now the browser doesnt seem capable of handling this as when I try to open the .shtml file in a browser itdisplays the file ver-ba-tim.
Please advise.
Thanks.
Please advise.
In the /apache_home/conf/httpd.conf
There was a commented bit of .shtml which I uncommentd to look like this. But this still dont work.
#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
As I viewed the document source I saw the,
<!--#include file="top.shtml" -->
which shouldnt have appeared in the source if it understood/interpreted that it was a inlcude.
As you might have gussed it already, I want to include ont html page in nother. So I renamed the top.htm file (which was to be included) to top.shtml. Now the browser doesnt seem capable of handling this as when I try to open the .shtml file in a browser itdisplays the file ver-ba-tim.
Please advise.
Thanks.
Please advise.