Today is . This illustrates Sever side includes.

To get today's date above I included:

<!--#echo var="DATE_LOCAL" -->
in the html file as served by the Apache server. Then I added “XBitHack on” to my .htaccess file in the top directory at this site. Then I did “chmod 744 today.html” in the directory holding this file.

See this Apache tutorial on Server Side Includes for other ways to do this.


It seems that Apple doesn’t think the local Apache server should obey .htaccess files. After following these instructions and setting permissions for .htaccess to allow reading by all, my .htaccess file took effect.