dada-mail icon indicating copy to clipboard operation
dada-mail copied to clipboard

Dadamail behind Web backend

Open MaxPerl opened this issue 1 year ago • 3 comments

Hello Justin,

I have the following problem. I must run dadamail from www.example.com/newsletter. Unfortunately I get the following error message:

"Unknown flavor

We apologize, but the resource you're looking for does not exist."

In the error.txt I get the following:

Unknown option: port

unknown param called: "newsletter" REMOTE HOST: REMOTE_ADDR

I think, it is necessary to strip newsletter from path_info?

Best wishes, Max

MaxPerl avatar Sep 20 '24 17:09 MaxPerl

PS:: in .dada_config I have the following options: $PROGRAM_URL = 'https://example.com/newsletter/'; $S_PROGRAM_URL = 'https://example.com/newsletter/';

MaxPerl avatar Sep 20 '24 17:09 MaxPerl

I wonder if the $PROGRAM_URL has to have the, 'mail.cgi" in it?

justingit avatar Sep 23 '24 20:09 justingit

Thanks for your answer. I am running Dadamail with PSGI/Plack, so I think mail.cgi should not bei in $PROGRAM_URL.

I solved it by using a subdomain (newsletter.example.com). The hint came from the documentation of my web server. Nevertheless a solution for using Dadamail from a specific path would be great :-)

MaxPerl avatar Sep 24 '24 05:09 MaxPerl