A year or two ago I was returning to my office from lunch with some co-workers. I spotted an old, rusty, razor blade on the sidewalk. “You don’t see that every day,” I said. In retrospect I was probably wrong. Everyone likely sees dozens of rusty razor blades on sidewalks and in gutters every day. We just don’t notice them. That’s not the point. The point is that I told my friend, Jon, that it would make a good domain name. “You should register rustyrazorblade.com,” I said. And he did. Now, if you’re looking for an esoteric, complicated, intense Apache and / or MySQL resource, it’s the place to go. True story.
Posts tagged as:
Apache
flastmod
Ever hear of the flastmod include? Me neither. Here’s what it does. You can use it just like a #include directive server-side include, except instead of including a file, it returns the last modified timestamp of the file you request. If you’re using SSI in your site, add:
<!– #flastmod file=”index.shtml” –>
to any parsed file (ending in shtml) and it will print the last modified timestamp of whichever file you pass as the parameter. Nifty, eh? (See the bottom of the Works in Progress index page for an example.)
Note: MovableType users can simply use the <$MTDate$> tag to get the same data.
{ 0 comments }