Results 1 to 4 of 4

Umleitungsproblem

This is a discussion on Umleitungsproblem within the Deutsch forums, part of the General Discussion category; Hallo, habe vbSEO letzte Woche installiert. Soweit so gut. Jetzt treten gelgentlich Probleme auf. Und zwar habe ich folgende Probleme: ...

  1. #1
    Junior Member
    Real Name
    Yüksel
    Join Date
    Jan 2008
    Posts
    11
    Liked
    0 times

    Umleitungsproblem

    Hallo,
    habe vbSEO letzte Woche installiert. Soweit so gut. Jetzt treten gelgentlich Probleme auf.
    Und zwar habe ich folgende Probleme:
    Der Adminbereich des vbulletin ist mit einem Verzeichnisschutz (htaccess) gesichert. Nach der Installation von vbSEO findet er den Adminbereich nicht. Jetzt habe ich den Schutz rausgenommen, damit funktioniert es. Ich möchte aber dass der Verzeichnisschutz aktiv bleibt.
    Wie muss ich die vbSEO-htaccess verändern, damit das tut.
    Das 2. Problem ist folgende. Unter dem Forum-Root gibt es ein Verzeichnis, dass nichts mit vbulletin zu tun hat. Dort werden PHP-Scripts in dieser Form geladen:
    PHP Code:
    $include_location dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])."/";
    include(
    $include_location.'/TEST.php'); 
    Ich habe bemerkt, dass die Anweisung $HTTP_SERVER_VARS['SCRIPT_FILENAME'] nicht mehr wie früher das Unterverzeichnis liefert, sondern den ROOT.
    Deaktiviere ich die vbSEO-htaccess, dann gehts wieder. Welche Regeln sind dafür zuständig?
    Hier noch beide htaccess:

    vbSEO-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
    
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    RewriteRule ^turkce.html$ /forum.php?langid=2 [QSA,L]
    RewriteRule ^germany.html$ /forum.php?langid=4 [QSA,L]
    
    # 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]
    admincp-htaccess
    Code:
    AuthType Basic
    AuthName "Restricted Area"
    AuthUserFile "[adresse entfernt]/admincp/passwd"
    require valid-user
    Vielen Dank vorerst mal.
    Last edited by yüksel; 02-04-2008 at 06:59 AM.

  2. #2
    Junior Member
    Real Name
    Yüksel
    Join Date
    Jan 2008
    Posts
    11
    Liked
    0 times
    Ok das admincp Problem habe ich behoben in dem ich noch eine Zeile in die htaccess eingefügt habe.

    Code:
    AuthType Basic
    AuthName "Restricted Area"
    AuthUserFile "[adresse entfernt]admincp/passwd"
    require valid-user
    ErrorDocument 401 "Ihr Login/Passwort ist falsch bitte versuchen Sie es erneut
    Wie kann ich Unterverzeichnisse von dieser vbSEO htaccess ausschliessen?

  3. #3
    Junior Member
    Real Name
    Yüksel
    Join Date
    Jan 2008
    Posts
    11
    Liked
    0 times
    Ist denn niemand da, der eine Antwort darauf weiß? Es ist wirklich dringend.

  4. #4
    Senior Member
    Real Name
    Philipp Herbers
    Join Date
    Sep 2005
    Location
    Meppen, Germany
    Posts
    8,436
    Liked
    0 times
    Sorry Yüksel,

    siehe Ticket

Posting Permissions

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