# Use PHP54 Single php.ini as default
# AddHandler application/x-httpd-php54 .php
AddType application/x-httpd-php54 .xml
AddType application/x-httpd-php54 .xsl

Options -Indexes

ErrorDocument 404 /
ErrorDocument 500 /

#Use when site is under maintenance
#Options +FollowSymlinks
#RewriteBase /
#RewriteCond %{REQUEST_URI} !/errors/maintenance.php$
#RewriteRule .* /maintenance.html [L]

#RewriteEngine On
#RewriteRule ^forging_materials/([0-9][0-9]+)/?$ forging_materials.php [NC,L]
#RewriteRule ^forging_subcategories/([0-9][0-9]+)?$ forging_materials.php [NC,L]
#RewriteRule ^forged_shapes/([0-9]+)/?$ forged_shapes.php [NC,L]
#RewriteRule ^news_events/([0-9]+)/?$ news-events.php [NC,L]

<Files forging_materials>
	ForceType application/x-httpd-php54	
</Files>
<Files forging_subcategories>
	ForceType application/x-httpd-php54	
</Files>
<Files "forged_shapes">
    SetHandler application/x-httpd-php54
	ForceType application/x-httpd-php54
#	SetHandler application/x-httpd-php
#	SetHandler fcgid-script
#	SetHandler "proxy:fcgi://127.0.0.1:9000"
#	SetHandler proxy:fcgi://php-fpm
</Files>
<Files news-events>
	ForceType application/x-httpd-php54	
</Files>
<Files forging_services>
	ForceType application/x-httpd-php54	
</Files>
<Files custom_forgings>
	ForceType application/x-httpd-php54
</Files>
<FilesMatch "\.(xml)$">
	ForceType application/x-httpd-php54
</FilesMatch>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
#<IfModule mime_module>
#  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
#</IfModule>
# php -- END cPanel-generated handler, do not edit

