Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid redirecting/rewriting subdomain to subfolder

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 394 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sikita
      last edited by

      Hi,

      can someone help me with Squid reverse proxy redirecting/rewriting of subdomain to subfolder? I need to redirect https://SUB.domain.com -> https://specific.domain.com/SUB

      Is that possible?

      Thank you.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sikita @sikita
        last edited by

        Ok, I solved that:

        Redirects: sub.domain.com
        Path Regex: ^/.*$
        URL to Redirect to: https://specific.domain.com/sub%R

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.