Hello to all,
I have problem logging to the admin panel located at
https://domain.com/admin.php?dispatch=auth.login_form&return_url=adminosvs.php
I got infinite loop of redirects without change to login.
Here is my .htaccess file
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
FcgidWrapper /home/domain/public_html/php.fcgi .php
</IfModule>
RewriteCond %{HTTP_USER_AGENT} ^(.*)PHP/5.4.45 [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(.*)DotBot [NC]
RewriteRule .* - [F]
#deny from all
#AddHandler application/x-httpd-php54 .php
DirectoryIndex index.html index.php
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# HTML
ExpiresByType text/html "access plus 2 days"
</IfModule>
<IfModule mod_headers.c>
# Set XSS Protection header
Header set X-XSS-Protection "1; mode=block"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
RewriteCond %{HTTP_HOST} ^195\.69\.167\.16
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
# Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
RewriteBase /
Options -MultiViews
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} ^api/(.*)$ [or]
RewriteCond %{REQUEST_URI} .*/api/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*api/(.*)$ api.php?_d=$1&ajax_custom=1 [L,QSA]
RewriteCond %{REQUEST_URI} \.(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?)\/(.*)$ $2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
RewriteCond %{QUERY_STRING} sl=en
</IfModule>
Please help