|fajita||php_flag context is http://www.php.net/manual/en/ini.php#ini.list|
|PT_LAmb||jMCg: I understand the security implications... but for now I need to allow them to do this.|
|jMCg||PT_LAmb: for now means: once they get used to it, I can't change it. Crap :-/|
|teksimian||jMCg; but they will always be authenticated, because apache sends its 200 header before php can send its.|
|jMCg||teksimian: would you please take a look at:|
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_LAmb||jMCg: 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.|
|jMCg||You can do the authentication from a 'normal' form.|
|PT_LAmb||jMCg: But I understand want you're trying to tell me. And I thank you for it.|
|teksimian||jMCg; 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.|
|jMCg||teksimian: you're doing something wrong.|
|PT_LAmb||jMCg: 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?|
|jMCg||If 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_LAmb||jMCg: may not be a phpinfo() page, could be a simple command line. Is there such thing?|
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_LAmb||jMCg: Never configured an IIS|
jMCg: or used.
|jMCg||I 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_LAmb||jMCg: I do don't run servers with sparky X Windows.|
|PT_LAmb||just console and plain ol' grep,vim and bash|
s/I do/I too/
|jMCg||Don't remind me of that.|
|PT_LAmb||jMCg: thank you anyways.|
teksimian: found the code..
Oh wonder. It's on my server....
teksimian: and yes.. it looks nice. And works. Of course.
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.