track7

comment on 2016 redesign by misterhaan

all those conditions are joined with OR (the NC means not case-sensitive) and invoke the rule at the end of that section:

⇨ read more

comment on 2016 redesign by bs0d

I see. So what's .htaccess doing if there's a match?

comment on 2016 redesign by misterhaan

i have a stats section that shows common referrers as links. that’s how i learned about referrer spam. at first i tried blocking them with .htaccess, but as you saw the list got long and it was too much work to maintain so i just stopped discovering links to my site via HTTP REFERER. there’s still an “unknown referrers” page in my admin section where i used to assign various referrer values to the sites they were from (or mark them spam) — it currently has over 9000 entries. i haven’t cared about the stats section in years so i’m probably going to drop it altogether this time around, but i don’t see any reason to delete that section out of .htaccess ;)

comment on 2016 redesign by bs0d

I was looking at your .htaccess file on github, and was curious about these lines:

⇨ read more

web fonts by misterhaan

prior to my 2016 redesign, the fonts used on track7 needed to be installed on the device viewing the site. the font i wanted people to see probably wasn’t installed in most cases, which meant my site substituted a different font that was available. i figured with the wide variety of devices with web browsers these days there must be a reasonably well-supported way to embed fonts into a web page, and there is!

⇨ read more

ubuntu linux server setup: file, web, tv, and gaming by misterhaan

the steps i went through when i installed ubuntu linux 14.04 on my “server” hecubus, which formerly ran fedora. hecubus features software raid1 through mdadm, two levels of backups using tar, cron, rsync, and cryptsetup, file sharing through samba and nfs, lamp web serving with apache, mysql, and php, tv recording with mythtv and schedulesdirect, and a minecraft game server. setup for ubuntu server as well as these other packages are detailed. mythtv setup includes setting up a hauppage hvr 2250 card. sections of this guide can be skipped for setting up servers without those features.

⇨ read more

track7 update by misterhaan

updated the guides to the new design

comment on 2016 redesign by misterhaan

thanks! i plan to write up some more details on those topics and a couple more. it’s looking like some will be guides and some blog posts. i haven’t rewritten the guides section yet so those might take longer to show up. at the same time i’m still working on rewriting the rest of the site, so plenty to keep me busy whenever i have the time for it. at least i can work on blog posts on my phone now!

comment on 2016 redesign by bs0d

Hey, saw your post on allsyntax.com, and thought I'd come over for a look. I like the new design, I'll need to check how it looks on my phone as well. Overall, it sounds like you're on the right track. Each of the upgrades make sense. More and more people are using mobile devices to browse the web, nobody likes to remember yet another username and password, and jQuery and gives the user a more modern experience. I'd be interested in reading into the details if you decide to publish your adventures in coding for mobile, fluid layout, working with jQuery and such. Nice work!