• 21-01-2008, 00:36:02
    #1
    Merhaba Joomla severler

    Sıfır 1.013 üzerine ARTIO JoomSEF 2.2.6 kurdum. Htaccess ide kurulumda dediğim gibi yapıyorum ama hata hata

    http://seo.pengamum.com/web/

    Alıntı
    Forbidden
    You don't have permission to access /web/index.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.37 Server at seo.pengamum.com Port 80
    Sorun sanırım htaccess
    htaccess'in içini temizleyince anasayfa açılıyo linkler SEO dostu gözüküyor fakat not found

    Şimdiden teşekkürler dostlar...
  • 21-01-2008, 00:40:14
    #2
    Alt klasörde kurulu olan joomla için # Rewritebase / başındaki "#" silip sonuna da klasör adını yazdınızmı mesela "Rewritebase /web"
    DirectoryIndex index.php
    
    ##  Can be commented out if causes errors, see notes above.
    Options FollowSymlinks
    
    RewriteEngine On
    
    #  Uncomment following line if your webserver's URL
    #  is not directly related to physical file paths.
    #  Update Your Joomla! Directory (just / for root)
    #  Rewritebase /
    
    RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php
    
    ########## 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} (\|%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]
    # 
    ########## End - Rewrite rules to block out some common exploits
  • 21-01-2008, 00:48:06
    #3
    Hocam bu hızlı ve güzel cevabın için çok teşekkürler fakat aynı hatayı veriyor htacces şu şekilde şuanda

    DirectoryIndex index.php
    ##  Can be commented out if causes errors, see notes above.
    Options FollowSymlinks
    RewriteEngine On
    #  Uncomment following line if your webserver's URL
    #  is not directly related to physical file paths.
    #  Update Your Joomla! Directory (just / for root)
    Rewritebase /web
    RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php
    ########## 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} (\|%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]
    # 
    ########## End - Rewrite rules to block out some common exploits
    Sunucuda rewrite var çünkü aynı sunucu
    Welcome to the Frontpage
    Joomla 1.5 kendi SEO'su

    Teşekkürler
  • 21-01-2008, 00:52:32
    #4
    Deneme yanılma yapacağız artık başka çaresi yok bir de şu kısmı "Options FollowSymLinks" böyle yaparmısın yoksa başka htaccess kodu deneyeceğiz "Options +FollowSymLinks"
  • 21-01-2008, 00:56:03
    #5
    Rewritebase /web
    RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
    RewriteCond %{REQUEST_URI} (/|.htm|.php|.html|/[^.]*)$  [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php
    Bu kısımı şöyle değiştir bakalım
    Rewritebase /web
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] 		##optional - see notes##
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
    RewriteRule ^(content/|component/) index.php
  • 21-01-2008, 00:59:52
    #6
    Hocam mükemmelsiniz çok teşekkürler +rep (+ yı eklemek yetti)
    bakalım eklentiye uygulamaya çalışalım şimdide
  • 21-01-2008, 01:02:36
    #7
    Bu işlerin tek sorumlusu htaccess uygununu bulunca çatır çatır çalışır