From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by mail.toke.dk (Postfix) with ESMTPS id 1C507A5729C for ; Sun, 25 Feb 2024 01:51:43 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=Eqp6edyl Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-6087192b092so22835557b3.0 for ; Sat, 24 Feb 2024 16:51:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708822300; x=1709427100; darn=lists.galene.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NWb5ZoITkz8sGrc3VxHm599yqjScv8EuROd19Su1/kE=; b=Eqp6edylcrHcRTk/KlgVAsM1EVReCjHXkpeYaMYb5ZuoM5uSDYlec/NudUSSwkA+/W CPm0NPdIbw0PfLOojXOVob158tf8kPzW1zt2iSSNRHIY5pJah9Zs4jAbQ0WTQTtTDD0m JCJUFULURacWTNgPCMIFoiry4MQcOXkP3oSM+DPe1P6xAg21MMCNvk1y6wF2fdN0DQzf 0fCvj5S3u+74qonpDTBz68kIpjYMtAK7sb/L3XYh5Pp5Lte3HpOF6UuXAK5XlpS5jOcI M+YKbPNpfMtz5VhXOU4paO0ptLgTikrtxJcNEV/8unqvHUryhfkJQSrUn3MJ+VBsURzh nCoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708822300; x=1709427100; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NWb5ZoITkz8sGrc3VxHm599yqjScv8EuROd19Su1/kE=; b=dn79mLzvipe5iDBg57NJkAQfMcdnwWch4CygzfJXpgcMXQOjEU40eHt0MO0MKEiOKW zPHP3uIyvsYWnVPCNJqF9dk3NlEJn4rJ520/dKouYSs5GxfwRbwmvVsxhR9ip+udn6Lo AnZf8S79VLEHL46uZFdjxenObcpPUSsm12s3Y1uD2BnTJTO7Ultucln8qNCyQIAEa0b/ WhWVMr5gpFkxRqd5Gyuo8v8inObwk1xYjTvy3ebcXdegSR8uXY27cxVAx6FVePCbwV9W mfGMFn2pO2lCVLus5EGihhEk//2bypY3wIl5RCtA5TCvyTqXpW4brO5AtmaTnQ3aULPr 08Ng== X-Gm-Message-State: AOJu0YxJirVy8p7bUjZhmHIxEsfxJjZwrSEM/jEkD4kSZwCJI3hlF/Fb T5Jy09yW1o7p28QnMHj1GBPlsxCWcOe1SdE4EJJhVJahz8ijGW4a+SSJAQgH0yN3cNtxmuzHuPF m53+A9QsalWVwpMUMwi3+0Ann/gU= X-Google-Smtp-Source: AGHT+IEEAczgZeIw6F+B+jQZfsgk914nAK1MvQfEx4sXtt7J7G2VvUQ/D20mwM26iUATYEN8c98JK1miO1N2NTV3t2Q= X-Received: by 2002:a81:ff12:0:b0:608:ce47:b721 with SMTP id k18-20020a81ff12000000b00608ce47b721mr2562461ywn.2.1708822299755; Sat, 24 Feb 2024 16:51:39 -0800 (PST) MIME-Version: 1.0 References: <87jzmursig.wl-jch@irif.fr> <87o7c5purn.wl-jch@irif.fr> <87msrppqos.wl-jch@irif.fr> <87jzmtpkyh.wl-jch@irif.fr> <87il2dpjex.wl-jch@irif.fr> In-Reply-To: <87il2dpjex.wl-jch@irif.fr> From: Francis Bolduc Date: Sat, 24 Feb 2024 19:51:28 -0500 Message-ID: To: Juliusz Chroboczek Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: 3FXCRK3IGGMDCVVHHZ6SU2S7W2HX7ISC X-Message-ID-Hash: 3FXCRK3IGGMDCVVHHZ6SU2S7W2HX7ISC X-MailFrom: fbolduc@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: galene@lists.galene.org X-Mailman-Version: 3.3.9 Precedence: list Subject: [Galene] Re: Behind reverse proxy, not at the root List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: If you recall my original email, I did not ask for URL rewriting. What I would like to do is to host Galene in a directory, so that it would look like this from the client side: GET https://myhost.com/foo/index.html GET https://myhost.com/foo/mainpage.css GET https://myhost.com/foo/galene.css GET https://myhost.com/foo/mainpage.js GET https://myhost.com/foo/common.css As you suggested, I did configure my reverse proxy so that Galene gets modified HTTP GET requests with the "/foo/" directory removed. I thought that was weird, as the other applications I use on the same host such as filebrowser.org and forge-vtt.com do not require such fiddling with the HTTP requests. But I gave it a try anyway. And that did not work because Galene seems to return the same content without any modification to any path no matter what I configure in the proxyURL field. I don't know of any reverse proxy that can inspect the backend HTML outputted by Galene, rewrite the paths to add the "/foo/" directory, and then send the modified HTML to the client from the frontend. And I doubt this is even possible considering Javascript is involved. Or am I missing something? Regards, Francis