Halloween 2011

Wie jedes Jahr müssen wieder Kürbisse dran glauben. Bei mir nicht als Kürbiscremesuppe.
Für die Kinder gab es Hokkaidos.
IMG_0255
IMG_0254
IMG_0253


Delete all documents from solr with a cURL JSON POST

If you want to delete all documents from solr with a cURL JSON POST:
curl -i -H ‘Accept: application/json’ -H ‘Content-type: application/json’ -X POST -d ‘{“delete”: { “query”:”*” }}’ http://localhost:8080/apache-solr-3.3.0/update/json?commit=true


Enabling Drupal Clean Urls Feature On Mac OS X Lion

If you want to run Drupal on localhost on Mac OS X Lion with the clean url feature enabled you have to edit the ‘httpd.conf’ file located under ‘/etc/apache2′.

1.) BACKUP THE ORIGINAL httpd.conf !!!

2.) Go to the ‘/etc/apache2/’ folder

3.) Open the httpd.conf file with the editor of your choice with administrative rights e.g. sudo mate /etc/apache2/httpd.conf

4.) Locate the <Directory /> directive and change ‘AllowOverride none’ to ‘AllowOverride All’.

5.) Locate the <Directory “/Library/WebServer/Documents”> directive and change ‘AllowOverride none’ to ‘AllowOverride All’.

6.) Restart the web server