🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #396

More improvements in rslight

#396
From: Retro Guy
Date: Fri, 02 Apr 2021 06:46
13 lines
1934 bytes
At least I hope they're improvements :)

I recently split 'interests' on two of my sites by adding 'tech' and moving groups there. Since the section name is in the url, that would mean that the moved groups would no longer work by incoming links (/interests/<some_group> would be incorrect). 

Now rslight detects if the group requested is in the section in the url and if not, it rewrites the url to the correct section. I could make it work fine without rewriting the url and just allowing the group to display in any section, but then settings specific to a section would be incorrect. For example, you would be able to use a section allowing anonymous posting to post to groups the admin does not wish to allow anonymous. 

One of my sites (retrobbs) uses a completely different upstream server for one section, so the settings are quite different. Rewriting the url solves these issues.

Hopefully it works ok. It's running now on rslight.

Retro Guy
-- 
Posted on Rocksolid Light
Technical Details
Message-ID: <bca37653a5294626125af153d931fef3$1@news.novabbs.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <bca37653a5294626125af153d931fef3$1@news.novabbs.org>
Subject: More improvements in rslight
Date: Fri, 2 Apr 2021 06:46:23 +0000
From: retro.guy@rocksolidbbs.com (Retro Guy)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
 logging-data="29568"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$/hBelsu56fGura5BFzIg6.7NEq79jEhqsDhJGZZ6gSQ6FsEq9W3Ue