Witam serdecznie,
Mam taki plik .htaccess:
Options +FollowSymLinks
RewriteEngine on
#Przekierowanie na https
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mojastrona.com [nc]
RewriteRule ^(.*)$ <a href="http://www.mojastrona.com/$1" target="_blank">http://www.mojastrona.com/$1</a> [r=301,nc]
#Przekierowanie na https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ <a href="https://www.mojastrona.com" target="_blank">https://www.mojastrona.com</a>
<Files .htaccess>
order allow,deny
deny from all
</Files>
RedirectMatch 403 ^.*/userfiles/(.*).php(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).exe(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).js(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).html(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php2(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php3(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php4(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php5(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php6(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).php7(.*)$
RedirectMatch 403 ^.*/userfiles/(.*).phps(.*)$
RewriteRule (.*)\.html index.php?query=$1&lng=$2&%{QUERY_STRING}&modrw [L]
Mam na serwerze Katalog i w nim parę plików html:
https://www.mojastrona.com/banery/strona1.htmlhttps://www.mojastrona.com/banery/strona2.htmlhttps://www.mojastrona.com/banery/strona3.htmlhttps://www.mojastrona.com/banery/strona4.htmlJednak po wywołaniu powyższego adresu w przeglądarce wyświetla mi się strona główna - zamiast tamtego pliku...
Czy mógłby mi ktoś podpowiedzieć co należy poprawić, żeby to zadziałało?