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

Squid Reverse Proxy URL rewrite

Scheduled Pinned Locked Moved NAT
3 Posts 3 Posters 3.9k 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.
  • N
    nekron
    last edited by Dec 15, 2012, 12:30 PM

    Hi …

    is it possible to rewrite URLs through the Squid reverse Proxy ?

    i've one ip, some subdomains pointing to this ip.

    what i wanna do is to rewrite the URLs

    http://mail.a.b to http://mail.a.b/mail
    http://file.a.b to http://(mail/file).a.b/file
    https://mail.a.b to https://mail.a.b/mail
    https://file.a.b to https://(mail/file).a.b/file

    (mail/file ... all resist on one Server - which has no VirtualHost capability)

    Thanks & Regards,
    michael

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Dec 19, 2012, 3:03 PM

      Isn't better just an HTML pointing mail.a.b to mail.a.b/mail?

      Redirects from /x to /y are easy in most reverse proxies, but / to /x in most times I've tried, messed up website.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • M
        mrpsycho
        last edited by Jan 27, 2013, 10:47 AM

        ok.

        but what about redirects http to https?

        i have some local services. they uses 80 port and clean http
        but outside local network i wish to use them with https.

        before i was using TMG, but it is soooo sloooow, so i decided to move to pfsense.
        and this is only one question that i didn't find the answer :(

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received