🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mailing.unix.courier-imap
1 messages
1 total messages Started by Jan H. Mon, 05 Oct 2020 07:45
Re: [courier-users] I need working nginx configuration for webadmin
#1
Author: Jan H.
Date: Mon, 05 Oct 2020 07:45
15 lines
1976 bytes
> i was not able to get fcgiwrap to work for this, it blacklists several environment variables (PATH_INFO, etc) which sqwebmail needs.
The blacklist only applies to variables fcgiwrap inherits from its environment. It doesn't mess with variables passed through the fastcgi socket. Try running this minimal example program through fcgiwrap:

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
	if (getenv("PATH_INFO"))
		printf("Content-Type: text/plain\n\nPATH_INFO is %s\n", getenv("PATH_INFO"));
	else
		puts("Content-Type: text/plain\nStatus: 500 Internal Server Error\n\nUh-oh");

	return 0;
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads