Arge Probleme mit OpenSEF
« am: 22.11.2006 20:53 Uhr »
Ein fröhliches Hallo und schönen Abend

Ich hab mal wieder ein kleines Problem. Folgende Situation: Habe SEO von Joomla (1.0.11) aktiviert, OpenSEF (OpenSEF 2.0.0-RC5_SP2) installiert und folgende .htaccess auf dem Server liegen


##  Can be commented out if causes errors, see notes above.
# Options FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla/MamboDirectory (just / for root)

# RewriteBase /



########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#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
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section



########## 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 <script> 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]
#
########## End - Rewrite rules to block out some common exploits



Resultat des Ganzen (Frontend) :

--- Initializing SEF resolver: sefresolver
'/' => '/' (relative site URL)
--- Resolving: '/'
'/' not matched by incoming alias lookup
'/' is the root URL for the site

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 230



Darunter wir die Seite korrekt angezeigt.

Hoffe das mir jemand helfen kann obwohl ich mir Das kaum vorstellen kann, sont findet man ja immer Antort über die Forensuche ;-).

Schon mal ein dickes Dankeschön dafür!!

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: Arge Probleme mit OpenSEF
« Antwort #1 am: 23.11.2006 01:17 Uhr »
Wo ist denn das Problem wenn die Seite richtig angezeigt wird?
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung

Re: Arge Probleme mit OpenSEF
« Antwort #2 am: 23.11.2006 08:27 Uhr »
Schönen guten Morgen

Das Problem ist die Fehlermeldung die angezeigt wird:
--- Initializing SEF resolver: sefresolver
'/' => '/' (relative site URL)
--- Resolving: '/'
'/' not matched by incoming alias lookup
'/' is the root URL for the site

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web132/html/components/com_sef/sef.php:226) in /home/www/web132/html/index.php on line 230

darunter wird die Seite erst angezeigt.

MfG
Mark

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: Arge Probleme mit OpenSEF
« Antwort #3 am: 23.11.2006 09:55 Uhr »
Die Installation liegt im Ordner /html? Haben Sie bei der LiveSite in der configuration.php evtl. einen / am Ende, nach dem .de?
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung

Re: Arge Probleme mit OpenSEF
« Antwort #4 am: 23.11.2006 10:02 Uhr »
Das geht aber auch immer schnell, bin begeistert  :D

zu a) Ja, liegt in /html
zu b) Nein, $mosConfig_live_site = 'http://www.markmxxxxx.de';

Das wars schon mal nicht  :(

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: Arge Probleme mit OpenSEF
« Antwort #5 am: 23.11.2006 10:05 Uhr »
Könnten Sie es mal mit "Rewritebase / " ohne Raute versuchen, ob das klappt, also praktisch die Auskommentierung weglassen?
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung

Re: Arge Probleme mit OpenSEF
« Antwort #6 am: 23.11.2006 10:29 Uhr »
Komm gerade nicht an die .htaccess ran (bin quasi nicht zu Hause).

Glaub auch, dass ich das gestern probiert hatte. Werd's heut Nachmittag auf jeden Fall noch mal probieren.

Danke erst mal, werd mich dann wieder melden obs geklappt hat oder nicht.

Mark

Re: Arge Probleme mit OpenSEF
« Antwort #7 am: 24.11.2006 08:12 Uhr »
Hat leider auch kein erfolgreiches Ende genommen. Ich versteh Das nicht. Das gleiche Problem hab ich auch, wenn ich die Seite lokal laufen hab (XJ!).
Kann das noch was mit der Konfiguration von, OpenSEF zu tun haben?? Es verrwundert mich, dass die Seite (mal abgesehen von der Fehlermeldung, die auf allen Seiten erscheint) korrekt läuft.

Mark

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: Arge Probleme mit OpenSEF
« Antwort #8 am: 24.11.2006 10:33 Uhr »
Das kann auch ein Fehler in der configuration.php oder index.php sein. Ist da evtl. eine Leerzeile oder HTML-Code durch Bearbeiten mit einem Editor wie Dreamweaver reingerutscht?
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung

Re: Arge Probleme mit OpenSEF
« Antwort #9 am: 24.11.2006 11:10 Uhr »
Zur configuration.php

An der wirds eher nicht liegen. Da hab ich nichts geändert (außer an 'ner Kopie, damit die Seite bei mir lokal läuft)


Zur index.php

Die im Stammverzeichniss hab ich nicht angerührt. Wenn ich mich nicht täusche handelt es sich um folgende Zeilen:

header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );

Was bedeutet das  ??? (Ich altes Codegenie  ;D)
Könnt ja mal ausprobieren, die auszukommentieren?!

Oder war die index vom Template gemeint? An der hab ich 'n bißchen rumgebastelt. Wenn, dann nach bestem Wissen und Gewissen mit phase5 als Editor.

*

Offline admin

  • *****
  • 6.360
  • Support Joomla100
    • Profil anzeigen
    • 100 Prozent Joomla-Hosting
Re: Arge Probleme mit OpenSEF
« Antwort #10 am: 24.11.2006 20:24 Uhr »
Also ich kann mir nur vorstellen, dass es einen Fehler bei der Übertragung per FTP gegeben hat, OpenSEF an sich läuft bei allen Seiten von mir und auch den anderen Kunden problemlos.
Vollkasko-Versicherung für Ihre Homepage?
https://www.joomla100.com/sicherheit/vollkasko-versicherung