Tagged: drupal

logo-drupal_0 1

The Drupal Rap song – Everyday I’m Drupalin’

This YouTube video doesn’t need any further explanation beside it’s title: The Drupal Rap song – Everyday I’m Drupalin’       Lyrics: Chorus Everyday I’m drupalin Verse Where them forms you gettin fapi with I’m the fapi boss/ hookin into edit form and webforms is my specialty sauce/ I’ll hook form alter by form id’s or entities/ put a list on Ajax/ just to keep it callin back/ I...

0013_clickjacking 2

Prevent clickjacking on Drupal and other Apache web applications

Security is an important aspect to keep an eye for, and this time it’s about preventing clickjacking on Drupal and other Apache web applications. Edit apache’s configuration file, which may be your declared vhost or such, usually at a location like /etc/httpd/conf.d/default.conf and make sure the  following   <IfModule mod_headers.c> Header always append X-Frame-Options SAMEORIGIN </IfModule>   This will disable embedding your website as an iFrame.

2870445260_82be0db1db_z 0

Apache Obfuscation by disabling trace and server tokens

Apache Obfuscation can be achieved very easily and the benefits are great – it doesn’t disclose server information such as versions, OS, and does output verbose errors when ‘bad things happen’, and they happen. Edit apache configuration, usually available here for RedHat based distributions: /etc/httpd/conf/httpd.conf Make sure the following settings are present, save, and restart apache: TraceEnable Off ServerSignature Off ServerTokens Prod How do we test that this is actually working? How...

drupal_perf-4 2

Drupal Performance Tip – be humble on hook_init()

This entry is part 5 of 5 in the series Drupal Performance Tips

This entry is part 5 of 5 in the series Drupal Performance TipsIn the spirit of the computer video game Doom and its skill levels, we’ll review a few ways you can improve  your Drupal speed performance     and optimize for better results and server response time. These tips that we’ll cover may be at times specific to Drupal 6 versions, although     you can always learn the best practices from these examples...

drupal_perf-5 2

Drupal Performance Tip – “I’m too young to die” – know your DB engines

This entry is part 4 of 5 in the series Drupal Performance Tips

This entry is part 4 of 5 in the series Drupal Performance TipsIn the spirit of the computer video game Doom and its skill levels, we’ll review a few ways you can improve  your Drupal speed performance     and optimize for better results and server response time. These tips that we’ll cover may be at times specific to Drupal 6 versions, although     you can always learn the best practices from these examples...

drupal_perf-3 6

Drupal Performance Tip – replace views blocks with vanilla blocks

This entry is part 3 of 5 in the series Drupal Performance Tips

This entry is part 3 of 5 in the series Drupal Performance TipsIn the spirit of the computer video game Doom and its skill levels, we’ll review a few ways you can improve  your Drupal speed performance     and optimize for better results and server response time. These tips that we’ll cover may be at times specific to Drupal 6 versions, although     you can always learn the best practices from these examples...

drupal_perf-2 2

Drupal Performance Tip – removing unused modules

This entry is part 2 of 5 in the series Drupal Performance Tips

This entry is part 2 of 5 in the series Drupal Performance TipsIn the spirit of the computer video game Doom and its skill levels, we’ll review a few ways you can improve         your Drupal speed performance     and optimize for better results and server response time. These tips that we’ll cover may be at times specific to Drupal 6 versions, although     you can always learn the best...

drupal_perf-1 3

Drupal Performance Tip – “I’m too young to die” – indexes and SQLs

This entry is part 1 of 5 in the series Drupal Performance Tips

This entry is part 1 of 5 in the series Drupal Performance TipsIn the spirit of the computer video game Doom and its skill levels, we’ll review a few ways you can improve your Drupal speed performance and optimize for better results and server response time. These tips that we’ll cover may be at times specific to Drupal 6 versions, although you can always learn the best practices from these...

logo-drupal_0 0

“Oh you lazy cron!” – learning on Drupal cron issues

We’re still working with Drupal 6 at work, and we’re triggering our notifications and other cron related tasks through a small script that crontab is running, and with the help of drush at the command line. The following problem and description of the scenario we had applies to Drupal 7 too as these are pretty much close with regards to implementation. Drupal’s cron job will most often run smoothly and...

drupal_7_to_wordpress3.9 6

Migrate Drupal 7 to WordPress 3.9 – The Conclusion

This entry is part 2 of 2 in the series Drupal 7 to Wordpress 3.9 Migration

This entry is part 2 of 2 in the series Drupal 7 to Wordpress 3.9 MigrationMigrate Drupal 7 to WordPress 3.9  - To recap, in a previous post on this series, I’ve set the background for my action to migrate  from Drupal 7 to WordPress 3.9. In this post, we will explore the process of making this migration happen. If you’ve been on this search before to migrate from Drupal to...