[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Execute php from a .shtml file



I need to execute some php commands within a .shtml file.  Renaming the file
is not an option.  An example of some code would be
<? echo date("m/d/Y", getlastmod()); ?> to get the modification date of the
file.

I edited the srm.conf file
AddType application/x-httpd-php .shtml

And tried
AddType application/x-httpd-php .php .shtml

Restarted httpd,

and still no luck.  What else do I need to do?

Thanks
Kody