Archive for November, 2009

Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts

Thursday, November 5th, 2009

Encyclopédie, ou dictionnaire raisonné des sciences, des arts et des métiers (English: Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts) was a general encyclopedia published in France between 1751 and 1772, with later supplements and revisions in 1772, 1777 and 1780 and numerous foreign editions and later derivatives.

Have a look at http://diderot.alembert.free.fr/ for loads of nice and old images, like the one above.

htaccess trickery

Wednesday, November 4th, 2009

I was looking the other day for a way to make a directory that is behind a .htaccess password protected directory accessible for anybody. Does that make any sense? For instance: www.somedomain.com/protected is password protected directory. I wanted anybody to be able to access www.somedomain.com/protected/notthisone/ without a password. After a little searching I found the following trick:

AuthType Basic
AuthName “Anybody”
AuthUserFile /path/to/some/autfile

Require valid-user

Allow from All
Satisfy Any

I’m actually not sure if I need all of the above or if I can just get away with “Allow from All” and “Satisfy Any”.

So basically by adding “Allow from All” you say anybody is allowed to access this directory. The “Satisfy Any” makes sure that you can access it either when you have already entered the password or when you don’t have a password.

A nice way to circumvent .htaccess directory protection.