RewriteEngine on
RewriteBase /

#RedirectMatch 302 ^(.*)$ https://www.testler.az/exams/categories


# son yenilikler
RewriteRule ^son-yenilikler/([0-9]+)/?([^/]*) index_pages_main.php?current_p_num=$1&temp=$2 [QSA,L]


# izahli luget bolme hissesi
RewriteRule ^izahli-luget/([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*) izahli-luget/i_l_bolme_listesi.php?bolme_id=$1&cur_page=$2&temp=$3&show_stat=$4&print_query=$5  [QSA,L]

# izahli luget comment hissesi
RewriteRule ^il/([a-z0-9-]+)/([0-9]+)-([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*)  izahli-luget/i_l_comment_page_new.php?bolme_id=$2&i_l_id=$3&cur_page=$4&descr=$1&temp=$5&show_stat=$6&print_query=$7[QSA,L]




# atalar sozu comments
RewriteRule ^as/([a-z0-9-]+)/([0-9]+)-([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*) atalar-sozleri/a_t_comment_page.php?bolme_id=$2&a_t_id=$3&cur_page=$4&descr=$1&temp=$5&show_stat=$6  [QSA,L]

# atalar sozu bolme
RewriteRule ^atalar-sozleri/([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*) atalar-sozleri/a_t_bolme_listesi.php?bolme_id=$1&cur_page=$2&temp=$3&show_stat=$4  [QSA,L]






# - - - -  - - -TESTLER PART - - - -  - - - - - -- -  - - -- - -- 

# testler mundericat list
RewriteRule ^test/([a-z0-9-]+)/?([^/]*)/?([^/]*) mundericatlar/main_mundericat_list.php?fenn=$1&temp=$2&show_stat=$3  [QSA,L]

# testler sinif mundericat
RewriteRule ^testler/([a-z0-9-]+)/([a-z0-9-]+)-sinif/?([^/]*)/?([^/]*)/?([^/]*) mundericatlar/main_mundericat.php?fenn=$1&sinif=$2&temp=$3&show_stat=$4&print_query=$5  [QSA,L]

# testler paraqraf
RewriteRule ^testler/([a-z0-9-]+)/([^/]*)-([a-z0-9-]+)-([a-z0-9-]+)-([a-z0-9-]+)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)  testler/main_testler_new.php?fenn=$2&sinif=$3&p_num=$4&cur_page=$5&descr=$1&temp=$6&show_stat=$7&print_query=$8  [QSA,L]

# testler comments added 14.02.24
RewriteRule ^t/([a-z0-9-]+)/([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*) testler/comment_page_testler_new.php?id=$2&cur_page=$3&descr=$1&temp=$4&show_stat=$5&print_query=$6  [QSA,L]


















RewriteEngine on
RewriteRule ^/social/get_info.php* [G]

RewriteRule ^/___new/ads/add_ads_youtube.php* [G]

RewriteEngine on
#RewriteRule ^/izahli-luget/i_l_comment_page.html* [G]
RewriteRule ^r//1* [G]

RewriteEngine on
#this way most effective

Redirect 410 /social/get_info_new.php
Redirect 410 /social/get_info.php 
Redirect 410 /___new/ads/add_ads_youtube.php
Redirect 410 /___new/*
Redirect 410 /il//13-*

RewriteEngine on
#RedirectMatch 301 "/il//(.*)" "/il/333/$1"

#RewriteCond %{REQUEST_METHOD}  !=POST
#RewriteCond %{REQUEST_URI} ^(.*?)(/{2,})(.*)$
#RewriteRule . %1/%3 [R=301,L]

#goodddd

#RewriteCond %{THE_REQUEST} \s[^?]*//
#RewriteRule (.*) %1 [R=301,L]


RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1 [R=302,L]


#RewriteCond %{THE_REQUEST} ^/il//
#RewriteRule ^(.*)$ /il/ [R=301,L]

#Redirect 301 /social/get_info.php

#Redirect "il//" "il/6/"


#RewriteBase 
# Rule 1: remove multiple leading slashes (directly after the TLD)
#RewriteCond %{THE_REQUEST} \s/{2,}
#RewriteRule (.*) $1 [R=301,L]

# Rule 2: remove multiple slashes in the requested path
#RewriteCond %{REQUEST_URI} ^(.*)/{2,}(.*)$
#RewriteRule (.*) %1/%2 [R=301,L]


#remove double/more slashes in url
#RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
#RewriteRule . %1/%2 [R=301,L]

#RewriteEngine On
#RewriteCond %{ORG_REQ_URI} ^(.*)//(.*)$
#RewriteRule . %1/%2 [R=301,L]

#RewriteRule ^/il// /il/333/ [QSA,L]
#Redirect 301 https://www.shagird.info/il\//   https://www.shagird.info/il/333/
#Redirect 301 ^/il//$ /il/333/ [QSA]

#Redirect 301  ^(.*?)(/{2,})(.*)$ /il/333/

#RewriteRule ^([0-9]+).html /abc.php?id=$1 [QSA,L]

#RewriteRule /il// /il/3 [R=301,L]

#Redirect 301 /il// /il/333/ [QSA,L]

Redirect 301 /tehsile-destek/   https://www.testler.az/tehsile-destek/vk/ 
#Redirect 301 /testler/main_testler.html   /testler/main_testler_new.html

#ErrorDocument 404 https://www.shagird.info/notfound_page.html
ErrorDocument 404 /notfound_page.php

# for all invalid links (non existing files):
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule .* - [L,R=404]

RewriteEngine on
RewriteCond %{HTTP_REFERER} www\.([a-z0-9-]+)\.cn [NC]
RewriteRule .* - [F]



#RewriteCond %{HTTP_REFERER} ([xxx|porn]) [NC]
#RewriteRule .* - [F]
#RewriteEngine On

#RewriteCond %{THE_REQUEST} ([xxx|porn]+) [NC]
#RewriteRule .*  - [F]


#Redirect 301 /testler/main_testler.html
#Redirect 410 /izahli-luget/i_l_comment_page.html



RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

<FilesMatch "\.(htm|html|php)$">
#SetHandler application/x-httpd-php5
</FilesMatch>

SetEnv PHPRC /home/shagird/public_html
#Header add Cache-Control: no-cache
#ExpiresActive on
#ExpiresDefault "now plus 2 seconds"
#Header append Cache-Control: must-revalidate
IndexIgnore */*

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.shagird\.info [NC]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ http://www.shagird.info/$1 [L,R=301]
</IfModule>

Options +FollowSymlinks -Indexes
RewriteEngine on





#sinaqlar
RewriteRule ^sinaqlar/([a-z0-9-_]+)/([0-9]+)/?([^/]*) sinaqlar/1/sinaq_testleri.php?fenn=$1&cur_p_num=$2&temp=$3  [QSA,L]

#izahli-luget/i_l_bolme_listesi.php?bolme_id=$1&cur_page=$2&temp=$3

#http://www.shagird.info/sinaqlar/1/sinaq_testleri.php?fenn=az_dili&cur_p_num=1














# - - - -  - - -SUAL CAVABLAR PART - - - -  - - - - - -- -  - - -- - -- 

# sual cavablar paraqraf
RewriteRule ^sual-cavablar/([a-z0-9-]+)/([a-z0-9-]+)-([a-z0-9-]+)-([a-z0-9-]+)-([a-z0-9-]+)/?([^/]*) sual-cavablar/sual_cavablar_bolme.php?fenn=$2&sinif=$3&p_num=$4&cur_page=$5&descr=$1&temp=$6  [QSA,L]

# sual cavablarr comments
RewriteRule ^sc/([a-z0-9-]+)/([0-9]+)-([0-9]+)/?([^/]*) sual-cavablar/sual_cavablar_comment_page.php?id=$2&cur_page=$3&descr=$1&temp=$4  [QSA,L]

# testler.az sual cavablar
#RewriteRule ^sc1/([a-z0-9-]+)/([0-9]+)-([0-9]+)/?([^/]*) sual_cavab_by_id_new/main_sc.php?id=$2&cur_page=$3&descr=$1&temp=$4  [QSA,L]






















#cavabini yaz paraqraf bolme
#RewriteRule ^cy/([a-z0-9-]+)/([a-z0-9-]+)/?([^/]*)/?([^/]*)/?([^/]*)  cavabini_yaz/mixed/main.php?action=fenn_sinif&fenn=$1&current_p_num=$2&temp=$3&show_stat=$4&print_query=$5  [QSA,L]

#cavabini yaz comments
#RewriteRule ^cyc/([a-z0-9-]+)/?([^/]*)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*)  cavabini_yaz/mixed/comment_page.php?id=$3&fenn=$2&descr=$1&temp=$4&show_stat=$5&print_query=$6  [QSA,L]



#cavabini yaz paraqraf bolme
RewriteRule ^cy/([a-z0-9-]+)/([a-z0-9-]+)/?([^/]*)/?([^/]*)/?([^/]*)  cavabini-yaz/cavabini_yaz_bolme_listesi.php?action=fenn_sinif&fenn=$1&current_p_num=$2&temp=$3&show_stat=$4&print_query=$5  [QSA,L]

#cavabini yaz comments
RewriteRule ^cyc/([a-z0-9-]+)/?([^/]*)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*)  cavabini-yaz/cavabini_yaz_comment_page.php?id=$3&fenn=$2&descr=$1&temp=$4&show_stat=$5&print_query=$6  [QSA,L]



#kurslar metn
RewriteRule ^kurslar/([a-z0-9-]+)/([0-9]+)/?([^/]*)   kurslar/kurs_info.php?id=$2&descr=$1&temp=$3   [QSA,L]

#kurslar axtarish
RewriteRule ^kurs-qesebeler/([a-z0-9-]+)/?([^/]*)/?([^/]*) kurslar/axtarish-qesebeler.php?qesebe=$2&kursun-novu=$1&temp=$3 [QSA,L]




#kurslar metn
RewriteRule ^kurslar/([a-z0-9-]+)/([0-9]+)/?([^/]*)   kurslar/kurs_info.php?id=$2&descr=$1&temp=$3   [QSA,L]

#kurslar axtarish
RewriteRule ^kurs-rayonlar/([a-z0-9-]+)/?([^/]*)/?([^/]*) kurslar/axtarish-rayonlar.php?rayon=$2&kursun-novu=$1&temp=$3 [QSA,L]




#kurslar metn
RewriteRule ^kurslar/([a-z0-9-]+)/([0-9]+)/?([^/]*)   kurslar/kurs_info.php?id=$2&descr=$1&temp=$3   [QSA,L]

#kurslar axtarish
RewriteRule ^kurs/([a-z0-9-]+)/?([^/]*)/?([^/]*) kurslar/axtarish.php?metro-stansiyasi=$2&kursun-novu=$1&temp=$3 [QSA,L]






#kurslar metn
#RewriteRule ^___new/kurslar/([a-z0-9-]+)/([0-9]+)/?([^/]*)   ___new/kurslar/kurs_info.php?id=$2&descr=$1&temp=$3   [QSA,L]

#kurslar axtarish
#RewriteRule ^___new/kurs/([a-z0-9-]+)/?([^/]*)/?([^/]*) ___new/kurslar/axtarish.php?metro-stansiyasi=$2&kursun-novu=$1&temp=$3 [QSA,L]






# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - -
RewriteRule ^([tx|xt|zi|mm|ky|si]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/article_main_file.php?id=$3&descr=$2&art_type=$1&temp=$4 [QSA,L]

# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - - folder is rubrika name
RewriteRule ^(xaricde-tehsil|tehsil-xeberleri|maraqlidir|kurslardaki-yenilikler|shagirdin-istiraheti)/([a-z0-9-]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/article_main_mundericat_file.php?current_p_num=$4&munder_type=$2&folder=$3&art_folder=$1&temp=$5 [QSA,L]
#RewriteRule ^([tehsil-xeberleri|maraqlidir]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/main_mundericat_file.php?current_p_num=$3&munder_type=$2&art_folder=$1&temp=$4 [QSA,L]



# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER MIAN FOLDER DIRECTION - - - - - - - - - 
#RewriteRule ^(tehsil-xeberleri)/ articles/article_main_mundericat_file_first.php?current_p_num=1&munder_type=e&folder=no&art_folder=tehsil-xeberleri [QSA,L]
RewriteRule ^(tehsil-xeberleri)/ articles/article_main_mundericat_file_first.php?current_p_num=1&munder_type=e&folder=no&art_folder=tehsil-xeberleri [QSA,L]
RewriteRule ^(maraqlidir)/ articles/article_main_mundericat_file_first.php?current_p_num=1&munder_type=e&folder=no&art_folder=maraqlidir [QSA,L]

# below 2 is to be unkommented


# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - -
#RewriteRule ^___new/([tx|xt|zi|mm|ky|si]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) ___new/articles/main_file.php?id=$3&descr=$2&art_type=$1&temp=$4 [QSA,L]

# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - - folder is rubrika name
#RewriteRule ^___new/(xaricde-tehsil|tehsil-xeberleri|maraqlidir|kurslardaki-yenilikler|shagirdin-istiraheti)/([a-z0-9-]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) ___new/articles/main_mundericat_file.php?current_p_num=$4&munder_type=$2&folder=$3&art_folder=$1&temp=$5 [QSA,L]


# redirecting old type links to keeping baklinks
Redirect 301 /izahli-luget/i_l_comment_page.html   /izahli-luget/i_l_comment_page.php
Redirect 301 /cavabini_yaz/mixed/comment_page.html   /cavabini-yaz/cavabini_yaz_comment_page.php
Redirect 301 /testler/comment_page_testler.html   /testler/comment_page_testler.php





# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - -
#RewriteRule ^([tx|xt|zi|mm|ky|si]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/main_file.php?id=$3&descr=$2&art_type=$1&temp=$4 [QSA,L]

# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL ----- MEQALE METN - - - folder is rubrika name
#RewriteRule ^(xaricde-tehsil|tehsil-xeberleri|maraqlidir|kurslardaki-yenilikler|shagirdin-istiraheti)/([a-z0-9-]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/main_mundericat_file.php?current_p_num=$4&munder_type=$2&folder=$3&art_folder=$1&temp=$5 [QSA,L]
#RewriteRule ^([tehsil-xeberleri|maraqlidir]+)/([a-z0-9-]+)/([0-9]+)/?([^/]*) articles/main_mundericat_file.php?current_p_num=$3&munder_type=$2&art_folder=$1&temp=$4 [QSA,L]

#http://www.shagird.info/xeberler/mundericat/mundericat_xeberler.php?current_p_num=2

# - - TEHSIL XEBERLERI MARAQLIDIR ZIYALAILAR KURSLARDAKI YENILIKLER XARICDE TESHSIL - - - MEQALE MUNDERICAT -  - -
#RewriteRule ^([tehsilxeberleri|tehsilxebtterleri]+)/?([^/]*)/?([^/]*) articles/main_mundericat_file.php?id=$3&descr=$2&art_folder=$1&temp=$4 [QSA,L]

# - - TEHSIL XEBERLERI - - - -
#RewriteRule ^tx/([a-z0-9-]+)/([0-9]+)/?([^/]*) xeberler/mundericat/main.php?id=$2&descr=$1&temp=$3 [QSA,L]

#RewriteRule ^friends/([^/]*)/?(.*)$ friends.php?name=$1&page=$2

# Make PHP code look like asp or perl code
#AddType application/x-httpd-php .asp .pl

#AddHandler application/x-httpd-php5 .html .htm

#RemoveHandler .html .htm
#AddType application/x-httpd-php .php .htm .html



# 100 WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf|woff|woff2|ttf|wep|webm|webp)$">
#Header set Cache-Control "max-age=60480000, must-revalidate"
Header set Cache-Control "max-age=60480000, public"

#Header set Cache-Control "max-age=6048000, public"
</FilesMatch>

# 2000 HOURS
<filesMatch ".(htm|txt|xsl)$">
#Header set Cache-Control "max-age=7200, must-revalidate"
Header set Cache-Control "max-age=7200000, public"
#SetOutputFilter DEFLATE
#Header set Cache-Control "max-age=1, public"
</filesMatch>



# 200 HOURS
<filesMatch ".(html)$">
Header set Cache-Control "max-age=72000, must-revalidate"
#Header set Cache-Control "max-age=720000, public"
#SetOutputFilter DEFLATE
</filesMatch>


#100week
<filesMatch "\.(css|js)$">
Header set Cache-Control "max-age=60480000, public"
#SetOutputFilter DEFLATE
</filesMatch>

# NEVER CACHE
<FilesMatch "\.(php|cgi|pl)$">
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
#SetOutputFilter DEFLATE
</FilesMatch>

# 1 YEAR
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|mpeg)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>
 

<Files "https://openstat.net/digits?cid=2143505&ls=0&ln=5045">
Header set Cache-Control "max-age=600"
</Files>

<Files "https://www.shagird.info/css/main_new_temp.css">
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
</Files>

<Files "https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js">
Header set Cache-Control "max-age=6000, public"
</Files>


#https://www.shagird.info/js/core_min_best_1.js?date=22.09.22

<Files "https://www.shagird.info/js/core_min_best_1.js">
Header set Cache-Control "max-age=60000, public"
</Files>


<Files "https://www.google-analytics.com/analytics.js">
Header set Cache-Control "max-age=9600, public"
</Files>


<Files "https://www.googletagmanager.com/gtag/js?id=UA-17135335-5">
Header set Cache-Control "max-age=900, public"
</Files>


<Files "https://fonts.googleapis.com/css2?family=Oswald&display=swap">
Header set Cache-Control "max-age=86400, public"
</Files>

<Files "https://www.googletagmanager.com/gtag/js?id=G-E6S8GYC1M1&l=dataLayer&cx=c">
Header set Cache-Control "max-age=900, public"
</Files>




















<Files "https://connect.facebook.net/az_AZ/all.js">
#Header set Cache-Control "max-age=9600, public"
</Files>

<Files "https://connect.facebook.net/en_GB/sdk.js">
#Header set Cache-Control "max-age=9600, public"
</Files>

<Files "https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js">
Header set Cache-Control "max-age=9600, public"
</Files>

<Files "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js">
Header set Cache-Control "max-age=9600, public"
</Files>

<Files "https://www.google-analytics.com/ga.js">
Header set Cache-Control  "max-age=604800"
</Files>

<Files "https://connect.facebook.net/az_AZ/all.js">
#Header set Cache-Control "max-age=9600"
</Files>


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

<ifModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
#ExpiresByType image/jpg "access 1 year"
#ExpiresByType image/jpeg "access 1 year"
#ExpiresByType image/gif "access 1 year"
#ExpiresByType image/png "access 1 year"
#ExpiresByType text/css "access 1 month"
#ExpiresByType text/html "access 1 month"
#ExpiresByType application/pdf "access 1 month"
#ExpiresByType text/x-javascript "access 1 month"
#ExpiresByType application/x-shockwave-flash "access 1 month"
#ExpiresByType image/x-icon "access 1 year"
#ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

# AddHandler application/x-httpd-php5 .html .htm

#AddHandler application/x-httpd-php5 .html .htm

#AddHandler application/x-httpd-php5 .html .htm

#RemoveHandler .html .htm
#AddType application/x-httpd-php5  .htm .html
#AddHandler x-httpd-php .php .php5 .phtml

AddType application/x-httpd-ea-php56 .html .htm

<IfModule mod_deflate.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
</IfModule>








# testler mundericat list NEW VERSION
#RewriteRule ^___new/test/([a-z0-9-]+)/?([^/]*) ___new/mundericatlar/main_mundericat_list.php?fenn=$1&temp=$2  [QSA,L]

# testler sinif mundericat
#RewriteRule ^___new/testler/([a-z0-9-]+)/([a-z0-9-]+)-sinif/?([^/]*)/?([^/]*)/?([^/]*) ___new/mundericatlar/main_mundericat.php?fenn=$1&sinif=$2&temp=$3&show_stat=$4&print_query=$5  [QSA,L]

# testler paraqraf
#RewriteRule ^___new/testler/([a-z0-9-]+)/([^/]*)-([a-z0-9-]+)-([a-z0-9-]+)-([a-z0-9-]+)/?([^/]*)/?([^/]*)/?([^/]*)/?([^/]*)  ___new/testler/main_testler.php?fenn=$2&sinif=$3&p_num=$4&cur_page=$5&descr=$1&temp=$6&show_stat=$7&print_query=$8  [QSA,L]

# testler comments
#RewriteRule ^___new/t/([a-z0-9-]+)/([0-9]+)-([0-9]+)/?([^/]*)/?([^/]*)/?([^/]*) ___new/testler/comment_page_testler.php?id=$2&cur_page=$3&descr=$1&temp=$4&show_stat=$5&print_query=$6  [QSA,L]

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php5_module>
   php_value date.timezone "Asia/Baku"
   php_flag asp_tags Off
   php_flag display_errors On
   php_value max_execution_time 512
   php_value max_input_time 900
   php_value max_input_vars 2000
   php_value memory_limit 512M
   php_value post_max_size 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
   php_value upload_max_filesize 1024M
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
   php_value date.timezone "Asia/Baku"
   php_flag asp_tags Off
   php_flag display_errors On
   php_value max_execution_time 512
   php_value max_input_time 900
   php_value max_input_vars 2000
   php_value memory_limit 512M
   php_value post_max_size 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
   php_value upload_max_filesize 1024M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit


<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 65.108.205.0/24
deny from 104.21.0.0/16
deny from 172.67.0.0/16
deny from 164.90.163.181

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
#cTHIS IS REQUIRED TO OPEN HTML AND HTM FILES
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php5 .phtml .htm .html 
</IfModule>
# php -- END cPanel-generated handler, do not edit
