Standard Apache .htaccess for rewriting URLs
Skimpy! base code
Minimal class for demo