in reply to Re^9: Cookie->fetch problem
in thread Cookie->fetch problem

Hi:

Thanks for critique. I had never seen the the response from you before. Lost.

Issue: WHAT IS THE PATH to manage_users.cgi? does that look like /cgi-bin? no huh. that path is /httpsdocs/cgi-bin isnt it? </p

I tried /httpsdocs/cgi-bin which is where the module is stored. I also put a copy of the index.html in the httpsdocs directory to try calling through https. I am going back and forth on this.

i notice that https://www.jala-mi.org/cgi-bin/manage_users.cgi?action=GetLoginForm give me a 404.

The 404 is because manageusers.pm is running from httpsdocs/cgi-bin/lib/perl/

So what should the path in the cookie be? Better yet, what is the path pin the cookie used for?

Replies are listed 'Best First'.
Re^11: Cookie->fetch problem
by huck (Prior) on Mar 12, 2017 at 03:48 UTC

    if may be best for now to skip the whole -path thing. if you do that then the path gets set to / and that cookie gets returned to any page request on your site.

    The path is matched to the stuff right after your webserver name, and if they dont match then the cookie doest get sent back.

    so with path set to /cgi-bin only requests to https://www.jala-mi.org/cgi-bin/something would get that cookie sent back

Re^11: Cookie->fetch problem
by tultalk (Monk) on Mar 12, 2017 at 04:17 UTC

    A very interesting utility. It is indeed and shows the cookie in question associated with that (login)form that is loaded in the iframe from manage_users.cgi located in httpsdocs/cgi-bin