AH00124: Request exceeded the limit of 10 internal redirects error in Ubuntu 16

I know there are existing posts about this.

Here's my situation:

I tried installing Easy Hosting Control Panel (EHCP) via ssh on to my Ubuntu server.....been trying to figure out how to install a free, easy User Interface to help make things easier rather than using SSH.

What I failed to realize was that after installation was done, it replaced my website (it installed itself to /var/www). It also uses nginx apparently. I tried removing all of the files and folders (I looked at any files and folders that were recently updated on the server so I knew that were related to the installation).

I removed nginx from the server via SSH and now I get a 500 internal server rror and the recent entries to the log error says this:

 [Sun Jan 14 09:23:18.604214 2018] [core:error] [pid 10726] [client 66.249.79.90:53453] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
 [Sun Jan 14 09:23:19.604970 2018] [core:error] [pid 10774] [client 66.249.79.94:59919] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
 [Sun Jan 14 09:25:14.718642 2018] [core:error] [pid 10723] [client 119.94.70.225:50670] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Before installing EHCP, the site was fine.

Here's how my current .htacess file looks like:

# BEGIN Adaptive Images
 #=======================

 <IfModule mod_rewrite.c>

RewriteEngine On

# Watched directories
RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /wp-content/themes

# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]

 </IfModule>

# END Adaptive Images

 # BEGIN Adaptive Images
 #=======================

 <IfModule mod_rewrite.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
# AddOutputFilterByType DEFLATE application/javascript
# AddOutputFilterByType DEFLATE application/rss+xml
# AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
# AddOutputFilterByType DEFLATE application/x-font
# AddOutputFilterByType DEFLATE application/x-font-opentype
# AddOutputFilterByType DEFLATE application/x-font-otf
# AddOutputFilterByType DEFLATE application/x-font-truetype
# AddOutputFilterByType DEFLATE application/x-font-ttf
# AddOutputFilterByType DEFLATE application/x-javascript
# AddOutputFilterByType DEFLATE application/xhtml+xml
# AddOutputFilterByType DEFLATE application/xml
# AddOutputFilterByType DEFLATE font/opentype
# AddOutputFilterByType DEFLATE font/otf
# AddOutputFilterByType DEFLATE font/ttf
# AddOutputFilterByType DEFLATE image/svg+xml
# AddOutputFilterByType DEFLATE image/x-icon
# AddOutputFilterByType DEFLATE text/css
# AddOutputFilterByType DEFLATE text/html
# AddOutputFilterByType DEFLATE text/javascript
# AddOutputFilterByType DEFLATE text/plain
# AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Header append Vary User-Agent

RewriteEngine On

# Watched directories
RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /wp-content/themes

# Redirect images through the adaptive images script
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]

</IfModule>

 # END Adaptive Images

 SetEnv no-gzip 1

 # DirectoryIndex index.php index.html
# BEGIN W3TC Browser Cache
 <IfModule mod_deflate.c>
<IfModule mod_filter.c>
    # AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp 
 application/java application/msword application/vnd.ms-fontobject 
 application/x-msdownload image/x-icon image/webp application/json 
 application/vnd.ms-access 
 application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database 
 application/vnd.oasis.opendocument.chart 
application/vnd.oasis.opendocument.formula 
application/vnd.oasis.opendocument.graphics 
application/vnd.oasis.opendocument.presentation 
application/vnd.oasis.opendocument.spreadsheet 
application/vnd.oasis.opendocument.text audio/ogg application/pdf 
 application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav 
 application/vnd.ms-write application/font-woff application/font-woff2 
 application/vnd.ms-excel
<IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
</IfModule>
 <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$">
<IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
</IfModule>
 </FilesMatch>
<FilesMatch "\.

(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$">

 <IfModule mod_headers.c>
     Header unset Last-Modified
   </IfModule>
   </FilesMatch>
   # END W3TC Browser Cache
   # BEGIN W3TC Page Cache core
   <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{HTTPS} =on
   RewriteRule .* - [E=W3TC_SSL:_ssl]
   RewriteCond %{SERVER_PORT} =443
   RewriteRule .* - [E=W3TC_SSL:_ssl]
   RewriteCond %{HTTP:X-Forwarded-Proto} =https [NC]
   RewriteRule .* - [E=W3TC_SSL:_ssl]
   RewriteCond %{HTTP:Accept-Encoding} gzip
   RewriteRule .* - [E=W3TC_ENC:_gzip]
   RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
   RewriteRule .* - [E=W3TC_PREVIEW:_preview]
   RewriteCond %{REQUEST_METHOD} !=POST
   RewriteCond %{QUERY_STRING} =""
   RewriteCond %{REQUEST_URI} \/$
   RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
   RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
   RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%
{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
   </IfModule>
   # END W3TC Page Cache core
   # BEGIN WordPress
   <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteRule ^index\.php$ - [L]
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress