closed ERR_TOO_MANY_REDIRECTS message on lading page

alt=
duke
@musamensa
5 years ago
253 posts
Hi,
I get this error only on my index page, my Hosting company told me it has something to do with my .htaccess file. I guess i have to make some edits to resolve these issues please find below the content of the .htaccess file.
updated by @musamensa: 02/03/20 09:51:11PM
alt=
duke
@musamensa
5 years ago
253 posts
RewriteOptions inherit
# Jamroom Apache .htaccess file
DirectoryIndex modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags

Header unset ETag
FileETag None
# Expires for CSS, JS and Images

Header set Expires "Thu, 15 Apr 2020 20:00:00 GMT"


Header set Access-Control-Allow-Origin "*"



# Compress everything we can

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript


# All requests through the router

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^modules/.*\.tpl$ - [F,L,NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^skins/.*\.tpl$ - [F,L,NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/itembo\.com\/" [R=301,L]
alt=
duke
@musamensa
5 years ago
253 posts
I resolved the issues by downloading a new .htaccess file from the jamroom source code and replacing it with what was uploaded.

Tags