Our daily ramblings about stuff

Internet depends on 13 Servers.

Internet, as we know it today, depends on 13 DNS name-servers.
They are managed by the US coverment or are managed by organisations around the world.
Today NTIA announced (controlled by the US goverment) that it stops controlling those nameservers.
At the beginning of 2015, all DNS root servers will be managed independently by international organisations. A good move.

Here is the list: http://www.iana.org/domains/root/servers

READ POST

Preventing access to node/nid paths with .htaccess

With the Drupal module Extended path aliases it is possible to rewrite all node path's including edit & delete paths.

For those that want to prevent access to the regular node/ path, there is a simple Regex Rewriterule with .htaccess possible.

# Redirect all node nid paths
RewriteRule ^node/[0-9]+. http://accessdenied.com [R=301,L]

READ POST

Hide hyperlink from filefield node form (QUICKFIX)

Drupal will show a direct link to the file as soon as the upload is completed in node forms.
Sometimes this is unwanted, for example when a private filefield is desired.

It could be themed with some hooks, but with CSS it only takes 4 lines to hide the link.


.file a {
color: black;
pointer-events: none;
cursor: default; }

READ POST

Pages