• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 376 Views
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
    sikita
    last edited by Feb 17, 2022, 9:33 AM

    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 Feb 17, 2022, 9:44 AM Reply Quote 0
    • S
      sikita @sikita
      last edited by Feb 17, 2022, 9:44 AM

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received