Saturday, January 31, 2015

Fix .htaccess Folder Files Drupal Image Not Showing

Sesuai dengan judul yang dibuat berdasarkan skor TOEFL 600 kwkwkwkw.
Ini adalah untuk memperbaiki file .htaccess drupal pada server yang kadang menyebabkan gambar tidak dapat muncul di halaman website CMS Drupal.


# Turn off all options we don't need.
# Options None
# Options +FollowSymLinks

# Set the catch-all handler to prevent scripts from being executed.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
  deny from all
</FilesMatch>
DirectoryIndex index.php

# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
  # Override the handler again if we're run later in the evaluation list.
  SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>

# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
  php_flag engine off
</IfModule>

Thursday, January 15, 2015

SSH trust antar server

Untuk kebutuhan kerja server yang saling membutuhkan resource satu dengan yang lain, seperti skenario server :

  1. High availability
  2. Active-active clustering
  3. Monitoring
dan lain sebagainya, diperlukan sharing "SSH keys" yang sama di semua server supaya masing2 server dapat masuk kedalam server lain.

Install CCcam untuk card sharing di ClearOS

( warning -- Ini hanya sebagai pendidikan, penyalahgunaan kartu akses PAYTV tanpa otorisasi adalah tindakan yang dapat dijerat hukum--) ...