SAN Pool Upgrade

Well after almost 5 years the Samsung 850 EVO 250 GB SSD’s comprising the SAN pool in my FreeNAS server are beginning to fail. It’s been fun but so long. After much research and reflection I have decided to go for enterprise grade disks this time around. I settled on the Intel DC S3700 400 GB. Granted they’re used but I got a really good deal and they should still have plenty of mileage left (specs indicate their write endurance at 3.7 PB).

Apache Rewrites using .htaccess on FreeBSD

Edit httpd.conf and uncomment this line:

#LoadModule rewrite_module libexec/apache24/mod_rewrite.so

In the web root directory create the .htaccess file and open it with an editor:

nano /usr/local/www/apache24/data/.htaccess

Add the following to the newly created .htaccess file:

RewriteEngine On
RewriteBase /
#1) externally redirect "/file.html" to "/file"
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC]
RewriteRule ^ %1 [R=301,L]
#2) rewrite  "/file" back to "/file.html"
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*?)/?$ $1.html [NC,L]

Doogie Howser, M.D.

I started watching Doogie Howser, M.D. on Hulu because nostalgia. When I was finished setting this blog up it made me think about how he writes in his journal at the end of every episode. So that’s what I’m doing now, watching Doogie Howser journal while I blog…

WordPress Appliance - Powered by TurnKey Linux