November 2008
M T W T F S S
« Oct   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930

Disabling PHP in a specific directory

18:10 on Fri 2008-11-14 by Leons Petrazickis PHP, Unix, Web Development

To disable the PHP processor in a given directory, put the following in an .htaccess file. If one doesn’t exist, create it. # Disable PHP AddHandler default-handler php RemoveType application/x-httpd-php php # Make .php files display as plain text AddType text/plain php   This assumes an Apache server. PHP on IIS may involve different steps. [...]

IBM DB2 patch for MediaWIki

17:54 by Leons Petrazickis MediaWiki

MediaWiki is the software that powers sites like Wikipedia, Ubuntu Help Wiki, and many others. In my spare time, I’ve written a patch to add IBM DB2 support to the development trunk. Hopefully, it will be added to the official source soon. In the meantime: add_ibm_db2.diff — changes to existing files against r43499 of the [...]