-
htaccess.txt - Seite geht nicht mehr
hallo, ich habe folgendes Problem und auch schon im Forum nach einer Lösung geschaut, komme aber nicht weiter:
Meine Idee war die, dass ich auf meiner Seite die Funktion "Suchmaschinenfreundliche URLS" aktivieren wollte. DIes habe ich auch gemacht. Es konnten danach aber keine Seite gefunden / aufgerufen werden. Die Funktion habe ich wieder rückgängig gemacht. - Seite ging wieder. Woanders habe ich gefunden, dass ich die htaccess.txt in .htaccess umbenennen soll. Dies habe ich gemacht. (ich glaube nachdem ich die Funktion wieder aktiviert hatte)
Nun geht leider die Seite garnicht mehr. Auch ein wiederumbenennung in htaccess.txt war erfolglos.
Wie komme ich jetzt wieder an die Seite ran?
Ich pack mal die htaccess.txt hier unten mit ran. An dieser anderen funktion die man dadrüber noch umstellen kann mit dem gelben ausrufezeichen habe ich nichts verändert!
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html 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!
#
# 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 ********** 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
-
-
Du hast doch noch den Download, kannst du dir da raus ziehen... Sonst probier doch mal meines aus... Ist eigentlich fuer eins und eins gestrickt... Musst noch deine WWW eintragen. Gruss Klaus
# Force register_globals OFF
AddType x-mapp-php5 .php
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.deine homepage\.de$
RewriteRule ^(.*)$ http://www.deine homapge/$1 [L,R=301]
RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
#
########## End - Joomla! core SEF Section
# 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 ********** 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]
-
-
schau mal in meinen post, da habe icih noch meine htaccess.txt eingefügt.
Mein Joomla liegt im Unterverzeichnis, /joomla ! was muss ich dabei dann beachten?
-
-
Soweit ich weiss nichts, probiere es mal aus wenn es nicht geht, haenge halt noch /Joomla hinten dran... aber eigentlich sollte es so gehen... bin leider nicht "der Profi"
-
-
danke schonmal für deine Hilfe, so richtig weitergekommen bin ich aber auch nicht
Meine Joomla Seite liegt unter www.trinitatis-berlin.de/joomla
dementsprechend habe ich bei den Zeilen verschiedene Möglichkeiten ausprobiert.
RewriteCond %{HTTP_HOST} !^www\.deine homepage\.de$
RewriteRule ^(.*)$ http://www.deine homapge/$1 [L,R=301]
Wäre echt schön, wenn jemand eine Lösung hat. Wieso bricht gleich die Seite zusammen, wenn man nur diese Datei umbenennt und diese Umbenennung wieder rückgängig macht?
-
-
-
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
Foren-Regeln
Lesezeichen