[TriLUG] Stuck

Stephen Bryant via TriLUG trilug at trilug.org
Wed Oct 28 23:45:03 EDT 2020


Hi Brian,

Not sure if any of this will be helpful, but I figured I’d throw some thoughts out there:

Can you turn the Apache access logs on, and see if anything looks hinky there?

Are both URLs using the same protocol (http vs https)?

If you look at the requests in your browser’s dev tools, do both requests look the same (Network tab in Chrome’s dev tools, not sure about others)?

Best of luck!
Stephen

> On Oct 28, 2020, at 10:56 PM, Brian McCullough via TriLUG <trilug at trilug.org> wrote:
> 
> Folks, I am stuck, probably chasing my tail, and getting nowhere.
> 
> 
> I am in an Apache2 environment with Laravel, which may have some
> relevance.
> 
> 
> However, my issue is, apparently, with some jQuery code that is behaving
> differently in two different places.
> 
> In one place, it does $.post() to a URL in the server, and everything is
> fine, status 200.
> 
> In the other place, it does $.ajax(), using a POST method, to a very
> similar URL in the server, and does a 302 to a non-useful location.
> 
> I don't see anything that looks like a redirect ( rewrite rule ) in the
> Apache configuration, so don't think that that is it.
> 
> 
> Does anybody have any bright ideas, because I think that I have run out?
> 
> I suspect that it is perhaps blindingly obvious and I have just got
> myself so deep in the weeds that I can not see.
> 
> 
> I do expect questions, because I have tried to be brief.
> 
> 
> 
> Thanks,
> Brian
> 
> 
> -- 
> This message was sent to: Stephen Bryant <stephen at stephenbryant.net>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web	: https://www.trilug.org/mailman/options/trilug/stephen%40stephenbryant.net
> Welcome to TriLUG: https://trilug.org/welcome



More information about the TriLUG mailing list