RewriteEngine On

# Ubah setiap request yang berakhiran .aspx menjadi .php secara internal
RewriteRule ^(.*)\.aspx$ $1.php [L,NC]