Reklamlar
Ayrıntılı Konu Bilgileri
Sayfa BaşlığıKonu: vBulletin 5.x.x Optimize .htaccess
Mesaj SayısıMesaj Sayısı: 1 cevap var
OkumaGösterim: 1695
Google Özel Arama

Gönderen Konu: vBulletin 5.x.x Optimize .htaccess  (Okunma sayısı 1695 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

    sevdaligul

  • Administrator
  • *

  • İleti: 13121
  • Nerden: Konya
  • Rep: +6511/-0
  • Cinsiyet: Bay
  • GüLe SeVDaLı Bir GeNç
    • MSN Messenger - sevdaligul@gmail.com
    • Profili Görüntüle GüLe SeVDaLı BiR GeNçLiK
  • Çevrimdışı
vBulletin 5.x.x Optimize .htaccess
« : 16 Haziran 2013, 13:30:21 »


 

Vbulletin 5 için hızlı ve basit bir düzeltme. Htaccess dosyaları. Hala bunu içeren vbulletin önceki sürümleri için yaptığı aynı yararları sağlar:


Önbelleğe Kaldıraç tarayıcı
Önbellek doğrulayıcı belirtin
Gzip sıkıştırmasını etkinleştir

Caching tabii gzip anında içeriği sıkıştırır iken ziyaret başına indirmeden az dosya anlamına gelir.

Vbulletin Admin cp gzip DISABLE emin olun!Htaccess dosyasında kod gzip sıkıştırma kolları ve etkin admincp gzip tutarsanız ekstra sunucu yükleme neden olabilir!





Kod: Linklerin Görülmesine İzin Verilmiyor. Üye Ol ya da Giriş Yap
# Author: Final Kaoss
# Version 2.8
# Special Thanks Goes to W3Total Cache for much of the htaccess rules
# Downloaded from: http://www.vbulletin.org/forum/showthread.php?t=288429
RewriteEngine on


# This file is only needed if you have set the Forum Component URL in your admincp and you are
# using the mod_rewrite option for friendly urls.  If this is the case, copy this file
# to your forum component stub directory.


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]


#needed because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
</IfModule>


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
        AddType text/css .css
        AddType text/richtext .rtf .rtx
        AddType image/svg+xml .svg .svgz
        AddType text/plain .txt
        AddType text/xsd .xsd
        AddType text/xsl .xsl
        AddType video/asf .asf .asx .wax .wmv .wmx
        AddType video/avi .avi
        AddType image/bmp .bmp
        AddType application/java .class
        AddType video/divx .divx
        AddType application/msword .doc .docx
        AddType application/x-msdownload .exe
        AddType image/gif .gif
        AddType application/x-gzip .gz .gzip
        AddType image/x-icon .ico
        AddType image/jpeg .jpg .jpeg .jpe
        AddType application/vnd.ms-access .mdb
        AddType audio/midi .mid .midi
        AddType video/quicktime .mov .qt
        AddType audio/mpeg .mp3 .m4a
        AddType video/mp4 .mp4 .m4v
        AddType video/mpeg .mpeg .mpg .mpe
        AddType application/vnd.ms-project .mpp
        AddType application/vnd.oasis.opendocument.database .odb
        AddType application/vnd.oasis.opendocument.chart .odc
        AddType application/vnd.oasis.opendocument.formula .odf
        AddType application/vnd.oasis.opendocument.graphics .odg
        AddType application/vnd.oasis.opendocument.presentation .odp
        AddType application/vnd.oasis.opendocument.spreadsheet .ods
        AddType application/vnd.oasis.opendocument.text .odt
        AddType audio/ogg .ogg
        AddType application/pdf .pdf
        AddType image/png .png
        AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
        AddType audio/x-realaudio .ra .ram
        AddType application/x-shockwave-flash .swf
        AddType application/x-tar .tar
        AddType image/tiff .tif .tiff
        AddType audio/wav .wav
        AddType audio/wma .wma
        AddType application/vnd.ms-write .wri
        AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
        AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/css A2628000
        ExpiresByType text/richtext A3600
        ExpiresByType image/svg+xml A3600
        ExpiresByType text/plain A3600
        ExpiresByType text/xsd A3600
        ExpiresByType text/xsl A3600
        ExpiresByType video/asf A2628000
        ExpiresByType video/avi A2628000
        ExpiresByType image/bmp A2628000
        ExpiresByType application/java A2628000
        ExpiresByType video/divx A2628000
        ExpiresByType application/msword A2628000
        ExpiresByType application/x-msdownload A2628000
        ExpiresByType image/gif A2628000
        ExpiresByType application/x-gzip A2628000
        ExpiresByType image/x-icon A2628000
        ExpiresByType image/jpeg A2628000
        ExpiresByType application/vnd.ms-access A2628000
        ExpiresByType audio/midi A2628000
        ExpiresByType video/quicktime A2628000
        ExpiresByType audio/mpeg A2628000
        ExpiresByType video/mp4 A2628000
        ExpiresByType video/mpeg A2628000
        ExpiresByType application/vnd.ms-project A2628000
        ExpiresByType application/vnd.oasis.opendocument.database A2628000
        ExpiresByType application/vnd.oasis.opendocument.chart A2628000
        ExpiresByType application/vnd.oasis.opendocument.formula A2628000
        ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
        ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
        ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
        ExpiresByType application/vnd.oasis.opendocument.text A2628000
        ExpiresByType audio/ogg A2628000
        ExpiresByType application/pdf A2628000
        ExpiresByType image/png A2628000
        ExpiresByType application/vnd.ms-powerpoint A2628000
        ExpiresByType audio/x-realaudio A2628000
        ExpiresByType application/x-shockwave-flash A2628000
        ExpiresByType application/x-tar A2628000
        ExpiresByType image/tiff A2628000
        ExpiresByType audio/wav A2628000
        ExpiresByType audio/wma A2628000
        ExpiresByType application/vnd.ms-write A2628000
        ExpiresByType application/vnd.ms-excel A2628000
        ExpiresByType application/zip A2628000
