jak w temacie, chcę zrobić własne strony błędów, poniżej kod, który jednak nie działa..
Options -Indexes
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domena.pl [NC]
RewriteRule ^(.*)$ <a href="http://www.domena.pl/$1" target="_blank">http://www.domena.pl/$1</a> [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule>
ErrorDocument 400 /notfound.html
ErrorDocument 401 /notfound.html
ErrorDocument 402 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 405 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.html
ErrorDocument 502 /notfound.html
ErrorDocument 503 /notfound.html
ErrorDocument 504 /notfound.html
ErrorDocument 505 /notfound.html