giovedì 3 marzo 2011

drupal 6-7 su account aruba

Su .htaccess bisogna commentare:
# Options -Indexes
# Options +FollowSymLinks
# DirectoryIndex index.php

Creare il file PHP.INI per disabilitare register_globals e inviarlo sulla root.

if (ini_get(“register_globals”)){
foreach ($_REQUEST as $k => $v){
unset($GLOBALS[$k]);
unset($$k);
}
}

Per visualizzare le immagini bisogna modificare il file .htaccess su FILE con


#
# Apache/PHP/site settings:
#
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None
#Options +FollowSymLinks
 

Nessun commento: