brauch mal grade druingend hilfe.
Typo3 gibt ja bei nicht vorhandenen Pages diese errorpage aus.
https://www.timothytrust.de/zauberei.php?page=1&lang=1
ich möchte nun aber das bei einem aufruf diese zeile in der htaccess befolgt wird.
(also weiter zur startseite)errordocument 404 https://www.timothytrust.de
wie krieg ich das hin?
gibts da im admin irgendwo etwas zum einstellen?
oder ist die htaccess falsch?
gruss axel#####
#
# Example .htaccess file
#
# This file contains a collection of almost everything you will need
# for optimising TYPO3:
#
# - mod_rewrite (used for SimulateStaticDocuments, RealUrl, etc.)
# - PHP optimisation
#
# If you want to use it, you'll need to rename this file to '.htaccess'.
# (To make this work you will need to adjust the 'AllowOverride'
# directive in your Apache configuration file.)
#
# IMPORTANT: You may need to change this file depending on your TYPO3
# installation!
#
# You should change every occurance of TYPO3root/ to the location where you
# have your website in. For example:
# If you have your website located at https://mysite.com/
# then your TYPO3root/ is just empty (remove 'TYPO3root/')
# If you have your website located at https://mysite.com/some/path/
# then your TYPO3root/ is some/path/ (search and replace)
#
# If you have problems with this file, try using the minimal
# mod_rewrite.htaccess which is located in the typo3_src/misc/
# directory of this installation.
#
# You can also use this configuration in your httpd.conf, but you'll have
# to modify some lines, see the comments (search for 'httpd.conf')
#
# Using rewriting in your httpd.conf is much faster, btw.
#
# Questions about this file go to the matching Install mailing list,
# see https://typo3.org/documentation/mailing-lists/
#
####
### Begin: Rewrite stuff ###
# Enable URL rewriting
RewriteEngine On
# To assist in debugging rewriting, you could use these lines
# DON'T enable it for production!
# This will only work in httpd.conf, not in .htaccess files
#RewriteLog /var/log/apache/rewrite.log
#RewriteLogLevel 9
# If you use the RealUrl extension, then you'll have to enable the next line.
# You will have to change this path if your TYPO3 installation is located
# in a subdirectory of the website root.
#
# If you place this in httpd.conf, you cannot use this directive in any case!
#RewriteBase /
# Stop rewrite processing if we are in the typo3/ directory
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
# Redirect https://mysite/typo3 to https://mysite/typo3/index_re.php
# and stop the rewrite processing
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
# If the file/symlink/directory does not exist => Redirect to index.php
# Important note: If you copy/paste this into httpd.conf instead
# of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
# '%{REQUEST_FILENAME}' part.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
# If you use Windows and SimulateStaticDocuments do not work, try adding a
# slash (/) right before 'index.php' below.
# The example shows how to rewrite only *.html and *.pdf files to index.php
# This may be helpful when using an extension that can generate PDF files
# on the fly.
# Example: RewriteRule .*\.(html|pdf)$ index.php [L]
# For httpd.conf, use this line instead of the next one that has no '#':
# RewriteRule .* /TYPO3root/index.php [L]
# For use with the RealUrl extension, you might need to remove the
# RewriteBase directive somewhere above and use this line instead of the
# next one:
# RewriteRule .* /index.php [L]
RewriteRule .* index.php [L]
### End: Rewrite stuff ###
### Begin: PHP optimisation ###
# All features below are left to the default if you don't change this.
# Simply remove the comment marks if you want to use some/all of these
# settings
# The PHP developers recommend disabling this feature. Do that.
# It's deprecated and is likely to be unsupported in future versions of PHP.
#php_flag allow_call_time_pass_reference off
# TYPO3 works fine with register_globals turned off.
# This is highly recommended!
#php_flag register_globals off
# PHP may not declare the argv & argc variables (that would contain the GET
# information).
# TYPO3 doesn't need this, so just turn it off.
#php_flag register_argc_argv off
# Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
#php_flag magic_quotes_gpc off
# Order in which PHP registers GET, POST, Cookie and Built-in variables
#php_value variables_order GPCS
### End: PHP optimisation ###
### Begin: Miscellaneous ###
# Make sure that directory listings are disabled
#Options -Indexes
# There is a problem with Internet Explorer and mod_gzip on Apache servers.
# For more information, see
# https://typo3.org/documentation/documen ... torial-79/
#mod_gzip_item_exclude file \.css$
#mod_gzip_item_exclude file \.png$
#mod_gzip_item_exclude file \.gif$
#mod_gzip_item_exclude file \.jpg$
#mod_gzip_item_exclude file \.jpeg$
#mod_gzip_item_exclude file \.js$
### End: Miscellaneous ###
# Add your own rules here
# ...
<Limit GET>
order allow,deny
deny from 24.128.16.113
deny from 202.54.122.33
deny from 8.70.44.53
deny from .spammers.com
deny from 217.68.165. #gizliweb
deny from 217.20.117. #gizliweb
deny from 89.149.194. #gizliweb
deny from 208.101.13.210 #gizliweb
deny from 66.150.225.84 #redime.com
deny from 69.41.173.145 #webwarper
deny from 69.41.165.155 #webwarper mirror
deny from 203.66.143.125 #tc2en.mojolingo.com.tw
deny from 202.125.39.37 #webproxy.250.com
deny from 208.53.138.133 #78y.net
allow from all
</Limit>
errordocument 404 https://www.timothytrust.de
RewriteEngine On
RewriteCond %{HTTP_HOST} ^timothytrust\.de$ [NC]
RewriteRule ^(.*)$ https://www.timothytrust.de/$1 [R=301,L]
RewriteCond %{HTTP_USER_AGENT} ^.*WebZIP.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.*Stripper.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.*Offline.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Copier.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Crawler.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Snagger.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Teleport.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Reaper.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Wget.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Grabber.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Sucker.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Downloader.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Siphon.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Collector.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Mag-Net.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Widow.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Snake.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.BackWeb.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.gotit.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Vacuum.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Pump.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.HMView.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.HTTrack.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.JOC.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.likse.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Memo.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.pcBrowser.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.SuperBot.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.leech.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Mirror.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Recorder.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.GrabNet.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Likse.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Navroad.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.attach.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Magnet.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Surfbot.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Bandit.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Ants.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Buddy.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Whacker.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.thesubot.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.Mozilla/4.0.*$ [OR,NC]
RewriteCond %{HTTP_USER_AGENT} ^.FileHound.*$ [NC]
RewriteCond %{HTTP_REFERER} ^.*internetserviceteam.*$ [NC,OR]
RewriteRule /* https://de.yahoo.com/ [L,R]