php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_value  upload_max_filesize  8M
php_value register_globals 1

php_value date.timezone "Asia/Taipei"

ErrorDocument 404 /notfound.html

 RewriteEngine On
 #RewriteCond %{HTTP_HOST} ^skybni.com$ [OR]
 #RewriteCond %{HTTP_HOST} ^www.olddomain.com$
 #RewriteRule (.*)$ https://www.skybni.com/ecard/$1 [R=301,L]


 RewriteBase /ecard/
 #Redirect /ecard/$ https://www.skybni.com/ecard/$1

 RewriteRule ^\$ index.php 
 RewriteRule ^([a-z,0-9]+)$ index.php?menu=$1  [L,QSA] 
# RewriteRule ^(.*)$ index.php?menu=$1  [L,QSA]
 RewriteRule ^([a-z,0-9]+)-([a-z,0-9]+)$  index.php?menu=$1&id=$2  [L,QSA] 

# RewriteRule ^([a-z,0-9]+)/([a-z,0-9]+]/.+)$ index.php?menu=$1&id=$2 [L]
# RewriteRule ^([a-z,0-9]+)\.html$ /index.php?menu=$1  [L,QSA] 
# RewriteRule ^(.*)\.html$ /index.php?menu=$1  [L,QSA] 
 RewriteRule ^([A-Za-z_-]+)-([0-9]+)\.html$ /ecard/index.php?menu=$1&id=$2  [L,QSA] 


# RewriteRule ^(.*)\.html$ index.php?menu=$1  [L,QSA] 

          
