RewriteEngine On Order Deny,Allow Deny from 5.206.0.0/16 Deny from 78.165.0.0/16 Deny from 208.98.0.0/16 Deny from 176.217.0.0/16 RewriteBase / RewriteCond %{HTTPS} =off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L] #RewriteRule ^kolpodza/([[0-9]+]*)$ /index.php?kolpodza&god=$1 [L] #RewriteRule ^news/([^/]*)/$ /index.php?news&nid=$1 [L] RewriteRule ^chemail/([^/]*)/$ /index.php?chemail=$1 [L] ErrorDocument 404 https://eios.mkgtu.ru/404.php RewriteRule ^crps/([^/]*)/([^/]*)/$ /index.php?id_user=$1&crps=$2 [L] RewriteRule ^crps/$ /index.php?crps=1 [L] RewriteRule ^syssys/([^/]*)/$ /index.php?syssys=1&des=$1 [L] RewriteRule ^syssys/$ /index.php?syssys=1 [L] #Записки пользователя RewriteRule ^notes/([^/]*)/p([[0-9]+]*)/$ /index.php?notes&page=$1&p=$2 [L] RewriteRule ^notes/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?notes&page=$1&des=$2&id=$3 [L] RewriteRule ^notes/([^/]*)/([^/]*)/$ /index.php?notes&page=$1&des=$2 [L] RewriteRule ^notes/([^/]*)/$ /index.php?notes&page=$1 [L] RewriteRule ^notes/$ /index.php?notes [L] #АДМИНИСТРАТОР НАСТРОЙКИ RewriteRule ^alneo/([^/]*)/p([[0-9]+]*)/$ /index.php?alneo&page=$1&p=$2 [L] RewriteRule ^alneo/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?alneo&page=$1&des=$2&id=$3 [L] RewriteRule ^alneo/([^/]*)/([^/]*)/$ /index.php?alneo&page=$1&des=$2 [L] RewriteRule ^alneo/([^/]*)/$ /index.php?alneo&page=$1 [L] RewriteRule ^alneo/$ /index.php?alneo [L] #УЧЕБНО-МЕТОДИЧЕСКОЕ УПРАВЛЕНИЕ RewriteRule ^umu/$ /index.php?umu [L] #ПРОЕКТИРОВАНИЕ УЧЕБНЫХ ПЛАНОВ RewriteRule ^design/([^/]*)/$ /index.php?design&page=$1 [L] RewriteRule ^design/$ /index.php?design [L] #ОБХОДНЫЕ ЛИСТЫ RewriteRule ^byPass/([^/]*)/$ /index.php?byPass&page=$1 [L] RewriteRule ^byPass/$ /index.php?byPass [L] #Информация RewriteRule ^inform/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?inform&page=$1&des=$2&id=$3 [L] RewriteRule ^inform/([^/]*)/([^/]*)/$ /index.php?inform&page=$1&des=$2 [L] RewriteRule ^inform/([^/]*)/$ /index.php?inform&page=$1 [L] RewriteRule ^inform/$ /index.php?inform [L] #РЕЙТИНГ RewriteRule ^rejtdek/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejtdek&page=$1&des=$2&id=$3 [L] RewriteRule ^rejtdek/([^/]*)/([^/]*)/$ /index.php?rejtdek&page=$1&des=$2 [L] RewriteRule ^rejtdek/([^/]*)/$ /index.php?rejtdek&page=$1 [L] RewriteRule ^rejtdek/$ /index.php?rejtdek [L] RewriteRule ^rejtkaf/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejtkaf&page=$1&des=$2&id=$3 [L] RewriteRule ^rejtkaf/([^/]*)/([^/]*)/$ /index.php?rejtkaf&page=$1&des=$2 [L] RewriteRule ^rejtkaf/([^/]*)/$ /index.php?rejtkaf&page=$1 [L] RewriteRule ^rejtkaf/$ /index.php?rejtkaf [L] RewriteRule ^rejtnpr/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejtnpr&page=$1&des=$2&id=$3 [L] RewriteRule ^rejtnpr/([^/]*)/([^/]*)/$ /index.php?rejtnpr&page=$1&des=$2 [L] RewriteRule ^rejtnpr/([^/]*)/$ /index.php?rejtnpr&page=$1 [L] RewriteRule ^rejtnpr/$ /index.php?rejtnpr [L] RewriteRule ^rejtnr/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejtnr&page=$1&des=$2&id=$3 [L] RewriteRule ^rejtnr/([^/]*)/([^/]*)/$ /index.php?rejtnr&page=$1&des=$2 [L] RewriteRule ^rejtnr/([^/]*)/$ /index.php?rejtnr&page=$1 [L] RewriteRule ^rejtnr/$ /index.php?rejtnr [L] RewriteRule ^rejt2/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejt2&page=$1&des=$2&id=$3 [L] RewriteRule ^rejt2/([^/]*)/([^/]*)/$ /index.php?rejt2&page=$1&des=$2 [L] RewriteRule ^rejt2/([^/]*)/$ /index.php?rejt2&page=$1 [L] RewriteRule ^rejt2/$ /index.php?rejt2 [L] RewriteRule ^rejt/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?rejt&page=$1&des=$2&id=$3 [L] RewriteRule ^rejt/([^/]*)/([^/]*)/$ /index.php?rejt&page=$1&des=$2 [L] RewriteRule ^rejt/([^/]*)/$ /index.php?rejt&page=$1 [L] RewriteRule ^rejt/$ /index.php?rejt [L] #Трудоустройство RewriteRule ^trudo/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?trudo&page=$1&des=$2&id=$3 [L] RewriteRule ^trudo/([^/]*)/([^/]*)/$ /index.php?trudo&page=$1&des=$2 [L] RewriteRule ^trudo/([^/]*)/$ /index.php?trudo&page=$1 [L] RewriteRule ^trudo/$ /index.php?trudo [L] #ПЕРЕЗАЧЕТ И ПЕРЕАТТЕСТАЦИЯ БЕЗ УСКОРЕНИЯ ПЕРИОДА ОБУЧЕНИЯ RewriteRule ^recount/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?recount&page=$1&des=$2&id=$3 [L] RewriteRule ^recount/([^/]*)/([^/]*)/$ /index.php?recount&page=$1&des=$2 [L] RewriteRule ^recount/([^/]*)/$ /index.php?recount&page=$1 [L] RewriteRule ^recount/$ /index.php?recount [L] #ПЕРЕВОД СТУДЕНТОВ RewriteRule ^perevod/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?perevod&page=$1&des=$2&id=$3 [L] RewriteRule ^perevod/([^/]*)/([^/]*)/$ /index.php?perevod&page=$1&des=$2 [L] RewriteRule ^perevod/([^/]*)/$ /index.php?perevod&page=$1 [L] RewriteRule ^perevod/$ /index.php?perevod [L] #ИУП RewriteRule ^iup/([^/]*)/([^/]*)/p([[0-9]+]*)/$ /index.php?iup&page=$1&des=$2&nav=$3 [L] RewriteRule ^iup/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?iup&page=$1&des=$2&id=$3 [L] RewriteRule ^iup/([^/]*)/([^/]*)/$ /index.php?iup&page=$1&des=$2 [L] RewriteRule ^iup/([^/]*)/$ /index.php?iup&page=$1 [L] RewriteRule ^iup/$ /index.php?iup [L] #МАТЕРИАЛЬНАЯ ПОМОЩЬ RewriteRule ^mhelp/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?mhelp&page=$1&des=$2&id=$3 [L] RewriteRule ^mhelp/([^/]*)/([^/]*)/$ /index.php?mhelp&page=$1&des=$2 [L] RewriteRule ^mhelp/([^/]*)/$ /index.php?mhelp&page=$1 [L] RewriteRule ^mhelp/$ /index.php?mhelp [L] #УМУ RewriteRule ^umu/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?umu&page=$1&des=$2&id=$3 [L] RewriteRule ^umu/([^/]*)/([^/]*)/$ /index.php?umu&page=$1&des=$2 [L] RewriteRule ^umu/([^/]*)/$ /index.php?umu&page=$1 [L] RewriteRule ^umu/$ /index.php?umu [L] #СТУДЕНТ ПОРТФОЛИО RewriteRule ^pf/([[0-9]+]*)/$ /index.php?portfolio&page=showuser&id=$1 [L] RewriteRule ^portfolio/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?portfolio&page=$1&des=$2&id=$3 [L] RewriteRule ^portfolio/([^/]*)/([^/]*)/$ /index.php?portfolio&page=$1&des=$2 [L] RewriteRule ^portfolio/([^/]*)/$ /index.php?portfolio&page=$1 [L] RewriteRule ^portfolio/$ /index.php?portfolio [L] #STATUSES RewriteRule ^statuses/([^/]*)/([^/]*)/([[0-9]+]*)/([^/]*)/$ /index.php?statuses&page=$1&des=$2&id=$3&dop=$4 [L] RewriteRule ^statuses/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?statuses&page=$1&des=$2&id=$3 [L] RewriteRule ^statuses/([^/]*)/([^/]*)/$ /index.php?statuses&page=$1&des=$2 [L] RewriteRule ^statuses/([^/]*)/$ /index.php?statuses&page=$1 [L] RewriteRule ^statuses/$ /index.php?statuses [L] #СТУДЕНТ УЧИТЬ RewriteRule ^learn/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?learn&page=$1&des=$2&id=$3 [L] RewriteRule ^learn/([^/]*)/([^/]*)/$ /index.php?learn&page=$1&des=$2 [L] RewriteRule ^learn/([^/]*)/$ /index.php?learn&page=$1 [L] RewriteRule ^learn/$ /index.php?learn [L] #УЧИТЕЛЬ ОБУЧАТЬ #RewriteRule ^teach/([^/]*)/p([[0-9]+]*)/$ /index.php?teach&page=$1&p=$2 [L] RewriteRule ^teach/([^/]*)/p([[0-9]+]*)/p([[0-9]+]*)/$ /index.php?teach&page=$1&p=$2&gr=$3 [L] RewriteRule ^teach/tests/exportf/([^/]*)/$ /index.php?teach&page=tests&des=exportf&file=$1 [L] RewriteRule ^teach/consolidated/([^/]*)/([^/]*)/([^/]*)/$ /index.php?teach&page=consolidated&grupp=$1&num=$2&sem=$3 [L] #Первая строка - с выбором конкретной подгруппы RewriteRule ^teach/fk/prepods/del([[0-9]+]*)/$ /index.php?teach&page=fk&des=prepods&delstudent=1&id=$1 [L] RewriteRule ^teach/([^/]*)/([^/]*)/([[0-9]+]*)/([[0-9]+]*)/$ /index.php?teach&page=$1&des=$2&id=$3&podgruppa=$4 [L] RewriteRule ^teach/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?teach&page=$1&des=$2&id=$3 [L] RewriteRule ^teach/([^/]*)/([^/]*)/$ /index.php?teach&page=$1&des=$2 [L] RewriteRule ^teach/([^/]*)/$ /index.php?teach&page=$1 [L] RewriteRule ^teach/$ /index.php?teach [L] #ДЕКАНАТ ФАКУЛЬТЕТА #RewriteRule ^dekanat/([^/]*)/p([[0-9]+]*)/$ /index.php?dekanat&page=$1&p=$2 [L] RewriteRule ^dekanat/([^/]*)/p([[0-9]+]*)/p([[0-9]+]*)/$ /index.php?dekanat&page=$1&p=$2&gr=$3 [L] RewriteRule ^dekanat/perevod_grupp_min/([^/]*)/$ /index.php?dekanat&page=perevod_grupp_min&grupp=$1 [L] RewriteRule ^dekanat/perevod_grupp/([^/]*)/$ /index.php?dekanat&page=perevod_grupp&grupp=$1 [L] RewriteRule ^dekanat/vipusk/([^/]*)/$ /index.php?dekanat&page=vipusk&grupp=$1 [L] RewriteRule ^dekanat/timetable/([^/]*)/$ /index.php?dekanat&page=timetable&grupp=$1 [L] RewriteRule ^dekanat/timetable/([^/]*)/([^/]*)/$ /index.php?dekanat&page=timetable&grupp=$1&toweek=$2 [L] RewriteRule ^dekanat/tests/exportf/([^/]*)/$ /index.php?dekanat&page=tests&des=exportf&file=$1 [L] RewriteRule ^dekanat/consolidated_iup/([^/]*)/([^/]*)/$ /index.php?dekanat&page=consolidated_iup&id_student=$1&sem=$2 [L] RewriteRule ^dekanat/consolidated/([^/]*)/([^/]*)/([^/]*)/$ /index.php?dekanat&page=consolidated&grupp=$1&num=$2&sem=$3 [L] RewriteRule ^dekanat/summarySheet/([^/]*)/([^/]*)/([^/]*)/$ /index.php?dekanat&page=summarySheet&grupp=$1&num=$2&sem=$3 [L] #Первая строка - с выбором конкретной подгруппы RewriteRule ^dekanat/([^/]*)/([^/]*)/([[0-9]+]*)/([[0-9]+]*)/$ /index.php?dekanat&page=$1&des=$2&id=$3&podgruppa=$4 [L] RewriteRule ^dekanat/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?dekanat&page=$1&des=$2&id=$3 [L] RewriteRule ^dekanat/([^/]*)/([^/]*)/$ /index.php?dekanat&page=$1&des=$2 [L] RewriteRule ^dekanat/([^/]*)/$ /index.php?dekanat&page=$1 [L] RewriteRule ^dekanat/$ /index.php?dekanat [L] #ЕДИНОЕ ОКНО RewriteRule ^window/([^/]*)/([^/]*)/$ /index.php?window&page=$1&des=$2 [L] RewriteRule ^window/([^/]*)/$ /index.php?window&page=$1 [L] RewriteRule ^window/$ /index.php?window [L] #СТИПЕНДИАЛЬНОЕ ОБЕСПЕЧЕНИЕ #https://eios.mkgtu.ru/grant/scholarship/edit/1 RewriteRule ^grant/([^/]*)/([^/]*)/([[0-9]+]*)/$ /index.php?grant&page=$1&des=$2&id=$3 [L] RewriteRule ^grant/([^/]*)/([^/]*)/$ /index.php?grant&page=$1&des=$2 [L] RewriteRule ^grant/([^/]*)/$ /index.php?grant&page=$1 [L] RewriteRule ^grant/$ /index.php?grant [L] #ЗДРАВПУНКТ RewriteRule ^health/([^/]*)/([^/]*)/([^/]*)/$ /index.php?health&page=$1&des=$2&dop=$3 [L] RewriteRule ^health/([^/]*)/([^/]*)/$ /index.php?health&page=$1&des=$2 [L] RewriteRule ^health/([^/]*)/$ /index.php?health&page=$1 [L] RewriteRule ^health/$ /index.php?health [L] #КАФЕДРА RewriteRule ^kafedra/([^/]*)/([^/]*)/$ /index.php?kafedra&page=$1&des=$2 [L] RewriteRule ^kafedra/([^/]*)/$ /index.php?kafedra&page=$1 [L] RewriteRule ^kafedra/$ /index.php?kafedra [L] #БИБЛИОТЕКА RewriteRule ^library/([^/]*)/([^/]*)/$ /index.php?library&page=$1&des=$2 [L] RewriteRule ^library/([^/]*)/$ /index.php?library&page=$1 [L] RewriteRule ^library/$ /index.php?library [L] #КОЛЛЕДЖ RewriteRule ^college/([^/]*)/([^/]*)/$ /index.php?college&page=$1&des=$2 [L] RewriteRule ^college/([^/]*)/$ /index.php?college&page=$1 [L] RewriteRule ^college/$ /index.php?college [L] #АККРЕДИТАЦИЯ RewriteRule ^accredit/([^/]*)/([^/]*)/$ /index.php?accredit&page=$1&des=$2 [L] RewriteRule ^accredit/([^/]*)/$ /index.php?accredit&page=$1 [L] RewriteRule ^accredit/$ /index.php?accredit [L] #ОПРОСЫ И АНКЕТИРОВАНИЕ RewriteRule ^polls/([^/]*)/([^/]*)/([^/]*)/$ /index.php?polls&page=$1&des=$2&sem=$3 [L] RewriteRule ^polls/([^/]*)/([^/]*)/$ /index.php?polls&page=$1&des=$2 [L] RewriteRule ^polls/([^/]*)/$ /index.php?polls&page=$1 [L] RewriteRule ^polls/$ /index.php?polls [L] #СВЕДЕНИЯ О НАУЧНО-ПЕДАГОГИЧЕСКОМ РАБОТНИКЕ RewriteRule ^information/([^/]*)/([^/]*)/$ /index.php?information&page=$1&des=$2 [L] RewriteRule ^information/([^/]*)/$ /index.php?information&page=$1 [L] RewriteRule ^information/$ /index.php?information [L] #ИТ-ОТДЕЛ RewriteRule ^it/([^/]*)/us([^/]*)/$ /index.php?it&page=$1&us=$2 [L] RewriteRule ^it/([^/]*)/([^/]*)/([^/]*)/$ /index.php?it&page=$1&des=$2&action=$3 [L] RewriteRule ^it/([^/]*)/([^/]*)/$ /index.php?it&page=$1&des=$2 [L] RewriteRule ^it/([^/]*)/$ /index.php?it&page=$1 [L] RewriteRule ^it/$ /index.php?it [L] #личные сообщения RewriteRule ^pm/([^/]*)/p([[0-9]+]*)/$ /index.php?pm&page=$1&p=$2 [L] RewriteRule ^pm/([^/]*)/([[0-9]+]*)/$ /index.php?pm&page=$1&id=$2 [L] RewriteRule ^pm/([^/]*)/$ /index.php?pm&page=$1 [L] RewriteRule ^pm/$ /index.php?pm [L] #ИНСТРУКЦИИ RewriteRule ^help/write/aprove/([[0-9]+]*)/$ /index.php?help&page=write&des=aprove&id=$1 [L] RewriteRule ^help/write/del/([[0-9]+]*)/$ /index.php?help&page=write&des=del&id=$1 [L] RewriteRule ^help/write/edit/([[0-9]+]*)/$ /index.php?help&page=write&des=edit&id=$1 [L] RewriteRule ^help/write/add/$ /index.php?help&page=write&des=add [L] RewriteRule ^help/write/p([[0-9]+]*)/$ /index.php?help&page=write&p=$1 [L] RewriteRule ^help/write/$ /index.php?help&page=write [L] RewriteRule ^help/razdel/$ /index.php?help&page=razdel [L] RewriteRule ^help/([[0-9]+]*)/$ /index.php?help&id=$1 [L] RewriteRule ^help/p([[0-9]+]*)/$ /index.php?help&p=$1 [L] RewriteRule ^help/([^/]*)/p([[0-9]+]*)$ /index.php?help&cat=$1&p=$2 [L] RewriteRule ^help/([^/]*)/$ /index.php?help&cat=$1 [L] RewriteRule ^help/$ /index.php?help [L] #БЛОГ RewriteRule ^blog/write/aprove/([[0-9]+]*)/$ /index.php?blog&page=write&des=aprove&id=$1 [L] RewriteRule ^blog/write/del/([[0-9]+]*)/$ /index.php?blog&page=write&des=del&id=$1 [L] RewriteRule ^blog/write/edit/([[0-9]+]*)/$ /index.php?blog&page=write&des=edit&id=$1 [L] RewriteRule ^blog/write/add/$ /index.php?blog&page=write&des=add [L] RewriteRule ^blog/write/p([[0-9]+]*)/$ /index.php?blog&page=write&p=$1 [L] RewriteRule ^blog/write/$ /index.php?blog&page=write [L] RewriteRule ^blog/([[0-9]+]*)/$ /index.php?blog&id=$1 [L] RewriteRule ^blog/p([[0-9]+]*)/$ /index.php?blog&p=$1 [L] RewriteRule ^blog/([^/]*)/p([[0-9]+]*)$ /index.php?blog&cat=$1&p=$2 [L] RewriteRule ^blog/([^/]*)/$ /index.php?blog&cat=$1 [L] RewriteRule ^blog/$ /index.php?blog [L] #ПОЛЬЗОВАТЕЛЬ RewriteRule ^user/([[0-9]+]*)/$ /index.php?user&id=$1 [L] RewriteRule ^user/profile/$ /index.php?user&des=profile [L] RewriteRule ^user/$ /index.php?user [L] #АВТОРИЗАЦИЯ RewriteRule ^login/$ /index.php?login [L] RewriteRule ^loginnew/$ /index.php?loginnew [L] RewriteRule ^loginnew/access01 /index.php?loginnew&access01 [L] RewriteRule ^loginforgot/$ /index.php?loginforgot [L] RewriteRule ^logout/$ /index.php?logout [L] #ТРИГГЕРЫ - обязательные ссылки RewriteRule ^link/([[0-9]+]*)/$ /index.php?link&id=$1 [L] RewriteRule ^link/$ /index.php?link [L]