Per spostare un sito web da un server con Plesk ad un altro senza creare disservizi dovuti ai tempi di propagazione dei record DNS si può configurare Nginx sul server sorgente in modo da farlo operare come proxy.In questo modo […]
Continue reading »Autore: consalvo
Installazione di un filesystem criptato sotto GNU/Linux
Questo semplice mini-howto spiega come creare un device criptato per proteggere le informazioni in esso contenute, ad esempio per installare un server che non possa essere “rubato” o per un portatile contenente informazioni sensibili. La distribuzione di riferimento e’ la […]
Continue reading »Come abilitare l'autenticazione HTTP su un sottodominio
Se si hanno più sottodomini che puntano allo stesso dominio principale attraverso delle direttive ServerAlias, è possibile comunque gestire per ciascuno di essi criteri di autenticazione differenti dal dominio principale, volendo anche a livello di file delle password: <Directory es-percorso-per-la-documentroot> […]
Continue reading »Come attivare il paging su un Loop custom
<?php $args = array( ‘post_type’ => ‘diconodinoi’, ‘orderby’ => ‘meta_value’, ‘meta_key’ => ‘wpcf-data’, ‘order’ => ‘DESC’, ‘showposts’ => 3, ‘paged’ => 1 ); $old_wpq = $wp_query; $wp_query = null; $wp_query = new WP_Query( $args ); while ($wp_query->have_posts()): ?> <?php $wp_query->the_post() […]
Continue reading »Impostare policyd per singolo utente
Su policy list, azione ADD, nome simbolico e priorità 100. Ritornare alle policy, modifica e attivare (disable = no) Riselezionare, andare su members, aggiungere un member con source = ‘email@xxxx’, destinazione ‘ANY’. Modificare i policy members a disable = no. […]
Continue reading »