# Use PHP54 Single php.ini as default
AddHandler application/x-httpd-php54s .php

RewriteEngine On # Turn on the rewriting engine
RewriteRule ^$ /gallery/ [R=301,L] # Handle all requests
# RewriteRule ^Videos/?$ index.php?Gallery=Videos [NC,L] # Handle requests for "Videos" 
# RewriteRule ^Portraits/?$ index.php?Gallery=Families_and_Children&ParentGallery=2 [NC,L] # Handle requests for "Portraits"
# RewriteRule ^Personal_Projects/?$ index.php?Gallery=Dandy_Lion&ParentGallery=1 [NC,L] # Handle requests for "Personal Projects"
# RewriteRule ^Urban_Landscapes/?$ index.php?Gallery=Urban_Landscapes [NC,L] # Handle requests for "Urban Landscapes"
# RewriteRule ^Families_and_Children/?$ index.php?Gallery=Families_and_Children&ParentGallery=2 [NC,L] # Handle requests for "Families and Children"
# RewriteRule ^Chinese_Stores/?$ index.php?Gallery=Chinese_Stores&ParentGallery=1 [NC,L] # Handle requests for "Chinese Stores"
# RewriteRule ^Billboards/?$ index.php?Gallery=Billboards&ParentGallery=1 [NC,L] # Handle requests for "Billboards"
# RewriteRule ^Dandy_Lion/?$ index.php?Gallery=Dandy_Lion&ParentGallery=1 [NC,L] # Handle requests for "Dandy Lion"
# RewriteRule ^Westmoreland_Series/?$ index.php?Gallery=Westmoreland_Series&ParentGallery=1 [NC,L] # Handle requests for "Westmoreland Series"
# RewriteRule ^Engagement_and_Weddings/?$ index.php?Gallery=Engagement_and_Weddings&ParentGallery=2 [NC,L] # Handle requests for "Engagement and Weddings"
# RewriteRule ^Headshots_and_Environmental_Portraits/?$ index.php?Gallery=Headshots_and_Environmental_Portraits&ParentGallery=2 [NC,L] # Handle requests for "Headshots and Environmental Portraits"
# RewriteRule ^Lifestyle/?$ index.php?Gallery=Lifestyle [NC,L] # Handle requests for "Lifestyle"

