Skip to content

sheepchens crapblog

projects and other stuff that might be helpfull for other

Menu
  • Kochen/Backen
  • Uncategorized
  • Linux
  • electronics
  • Network
  • mysql
  • wordpress

Tag: web

.htaccess Allow one IP to access Site. redirect all others

December 14, 2022 sheepchenLeave a comment
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4$
RewriteRule .* http://www.google.de [R=301,L]
Categories: UncategorizedTags: linux, web

.htaccess redirect subpath to 403

October 14, 2022 sheepchenLeave a comment

returns a 403 errorcode for the subpath “kontaktieren-sie-uns”

RedirectMatch 403 /kontaktieren-sie-uns
Categories: UncategorizedTags: linux, web

301 redirect in .htaccess with .well-known exception (let’s encrypt)

September 27, 2022 sheepchenLeave a comment

RewriteEngine on
RewriteRule ^\.well-known/.+ - [L]
Redirect 301 / https://DOMAIN.COM/
Categories: UncategorizedTags: linux, web

Recent Posts

  • Windows 11 micophone level keeps adjusting
  • gitlab ‘edit single file’ not working for files in subdirs (behind proxy)
  • Threads in bash 2
  • Programming ATtiny85 via Arduino ISP
  • Lemorele H5

Categories

  • electronics
  • Kochen/Backen
  • Linux
  • mysql
  • Network
  • programming
  • Uncategorized
  • windows
  • wordpress
Free dark wordpress theme