</IfModule>
<IfModule mod_deflate.c>
        <IfModule mod_setenvif.c>
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4\.0[678] no-gzip
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
                BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
        </IfModule>
        <IfModule mod_headers.c>
                Header append Vary User-Agent env=!dont-vary
        </IfModule>
        <IfModule mod_filter.c>
                AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
        </IfModule>
</IfModule>
<FilesMatch "\.(css|CSS|)$">
        <IfModule mod_headers.c>
                Header set Pragma "public"
                Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        </IfModule>
        FileETag MTime Size
        <IfModule mod_headers.c>
                 Header set X-Powered-By "Step by Step guide to speed up your VB5"
        </IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|)$">
        <IfModule mod_headers.c>
                Header set Pragma "public"
                Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        </IfModule>
        FileETag MTime Size
        <IfModule mod_headers.c>
                 Header set X-Powered-By "Step by Step guide to speed up your VB5"
        </IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        <IfModule mod_headers.c>
                Header set Pragma "public"
                Header append Cache-Control "public, must-revalidate, proxy-revalidate"
        </IfModule>
        FileETag MTime Size
        <IfModule mod_headers.c>
                 Header set X-Powered-By "Step by Step guide to speed up your VB5"
        </IfModule>
</FilesMatch>
# End Browser Caching/Headers
Aklımdaki sensin
Fikrimdeki Sen
Sen tekderdimsin
Gülüm Benim

Ynt: vBulletin 5.x.x Optimize .htaccess
« Yanıtla #1 : 15 Haziran 2016, 12:34:27 »
teşekkürler bende tam böyle bir site arıyordum.
Linklerin Görülmesine İzin Verilmiyor. Üye Ol ya da Giriş Yap, Linklerin Görülmesine İzin Verilmiyor. Üye Ol ya da Giriş Yap ve Linklerin Görülmesine İzin Verilmiyor. Üye Ol ya da Giriş Yap


Paylaş delicious Paylaş digg Paylaş facebook Paylaş furl Paylaş linkedin Paylaş myspace Paylaş reddit Paylaş stumble Paylaş technorati Paylaş twitter
 

Benzer Konular

  Konu / Başlatan Yanıt Son İleti
0 Yanıt
1128 Gösterim
Son İleti 24 Ocak 2008, 20:02:43
Gönderen: sevdaligul
1 Yanıt
4995 Gösterim
Son İleti 02 Kasım 2011, 11:52:51
Gönderen: krause
0 Yanıt
1175 Gösterim
Son İleti 21 Mart 2008, 23:45:44
Gönderen: sevdaligul
0 Yanıt
978 Gösterim
Son İleti 05 Mart 2010, 19:30:12
Gönderen: sevdaligul
1 Yanıt
2640 Gösterim
Son İleti 07 Ocak 2012, 23:35:34
Gönderen: sevsende

web hosting Domain Web
İçerik sağlayacı paylaşım sitelerinden biri olan sevdaligul.com forum sitemizde 5651 Sayılı Kanun’un 8. Maddesine ve T.C.K’nın 125. Maddesine göre TÜM ÜYELERİMİZ yaptıkları paylaşımlardan sorumludur. sevdaligul.com hakkında yapılacak tüm hukuksal Şikayetler sevdaligul@gmail.com  adresi ile iletişime geçilmesi halinde ilgili kanunlar ve yönetmelikler çerçevesinde en geç 1 (Bir) Hafta içerisinde sevdaligul.com  yönetimi olarak tarafımızdan gereken işlemler yapılacak ve size dönüş yapacaktır.