# PHP 5, Apache 5 <IfModule mod_php5.c> </ifModule>
php_value SMTP 'ssl://smtp.mail.yahoo.com'
php_value smtp_port 465
php_value sendmail_from 'ada.agus3@yahoo.com'
php_value username 'ada.agus3@yahoo.com'


# Memindah atau Mengganti Nama File
Redirect 301 mail/index.php http://adaemail.pas.sch.id/index.php

# disable directory browsing
Options All -Indexes

# security file htaccess
#order allow,deny
#deny from all

#Order Allow,Deny
#Deny from all

# mencegah melihat isi direktori / folder
# IndexIgnore *

# mencegah menampilkan tipe file tertentu dalam direktori
IndexIgnore *.wmv *.mp4 *.avi *.etc

# Untuk melakukan redirect kita dapat menambahkan beberapa kode kedalam file .htaccess, sebagai berikut :
order deny,allow
deny from all
allow from 192.168.0.2

ErrorDocument 403 /page.html

allow from all

# Mengubah urutan halaman index
DirectoryIndex index.php index.php index.cgi index.pl default.htm

# mengganti halaman index
DirectoryIndex anmail.php

