• 31-01-2008, 01:56:10
    #1
    wordpress vb siteler sorunsuz çalışırken joomla sitelerde 403 forbidden hatası almaya başladım siteye girilmeye çalıştığında

    Alıntı
    Forbidden

    You don't have permission to access /index.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    .htaccesside yazayım belki gerekir.

    Alıntı
    #
    ### İdeal optimizasyon by tmrsk ###
    #
    ### Hata verirse +FollowSymlinks yapin
    #
    Options FollowSymLinks
    #
    DirectoryIndex index.php
    #
    RewriteEngine On
    #
    ### RewriteBase e lütfen dikkat
    #
    ### eger siteniz.com/xyz seklinde ise
    #
    ### /xyz olmalidir,
    #
    ### siteniz.com ise / olarak kalsin
    #
    RewriteBase /
    #
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    #
    RewriteCond %{REQUEST_FILENAME} !-d
    #
    RewriteRule ^(.*) index.php
    #
    ### GUVENLIK ###
    #
    # Mosconfig requestlerini için güvenlik
    #
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    #
    # base64culer güvenliği
    #
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    #
    # Url icinde javascript güvenliği
    #
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    #
    # Register globals güvenliği
    #
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    #
    # request güvenliği
    #
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    #
    # yönlendirme
    #
    RewriteRule ^(.*)$ index.php [F,L]
    Nasıl çözebilirim bu sorunu?
    not : artio joomsef kurulu
  • 31-01-2008, 02:04:56
    #2
    Artio kurduktan sonra mı oldu ?
  • 31-01-2008, 02:07:32
    #3
    Akar adlı üyeden alıntı: mesajı görüntüle
    Artio kurduktan sonra mı oldu ?
    Hayır hocam apache update edildikten sonra oldu

    Fakat bi arkadaşım saolsun halletti.
    htaccessimi şununla değiştirdim sorun çözüldü. Aynı soruyu yaşayan olursa faydalansın diye koyuyorum.

    Alıntı
    RewriteEngine On

    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule (.*) index.php

    ## Joomla Guvenlik (has nothing to do with SEF/SEO)

    ## Begin - Rewrite rules to block out some common exploits

    ## If you experience problems on your site block out the operations listed below

    ## This attempts to block the most common type of exploit `attempts` to Joomla!

    # Block out any script trying to set a mosConfig value through the URL

    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]

    # Block out any script trying to base64_encode crap to send via URL

    #RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]

    # Block out any script that includes a tag in URL

    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]

    # Block out any script trying to set a PHP GLOBALS variable via URL

    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]

    # Block out any script trying to modify a _REQUEST variable via URL

    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})

    # Send all blocked request to homepage with 403 Forbidden error!

    RewriteRule ^(.*)$ index.php [F,L]
  • 31-01-2008, 02:24:39
    #4
    Apache 2.x sürümlerden bir kısmı (sanırım 2.2.0) bu hataya sebep olabiliyordu. Ancak yine sanırım bu durumda Artio'nun 2.2.6 sürümü sorun çıkarmıyordu.

    Geçmiş olsun.