Page 2 of 2 FirstFirst 1 2
Results 16 to 21 of 21

DirectoryIndex Rewriterule blocken sich

This is a discussion on DirectoryIndex Rewriterule blocken sich within the Deutsch forums, part of the General Discussion category; So, ich habe mir mal dein Forum angeschaut. Die Änderungen die ich dir gesagt habe sind nicht drin. Poste mal ...

  1. #16
    Senior Member
    Real Name
    Christos Vassiliou
    Join Date
    Jul 2006
    Posts
    245
    Liked
    0 times
    So, ich habe mir mal dein Forum angeschaut.

    1. Die Änderungen die ich dir gesagt habe sind nicht drin.
    2. Poste mal bitte deine htaccess mal und dir Rules für dein Portal

    Gruß
    Delazar

  2. #17
    Senior Member
    Real Name
    Christos Vassiliou
    Join Date
    Jul 2006
    Posts
    245
    Liked
    0 times
    Quote Originally Posted by Michael_Jim View Post
    alles im Rootverzeichnis
    Hier mal meine komplette htaccess:
    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    
    
    RewriteCond %{HTTP_HOST} !^www\.das-portal\.org
    RewriteRule (.*) http://www.das-portal.org/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    #RewriteRule ^(.*\.php(/.*)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Da fehlen Zeilen und ein paar sind auskommentiert. Warum?

    Meine htaccess sieht so aus:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /

    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    Trage nur das hier bei dir rein:
    RewriteCond %{HTTP_HOST} !^www\.das-portal\.org
    RewriteRule (.*) http://www.das-portal.org/$1 [L,R=301]
    und meine bitte löschen:
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    Gruß
    Delazar

    PS: Und mach die Änderungen die ich dir gesagt habe mit der index und forum

  3. #18
    Member
    Real Name
    Michael
    Join Date
    Jun 2007
    Posts
    45
    Liked
    0 times
    Habe deinen Vorschlag mal umgesetzt und die beiden Dateien umbenannt. Damit hat sich der DirectoryIndex Kram ein für allemal erledigt.
    Ich verwende bisher keine RewriteRules für das vBCMS.

    Wie gesagt sind die beiden Rules auskommentiert, da ich sonst beim Direktaufruf der Domain eine weiße Seite bekomme.
    Meine htaccess ist die neue vom vBSEO 3.2 RC7
    Deine hat noch die Form von vBSEO 3.1

    Habe jetzt wieder die alte von vBSEO in die htaccess eingetragen und nun funktioniert es wieder beim Direktaufruf der Domain.
    Dafür werden die Tags nichtmehr korrekt rewritten. Das hat wiederum nur mit der vBSEO 3.2 Rule funktioniert
    So eine scheiße

  4. #19
    Senior Member
    Real Name
    Christos Vassiliou
    Join Date
    Jul 2006
    Posts
    245
    Liked
    0 times
    Da kann ich dir leider nicht weiter helfen, da wie du schon erkannt hast, habe ich immer noch die 3.1 in Einsatz.
    Aber ich denke das Thomas ab jetzt weiter übernehmen kann und dir weiter hilft.

    Gruß
    Delazar

  5. #20
    Senior Member Thomas Hoehl's Avatar
    Real Name
    Thomas
    Join Date
    Jul 2005
    Location
    Ockershausen, Germany
    Posts
    1,329
    Liked
    3 times
    Schau bitte mal in diesen Thread, ob dir dies hilft:

    vbseo 3.2.0 rc7 - 500 Internal Server Error
    Thomas Höhl / Crawlability Inc.
    vBSEO 3.3.2 freigegeben: vBSEO 3.3.2 veröffentlicht - Sicherheitsupdate

    vBSEO Styles: Version 1.0 PRO Für Alle Version 2.0 Für vBSEO Kunden


    Meine Seiten: www.vb-seo.de, www.ligafans.de und www.skats.de

  6. #21
    Member
    Real Name
    Michael
    Join Date
    Jun 2007
    Posts
    45
    Liked
    0 times
    Vielen Dank an alle
    Problem behoben

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. RewriteRule from root/forums/ to root/
    By Xtensified in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 03-26-2008, 08:14 PM
  2. Replies: 4
    Last Post: 03-28-2007, 04:49 AM
  3. meine adresse hat sich geändert
    By dirk-089 in forum Deutsch
    Replies: 5
    Last Post: 11-10-2006, 10:21 AM
  4. Replies: 2
    Last Post: 10-14-2006, 09:26 AM
  5. Forum lässt sich nicht aufrufen
    By showboard.de in forum Deutsch
    Replies: 12
    Last Post: 09-22-2006, 05:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •