Danke für den Tipp! Das nervt echt tierisch mittlerweile.
Ich google mal, was und wie rewrite sein ist tun müsste...
Danke für den Tipp! Das nervt echt tierisch mittlerweile.
Ich google mal, was und wie rewrite sein ist tun müsste...
Ich lasse das vorerst mal...
habe vorgestern mein berühmt-berüchtigtes "learning-by-doing" ausprobiert... durfte die .htaccess gegen die backup-datei austauschen, weil ich nicht mehr auf die seite durfte. "ganz großer fehler" sagte der computer...
musste doch doch mal (zumindest) schauen...
bei mir steht irgendwann nur :
<IfModule mod_rewrite.c>
RewriteEngine On
# Javascripte gezip ausliefern
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{REQUEST_FILENAME}.jgz -f
RewriteRule (.*)\.js$ $1\.js.jgz [L]
AddType "text/javascript" .js.jgz
AddEncoding gzip .jgz
#Sicherheit
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
# Port Scanner
RewriteCond %{HTTP_USER_AGENT} ^w00tw00t.at.ISC.SANS.DFind
RewriteRule ^.*$ 403.php [L]
# sitemap.xml auf Dynamische umleiten
RewriteRule ^(.*)sitemap.xml$ sitemap-xml.php [qsappend,L]
Options +SymLinksIfOwnerMatch
# Umleitung auf Adresse mit www, wenn www fehlt und nicht Subdomain und nicht localhost und nicht ssl.webpack.de
RewriteCond %{HTTP:X-Forwarded-Server} !^ssl\.webpack\.de$ [NC]
RewriteCond %{HTTP:X-Forwarded-Server} !^sslsites\.de$ [NC]
RewriteCond %{HTTP_HOST} !^www\..* [NC]
RewriteCond %{HTTP_HOST} !^.*\..*\..* [NC]
RewriteCond %{HTTP_HOST} !^localhost(.*)$ [NC]
RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
[h=1];);)
Schon wieder...
Internal Server Error[/h]The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, kundenservice@goneo.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Wesi nicht ob DU dieser drin hat wie Admin sagt
ZitatRewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L]
Dass lauft naturlich nur wen ssl / nicht ssl beim hoster über dieser ports lauft, beim Clusters muss es nicht unbedingt so sein.
Wen man alles aufs https haben möcht ist es meist besser den HOSTfile von server ( meist most den Hoster dass machen wen man kein Admin rechte dazu hat) komplett umschalten aufs https
Wen es so sein soll in jedenfall..
Hmm mit den https sind die unterschiede pro Konstillation oft viel groessser als ohne hängt also von hoster ab!
Aber sehe mall dieser nach
ZitatMore information about this error may be available in the server error log.
Achja nach so ein umschalten hat man probs mit sessions, die caching soll man leermachen telweise mit anderer Rechner versuchen, ( sessions sind beim comseo mit den einstellungen auch oft in datenbank gespeichert wo man die mit den phpmyadmin loeschen kan,)
Wen man ahnung davon hat vor umschalten alles mit caching ausschalten also auch alles in htaccess auskomentieren dan geht es schneller aber immer backups!