# Use PHP5.4 Single php.ini as default
AddHandler application/x-httpd-php54s .php

# Do not change this line -
RewriteEngine on 

# Change yourdomain.com to be your main domain. 
RewriteCond %{HTTP_HOST} ^(www.)?truckstopearth.com$ 

# Change 'subfolder' to be the folder you will use for your main domain. 
RewriteCond %{REQUEST_URI} !^/truckstopearth/ 

# Don't change this line. 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 

# Change 'subfolder' to be the folder you will use for your main domain. 
RewriteRule ^(.*)$ /truckstopearth/$1 

# Change yourdomain.com to be your main domain again. 
# Change 'subfolder' to be the folder you will use for your main domain 
# followed by / then the main file for your site, index.php, index.html, etc. 
RewriteCond %{HTTP_HOST} ^(www.)?truckstopearth.com$ 
RewriteRule ^(/)?$ truckstopearth/index.html [L]


# Directory Index File
DirectoryIndex index.html index.php default.html index.htm default.htm
