Skip to content

Replacing apache and .htaccess for routing #939

Answered by mnapoli
JWasdin asked this question in Support
Discussion options

You must be logged in to vote

Hi! To be honest, it might be hard to find a solution without digging into why Sendy redirects.

I would expect Sendy to expect some headers (the URL, HTTPS, etc.) to be in a certain way. If it isn't, Sendy issues a redirect to another URL.

What you could do to trick Sendy is to edit index.php (or whatever that filename is) to manually override $_SERVER (or any other necessary variable) with the values that Sendy expects.

I don't know how to help more than that unfortunately.

Oh, one other possibility is that Sendy doesn't work with a single index.php entry file, but with multiple public files. In that case that might be even harder to run on Lambda.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JWasdin
Comment options

Answer selected by JWasdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants