This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

User login

This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

Fixing Network Manager Overwriting DNS

in

Ubuntu Network Manager removes nameserver from resolv.conf

Note: /etc/dhcp3/dhclient.conf was a blank file for me, not sure it's supposed to be...

sudo vi /etc/dhcp3/dhclient.conf

add:
prepend domain-name-servers 127.0.0.1

/etc/init.d/networking restart && /etc/init.d/network-manager restart

Download and install Drupal in one step

Drubuntu has a 'site add' functionality, but aside from being limited to Drubuntu it does as a multisite (no thanks) with the site's settings.php and files weirdly symlinked to a directory sitting alongside the download itself. (Ah, i just realize that it probably adds all sites to this one multisite.)

Best practice for an upgraded site to define RDF mappings for RDFa output?

A site that has been upgraded from Drupal 6 to Drupal 7 has not even had this code from standard.install in the Standard profile run yet. Can generic mappings like this be easily taken care of in other custom configuration of RDF or should this (plus more?) go in an update hook?

Apache installed by Drubuntu has segfaults until permissions fixed on sites-available file

If you have installed Drubuntu (including/especially using my D7-ready sandbox), it is possible that the permissions will not be set correctly on /etc/apache2/sites-available/drubuntu

tail -f /var/log/apache2/error.log had segfaults in it
checking where

Giving that file read access

Two main issues remaining to be fixed in Drubuntu: NetworkManager conflict and file permissions

Need to fix in Drubuntu

  1. (Some) Drush scripts writing with no read permissions
  2. NetworkManager rewriting /etc/resolv.conf

this line needs to be added at the top via sudo vi /etc/resolv.conf:
nameserver 127.0.0.1

See http://data.agaric.com/fixing-network-manager-overwriting-dns for the lasting fix.

Mirror Drupal 7 nodes on a second Drupal 7 site

This should be dead simple, but it's not... yet.

Exporting Redirects to Webserver Rules the Awesome way

[Note: For non-automatic export of Redirects to Apache rules, see Redirect Export module.]

courtesy Stefan, of course

Resources:
http://php.net/manual/en/book.dba.php

Security vectors making use of HTML5 features

in

http://html5sec.org/

Watch what your Drupal input filters (text formats) allow if you mess with the default filters.