Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dadamail behind Web backend #1188

Open
MaxPerl opened this issue Sep 20, 2024 · 3 comments
Open

Dadamail behind Web backend #1188

MaxPerl opened this issue Sep 20, 2024 · 3 comments

Comments

@MaxPerl
Copy link

MaxPerl commented Sep 20, 2024

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
Copy link
Author

MaxPerl commented Sep 20, 2024

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

@justingit
Copy link
Owner

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

@MaxPerl
Copy link
Author

MaxPerl commented Sep 24, 2024

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants