Mike Neir's Page[ignignokt][err]
Mike loves the feeling when he listens to a song he's heard a hundred times before and hears something new. (193 days ago)
Viewing 3 posts tagged with 'apache'
(Oldest First :: Newest First)
Show related: del.icio.us links, tags

Smoke and Mirrors

Sunday, March 26 2006, 8:52 PM

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.

Tags:

Redirect HTTP to HTTPS

Sunday, March 13 2005, 8:56 PM

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]

Tags:

You've gotta be kidding me...

Wednesday, June 18 2003, 11:22 PM

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...

Tags:

Related Tags



RSS Feed | Comments RSS Feed | Valid HTML 4.01 | Valid CSS
Memcache: Hits: 35 Misses: 3 Updates: 3 Deletes: 0 LocalHits: 8 Time: 0.0095
MySQL: Selects: 5 Inserts: 0 Updates: 0 Deletes: 0 Time: 0.0011
Page Render Time: 0.1545 seconds