Drupal default .htaccess

When you mess up your .htaccess for Drupal you may always use the one below as it is the default one which enables SEF URL’s:

 

#
# Apache/PHP/Drupal settings:
#

# Protect files and directories from prying eyes.
<Files ~ “(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$”>
Order deny,allow
Deny from all
</Files>

Enable PDO using php.ini

Since I get lots of requests due to PDO not being loaded by default in php.ini I decided to provide below a detailed explanation on this matter.

First, create yourself a php.ini file. The php.ini file can be set up under cPanel -> Software/Services -> PHP Config (click on the "INSTALL PHP.INI MASTER FILE" button). While you have this screen up, I would also change the PHP configuration to use "PHP5 (single php.ini)".

Filesonic closed file sharing

After the closure of Megaupload as a clear response of the US government to the SOPA opposition clearly lined out by most US companies and website holders, it looks like another big filesharing site will be hit.

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!