RewriteEngine on
Kod
DirectoryIndex index.php
RewriteBase /***/***/
ErrorDocument 404 http://**/404.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9,\-]+)\.html$ index.php [L]
RewriteBase /***/***/
ErrorDocument 404 http://**/404.html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9,\-]+)\.html$ index.php [L]
Chciałbym mili państwo aby w linijce z ErrorDocument po 404.html mógł wstawić ?adr={URL}
gdzie URL to jest adres który powoduje przeniesienie do pliku 404.html. Jak to zrobić, gdyż nie mogę sobie z tym poradzić, a chciałem dodać raportowanie błędów, na życzenie użytkownika.