php settings for DSM5.0 and .htaccess for DSM4