lkarch.org/.htaccess
edwark43 35d626af7e modified: .htaccess
renamed:    err/401.html -> 401.html
	renamed:    err/404.html -> 404.html
	renamed:    err/410.html -> 410.html
	renamed:    err/500.html -> 500.html
	renamed:    err/502.html -> 502.html
	deleted:    err/.htaccess
2023-04-01 03:51:37 -04:00

12 lines
413 B
ApacheConf

ErrorDocument 404 404.html
ErrorDocument 401 401.html
ErrorDocument 500 500.html
ErrorDocument 502 502.html
ErrorDocument 410 410.html
RewriteEngine On
#RewriteCond %{HTTP:X-Forwarded-Proto} !https
#RewriteCond %{HTTPS} off
#RewriteCond %{HTTP:CF-Visitor} !{"scheme":"https"}
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#RewriteRule ^(.*)$ http://yourwebsitename.con/expired_page $1 [R=410,L]