10 lines
290 B
ApacheConf
10 lines
290 B
ApacheConf
# Tüm trafikte HTTPS'ye yönlendirme
|
|
RewriteEngine On
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME}\.html -f
|
|
RewriteRule ^(.*)$ $1.html [L]
|
|
|
|
ErrorDocument 404 /404.html
|