Smoke and Mirrors
This weekend I worked on my site a bit too much. I worked on three things primarily. First off, I changed the way the nested comments look in each of the content detail pages. I nixed the plain unordered lists, and made a nifty effect with nested DIVs. I think it looks pretty neat, and it doesn't use up as much real estate either.
Secondly, I updated the links page so that it includes RSS data for any sites I've configured to do so. It's somewhat similar to what I've got going on in the menu bar of the site, but there are many more sites in the links page.
Thirdly, I changed around the link structure of the site to look a little more friendly. Before there were many pages abound in the form of "/weblog.php?CategoryID=1" or "/contentdetail.php?ContentID=450", and so on. Now they're cleaned up in the form of "/weblog/ramblings" or "/weblog/450", to use the previous examples. It doesn't really affect all that much, but it's something I've been meaning to do for a while.
Redirect HTTP to HTTPS
Since I don't post enough of these little tips and tricks (and because I looked for this one for like an hour last night on some customer's site I had done this for), I'm going to start posting more nifty tips. This is a mod_rewrite rule for Apache that will take any request on normal http and redirect it to the corresponding https page. Pretty handy for stuff like online shopping carts.
RewriteEngine on RewriteCond %{SERVER_PORT} !443 [NC] RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]
You've gotta be kidding me...
Oh, I may have a rant tomorrow if things don't go right... a couple guys at work made an executive decision that could possibly make our lives HELL for the next few days if it doesn't work out the way they plan... They changed a the way apache and PHP behave on EVERY ONE of our shared servers, which means any person that has CGI or PHP scripts that read/write data files may be calling us because their shit was broken by the change.... Tomorrow could get interesting...
Related Tags
|