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:
Ich habe bemerkt, dass die Anweisung $HTTP_SERVER_VARS['SCRIPT_FILENAME'] nicht mehr wie früher das Unterverzeichnis liefert, sondern den ROOT.PHP Code:$include_location = dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])."/";
include($include_location.'/TEST.php');
Deaktiviere ich die vbSEO-htaccess, dann gehts wieder. Welche Regeln sind dafür zuständig?
Hier noch beide htaccess:
vbSEO-htaccess
admincp-htaccessCode:# 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]
Vielen Dank vorerst mal.Code:AuthType Basic AuthName "Restricted Area" AuthUserFile "[adresse entfernt]/admincp/passwd" require valid-user


LinkBack URL
About LinkBacks





Reply With Quote
