Page 1 of 1

Cookie not being accepted by server, new apache bug?

Posted: Thu Feb 03, 2005 4:36 am
by shalombi
I created a script for my school which allows teachers to make their reports online, the school runs suse 9.2 with the latest apache (Tuesday update) and my script worked fine up until Tuesday.
my problem is that after the cookie has been set client side the server wont take it back for some reason so when i do a check for the cookie to authenticate the user it things the user hasn't logged in.
I have checked and the cookies are set properly on the client side and the requests worked before and still work internally (from inside the school we use 192.168.1.1 with the exact same script but different address)
I was thinking their is something wrong with the apache because at one point we restarted apache in shell and then it worked once and then again the cookies couldn't be read.
If you have an idea i would really appreciate because i have been working for 5 hours now and found nothing on the apache web site saying their might be a bug.
Thanks

Max

solved

Posted: Thu Feb 03, 2005 4:51 am
by shalombi
by putting all the php files in the root directory of apache and not in the public html user folder it now works.
is this a bug??

Max

Posted: Thu Feb 03, 2005 6:17 am
by onion2k
If you're using the stable version then this (99.999%) certainly won't be a bug in Apache. If you're using a dev or cvs version, then yes, its quite likely to be a bug.

oh thats weird

Posted: Thu Feb 03, 2005 7:48 am
by shalombi
the version is the automatic update form the suse update server.
the thing is we ssh to another computer to be able to test external connections and it works usually the first time then we need to reset the ssh coneciton for it to work the second time.
waiting to get out of school to test again.
this is a mess really.
we partially improved it by opeening all the alternate http ports on the firewall altough it isnt yet perfect.
the thing is it worked before this is new and unexplained that why i supose that it could be the apache altough we are trying all different possibilites.

Max