openpolitics.com

  • writing
  • quotes
  • Topics
    • academia
    • corruption
    • economics
    • education
    • environment
    • finance
    • history
    • hypertext
    • media
    • philosophy
    • psychology
    • religion
    • russia
    • ted nelson
  • about
← Previous Next →

apache redirect based on referrer

You can forward all visitors who are not using your own domain with the following rewrite rules:


RewriteEngine On
RewriteCond %{HTTP_HOST} !.*?agilegrad.com$ [NC]
ReWriteRule /(.*)$  [R=301,L]
source: $link[host]

Tags: apache, rewrite

Read Original Source

Tim Langeman © 2025 · Genesis Framework · WordPress · Log in