• 20-08-2007, 12:17:57
    #10
    Alıntı
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^http://(\.)?site.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com(/)?.*$ [NC]

    RewriteRule .*\.(gif|jpg|jpeg|bmp|zip|avi|rar|mpeg|mpg|wmv|asf |mov|exe|pdf|swf)$ http://www.site.com/ [R,NC]
    bunu .htaccess dosyasının içine kaydet.
    istersen aşağıdaki satırları kopyalayıp sub domainin veya diğer domainlerin için özel izin verebilirsin.
    Alıntı
    RewriteCond %{HTTP_REFERER} !^http://(\.)?site.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.com(/)?.*$ [NC]
    (site.com yerine kendi domainini yazacan)
  • 20-08-2007, 12:23:45
    #11
    aynı sorun bir ara bendede vardı sonra hallettim
  • 20-08-2007, 14:22:42
    #12
    deli dana

    bnm zaten htacccessim var onun içine koyunca da site bozuluyor. nasıl yapcam??



    bnm htaccess:

    # htaccess file for zenphoto
    # NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.

    <IfModule mod_rewrite.c>
    RewriteEngine On

    #### !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
    RewriteBase /resimler
    ####

    RewriteRule ^admin/?$ zen/admin.php [R,L]

    RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
    RewriteCond %{REQUEST_FILENAME} -d [NC]
    RewriteRule ^.*$ - [R,L]

    RewriteRule index\.php$ index.php [L,QSA]
    RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
    RewriteRule ^page/([A-Za-z0-9\-_]+)/?$ index.php?p=$1 [L,QSA]
    RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
    RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/\\]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]
    RewriteRule ^(.*)/image/([^/\\]+)$ zen/i.php?a=$1&i=$2 [L,QSA]

    # Catch-all - everything else gets handled in PHP for compatibility.
    RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
    </IfModule>
  • 20-08-2007, 15:41:42
    #13
    koyduğun yer neresi yanlız ?
    </ifmodule> nin altına koy.
  • 20-08-2007, 16:17:37
    #14
    kydum ama site tümden gitti.
  • 25-08-2007, 18:23:11
    #15
    Transfer 9737.17 oldu:s

    büyük ihtimal eklentilerden kaynaklanıyor. wordpress başlığı altında konu açıcam.