#apache - Fri 9 Mar 2007 between 19:23 and 19:40

NY Lost Funds



fajitaphp_flag context is http://www.php.net/manual/en/ini.php#ini.list
PT_LAmbjMCg: I understand the security implications... but for now I need to allow them to do this.
jMCgPT_LAmb: for now means: once they get used to it, I can't change it. Crap :-/
teksimianjMCg; but they will always be authenticated, because apache sends its 200 header before php can send its.
jMCgteksimian: would you please take a look at:
php.net/function.header
It tells you how to do that.
Search for Authentication or whatever.
I use it somewhere.. but I didn't write it.. and forgot about it and whatnot... it does work.
PT_LAmbjMCg: Not really... I meant... for now till I setup a httpd.conf generator that does that to specific directories. I just don't want to claugh the .conf file right now.
jMCgYou can do the authentication from a 'normal' form.
PT_LAmbjMCg: But I understand want you're trying to tell me. And I thank you for it.
teksimianjMCg; libpam-http just waits to see a header from the server. Apache will unconditionally send back 200 OK before php can send any headers. thereby always authenticating the user.
jMCgteksimian: you're doing something wrong.
PT_LAmbjMCg: But anyways... I've been searching for a way to inspect configured directives on a specific directory. Is there a tool that can print that kind of info?
jMCgIf you send the wrong credidentials... wait..
teksimian: have you actually set up some location thing where the user has to be authenticated to get into?
like <Location /login>
PT_LAmbjMCg: may not be a phpinfo() page, could be a simple command line. Is there such thing?
jMCg?
PT_LAmb: weeeeeellll... usually you would use a rather sane hierachical configuration file. Reading it would tell you what you're dealing with. I have no idea what you're talking about.. But I think I say such a thing you might be talking about for IIS.
I'm on Linux. I use vim and grep.
And most of all, I use Apache.
PT_LAmbjMCg: Never configured an IIS
jMCg: or used.
jMCgI saw it being configured... asked the guy if there's no config file -- he said it can be exported to a config file... I tried to end the conversation rather fast then...
PT_LAmbjMCg: I do don't run servers with sparky X Windows.
jMCg~_~
PT_LAmbjust console and plain ol' grep,vim and bash
s/I do/I too/
jMCgDon't remind me of that.
PT_LAmbjMCg: thank you anyways.
jMCgYou're welcome.
teksimian: found the code..
Oh wonder. It's on my server....
teksimian: and yes.. it looks nice. And works. Of course.
teksimianjMCg; http://pastebin.ca/388289
oh nevermind. i got it to work.
;p thanks for the help jMCg
I fixed the header, to be the actual http code. now it doesnt output 200 before it.

Page: 3 10 17 24 31 38 45 52 59 66 73 80 

IrcArchive

NY Lost Funds