Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/treetrek.git

Adds htaccess for routing requests

AuthorDave Jarvis <email>
Date2026-02-15 22:25:32 GMT-0800
Commite129ad27e6cae650d7b5c09a5fb411f0821ad834
Parent8f40e2b
.gitignore
-.htaccess
order.txt
favicon.ico
.htaccess
+RewriteEngine On
+RewriteBase /
+RewriteCond %{HTTP_USER_AGENT} SemrushBot [NC]
+RewriteRule .* - [F,L]
+RewriteRule ^(git|pages|render)/ - [F,L]
+RewriteCond %{REQUEST_URI} !^/index\.php$
+RewriteCond %{REQUEST_FILENAME} -f
+RewriteRule \.php$ - [F,L]
+
+<Files 403.shtml>
+allow from all
+</Files>
+
+deny from 185.213.83.81
Delta14 lines added, 1 line removed, 13-line increase