The Obvious Obfuscated

April 21st, 2008

For me, the most obvious solutions are often highly obfuscated. Its true, common sense is not readily accessible for me. Why? I have no clue, but given the chance, I could probably come up with a very complicated reason why, so let's skip that for now.

The obviousness I'd like to talk about today is /usr/share/doc/. I've often wished I could browse this with Iceweasel - and finally this morning I realized I could, so I am! I made a few adjustments to /etc/apach2/sites-available/default:

ExtFilterDefine gunzip mode=output cmd="/bin/gunzip"
<Files *.gz>
  SetOutputFilter gunzip
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
  Options Indexes MultiViews FollowSymLinks
  AllowOverride None
  Order deny,allow
  AddType text/plain .gz
  Deny from all
  Allow from ::1/128
  Allow from 192.168


Emulate mod_gunzip on Apache2

Apache compression

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022