I think my streak over the past few days of Apache/directory listing customization is a message from god that I should start coding more and actually learn PHP instead of hacking **** together as I go. Few days ago I got bored and started playing around with Apache's HeaderName and ReadmeName directives. Well, I had played around with them prior because a friend wanted to know how to change the link color for his directory listings on his site, but I didn't really get too involved, just did some code to call a CSS file. Then, like I said, I started playing with customizing directory listings a few days ago a bit more heavilly. At first, I wanted to change the header so it said "Thank you for perusing the directory listing of *dir*" Well, I tried using SSI (which I more or less gave myself a crash course in) and tried echoing PATH_INFO. But for whatever reason, I couldn't seem to get that to work. No big deal - I have PHP Well, I originally tried using a php file itself in the HeaderName directive - then I found out that it only takes files with the mimetype of text/*. Well, that's a nogo for PHP (Remember kids, PHPs mimetype is application/x-httpd-php). Oh well, no big deal, back to using server side includes. Well, that works like a champ. Only problem is that it will show the sorting options if the link is clicked. I'll save that problem for another day. On to the ReadmeName directive. I wanted to throw in my "Song of the Day" and the lyrics. That was easy. Had the SotD in another file. Simple SSI call. I then thought "Hey, I wonder if I can make this thing show what song I'm currently listening to in winamp..." A while back, I had a program that allowed me to telnet in and control winamp. I figured a little reading of PHPs documentation on fsockopen() and some other stuff should do the trick, but I couldn't seem to find that plugin. I did however find something else, which in the end probably made my life 10 million times easier. I got the plugin httpQ, which more or less takes http requests and returns data based on parameters. What's even nicer is that the creator threw sample PHP code on his site for a user defined function for making the call to the plugin. Dear Diary: Jackpot! Sorry for the long post that probably is kinda lame, but I just felt like sharing the return to my geek roots. If anyone is interested in seeing the site and/or source, let me know.