sudocoda/boynamedsumusic.com/master/music-store/.htaccess - Htaccess File

sudocoda/boynamedsumusic.com/master/music-store/.htaccess

# Prevent viewing of .htaccess file
<Files .htaccess>
order allow,deny
deny from all
</Files>

# Set the default handler
DirectoryIndex index.php

# Maian Music rewrite rules
# If your server displays a 404 and supports htaccess, you might need to uncomment
# the next line and remove the IfModule rule below..
# RewriteBase /
RewriteRule ^(contact|about|music|cart|rss|licence|checkout|invalid|cancel|thanks|clear-cart|view-cart|services|checking|search).html$ index.php?p=$1
RewriteRule ^index.html$ index.php
RewriteRule ^mp3-download/(.*)/(.*)/(.*).html$ index.php?p=album&album=$1
RewriteRule ^cart/(.*)/index.html$ index.php?p=cart&album=$1
RewriteRule ^music/(.*)/(.*)/index.html$ index.php?p=music&next=$1&filter=$2
RewriteRule ^search/(.*)/(.*)/(.*)/index.html$ index.php?p=search&keywords=$1&filter=$2&next=$3
RewriteRule ^music/(.*)/index.html$ index.php?p=music&next=$1
RewriteRule ^packs-and-presets/(.*)/index.html$ index.php?p=packs-and-presets&next=$1
RewriteRule ^delete-item/(.*)/index.html$ index.php?p=delete-item&item=$1
RewriteRule ^download/(.*)/index.html$ index.php?p=download&code=$1

# Do NOT change these values..
RewriteRule ^40ed120dc7f5cf31bcff11bcb4d6c9bf/(.*)/index.html$ index.php?p=40ed120dc7f5cf31bcff11bcb4d6c9bf&code=$1
RewriteRule ^f4f02bb33615522c92f00a9fd5776aa9/(.*)/index.html$ index.php?p=f4f02bb33615522c92f00a9fd5776aa9&code=$1
RewriteRule ^ba952731f97fb058035aa399b1cb3d5c/(.*)/index.html$ index.php?p=ba952731f97fb058035aa399b1cb3d5c&code=$1

# URL rewrite rules
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME} !-l
   RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache