File: /home/emblazeone/public_html/help/.htaccess
# Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} help.emblazeone.org
RewriteRule (.*) https://help.limitless.net/$1 [R=301,L]
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# RewriteCond %{SERVER_PORT} !^443$
# RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
# for bearer authorization
# RewriteCond %{HTTP:Authorization} .
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} ^/deploy.php
RewriteRule ^.*$ deploy.php [L]
RedirectMatch 301 /web/index.php/(.*) /$1
RewriteCond %{REQUEST_URI} robots.txt
RewriteRule ^.*$ web/robots.txt [L]
RewriteCond %{REQUEST_URI} sitemap.xml
RewriteRule ^.*$ web/sitemap.xml [L]
RewriteCond %{REQUEST_URI} ror.xml
RewriteRule ^.*$ web/ror.xml [L]
RewriteCond %{REQUEST_URI} favicon.ico
RewriteRule ^.*$ web/favicon.ico [L]
#
RewriteCond %{REQUEST_URI} ^/(tutorialImages)
RewriteRule ^tutorialImages/(.*)$ tutorialImages/$1 [L]
RewriteCond %{REQUEST_URI} ^/(assets|css|images|video|fonts|js)
RewriteRule ^assets/(.*)$ web/assets/$1 [L]
RewriteRule ^css/(.*)$ web/css/$1 [L]
RewriteRule ^uploads/(.*)$ uploads/$1 [L]
RewriteRule ^images/(.*)$ images/$1 [L]
RewriteRule ^video/(.*)$ video/$1 [L]
#
RewriteCond %{REQUEST_URI} !^/web/(assets|css|images|fonts|js|minify)/
RewriteCond %{REQUEST_URI} !index.php
# RewriteCond %{REQUEST_URI} !getWsdl.php
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ web/index.php [NC,L,QSA]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit