File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 11# php_value display_errors 1
22# DirectoryIndex index.html index.php
33
4- # Dont list dirs
4+ # PHP 8.2 (small.pl)
5+ # AddType application/x-httpd-php82 .php
6+
7+ # Dir listing disabled
58Options -Indexes
69
710# Enable rewrite
811RewriteEngine On
912RewriteBase /
1013
11- # To non -www
14+ # Non -www
1215RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
1316RewriteRule ^(.*)$ http://%1/$1 [R=301 ,L]
1417
@@ -19,3 +22,8 @@ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
1922# Https to http
2023# RewriteCond %{HTTPS} on
2124# RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
25+
26+ # Redirect domain (permanent)
27+ # RewriteCond %{HTTP_HOST} ^example.com$ [OR]
28+ # RewriteCond %{HTTP_HOST} ^www.example.com$
29+ # RewriteRule (.*)$ https://atomjoy.github.io/$1 [R=301,L]
You can’t perform that action at this time.
0 commit comments