Antworten auf deine Fragen:
Neues Thema erstellen

Probleme mit mod_rewrite in Joomla 1.5

tippazz

Nicht mehr ganz neu hier

Hallo?.ich weiß nicht ob derartiges hier schon mal gepostest wurde und ob es für mich ein richtiges Problem darstellt weiß ich auch nicht?auf jeden Fall stört es mich.
Ich hab vor einiger Zeit angefangen mit Joomla 1.5 zu arbeiten.
Und da gibt?s doch die Einstellung für Suchmaschinenfreundliche Links.
Klappt ja bis dahin toll. Aber mit der mod_rewrite Funktion?kommt dann einen Fehlermeldung (404) toter Link.
Meine Frage?.ist diese mod_rewrite Funktion so richtig wichtig und wie könnte man diesen Fehler beheben?


Danke im vorraus....:)
 

pluspiano

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

Bei allen (?) mod_rewrite Plugins sind auch Änderungen an der .htaccess vorzunehmen.

Hast Du die .htaccess bereits angepasst?
Erlaubt dein Hoster das überhaupt?

Teile bitte mit, ob du die .htaccess editieren kannst und poste sie am besten mal. :)
 

tippazz

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license The GNU General Public License - GNU Project - Free Software Foundation (FSF) GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

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

#
# mod_rewrite in use

RewriteEngine On

########## 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!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
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

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

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

ich hoff das ist das richtige....
 

pluspiano

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

Unten ist eine bereinigte .htaccess. Tausche sie mal TESTWEISE aus.
Achtung bei dem Punkt RewriteBase /
Hier ggf. anpassen: liegt Joomla direkt an, nichts verändern. Liegt Joomla im Verzeichnis joomla, dann
RewriteBase /joomla/

Achtung auch bei dem Punkt Options +FollowSymLinks
Testweise auskommentieren:
# Options +FollowSymLinks
Raute davor machen
####!!!!!!#####

HTML:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI}  (/|\.html|\.htm|\.php\|.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
 
Zuletzt bearbeitet:

lustig

Helper

AW: Probleme mit mod_rewrite in Joomla 1.5

Entferne einmal den Kommentar bei

# RewriteBase /

und/oder kommentiere dann

Options +FollowSymLinks

aus.
 

tippazz

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

hmm will immer noch nicht.....ich hab hier mal die fehlermeldung

Objekt nicht gefunden!

Der angeforderte URL konnte auf dem Server nicht gefunden werden. Der Link auf der scheint falsch oder nicht mehr aktuell zu sein. Bitte informieren Sie den Autor über den Fehler.
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 404


08/27/10 17:44:01
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
 

pluspiano

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

Upps. modrewrite und localhost sind wie Hund und Katz. Im Localhost-Betrieb benötigst Du in der Tat keine SEO durch schöne URLs. :D

Online ist das aber ganz anders. Lesbare Urls bringen dich im Google-Ranking weiter, sie sind auch benutzerfreundlich, eine Art gute Visitenkarte.

Wenn Du irgendwann später mit Deiner Joomla-HP online gehst (Host, Apache, PHP, MySQL...), editiere zunächst deine .htaccess wie hier kurz beschrieben. :arrow:
 

tippazz

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

:D....ich danke euch für die schnelle hilfe und die guten tipps....:)
 

lustig

Helper

AW: Probleme mit mod_rewrite in Joomla 1.5

Upps. modrewrite und localhost sind wie Hund und Katz. Im Localhost-Betrieb benötigst Du in der Tat keine SEO durch schöne URLs.

Wieso wie Hund und Katz? Ich nutze bei meiner localhost-Installation auch SEO und es funktioniert. Und diese lokale Installation habe ich dann auch in den Produktivbetrieb überführt.
 

pluspiano

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

In xampp muss man die mod_rewrite erweiterung allerdings erst entkommentieren...

c:/programme/xampp/apache/conf/http.conf (bleistiftsweise)

Also: das System Xampp, Wamp, whatever muss für modrewrite vorkonfiguriert werden. Da es sonst local nicht läuft, weil es nicht weiss, wie es damit umzugehen hat.

Richtig ist allerdings: Wo ein Wille, da ein Weg. :)
 

tippazz

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

japp unter windows....also dann muss bei xampp was umgestellt werden?
 

lustig

Helper

AW: Probleme mit mod_rewrite in Joomla 1.5

Dann mal folgende Änderungen:

In ..\apache\conf\httpd.conf:

# LoadModule rewrite_module modules/mod_rewrite.so

ändern in

LoadModule rewrite_module modules/mod_rewrite.so

Im nächsten Schritt dann AllowOverride in der httpd.conf freigeben und Symlinks aktivieren:

#< Directory/ >
# Options FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
#< /Directory >

ändern in:

< Directory/ >
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
< /Directory >

Dann noch einmal XAMPP neu starten und fertig!
 

pluspiano

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

@tippazz, hat es nun schlussendlich lokal bei Dir (mit dem Entkommentieren) funktioniert? Bitte um zeitnahe Wasserstandsmeldung. :motz:

Brauchs selber, aber für was anderes :)
 

tippazz

Nicht mehr ganz neu hier

AW: Probleme mit mod_rewrite in Joomla 1.5

nee schade....hat bei mir leider nicht geklappt....naja ich machs jetzt erstmal so...irgendwann kommt der tag wo ichs dann auf meinen richtigen server hau...und dann hoff ich klappt alles....:)
 
Zuletzt bearbeitet:
Bilder bitte hier hochladen und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Antworten auf deine Fragen:
Neues Thema erstellen

Willkommen auf PSD-Tutorials.de

In unseren Foren vernetzt du dich mit anderen Personen, um dich rund um die Themen Fotografie, Grafik, Gestaltung, Bildbearbeitung und 3D auszutauschen. Außerdem schalten wir für dich regelmäßig kostenlose Inhalte frei. Liebe Grüße senden dir die PSD-Gründer Stefan und Matthias Petri aus Waren an der Müritz. Hier erfährst du mehr über uns.

Stefan und Matthias Petri von PSD-Tutorials.de

Nächster neuer Gratisinhalt

03
Stunden
:
:
25
Minuten
:
:
19
Sekunden

Flatrate für Tutorials, Assets, Vorlagen

Zurzeit aktive Besucher

Keine Mitglieder online.

Statistik des Forums

Themen
118.565
Beiträge
1.538.067
Mitglieder
67.488
Neuestes Mitglied
Andrew56524
Oben