|
ru.cgi.perl- RU.CGI.PERL ------------------------------------------------------------------ From : Artem Chuprina 2:5020/400 10 Jan 2003 15:20:32 To : "Vladimir Volkov" Subject : Re: [?] Apache -------------------------------------------------------------------------------- Здравствуй, Vladimir Volkov. AC>> Если он уже аутентифицировался об апач, то никаких дополнительных AC>> модулей не надо - в документации на апач сказано, в какой переменной AC>> будет имя. Если надо аутентифицировать самому - тут либо придется VV> =========Beginning of the citation============== VV> CGI Environment variables VV> The server will set the CGI environment variables as described in the VV> CGI specification, with the following provisions: VV> REMOTE_HOST VV> This will only be set if HostnameLookups is set to on (it is off by VV> default), and if a reverse DNS lookup of the accessing host's address VV> indeed finds a host name. VV> REMOTE_IDENT VV> This will only be set if IdentityCheck is set to on and the accessing VV> host supports the ident protocol. Note that the contents of this VV> variable cannot be relied upon because it can easily be faked, and if VV> there is a proxy between the client and the server, it is usually VV> totally useless. VV> REMOTE_USER VV> This will only be set if the CGI script is subject to authentication. VV> =========The end of the citation================ VV> Что-то слова про "can easily be faked" не внушают доверия... VV> Или ты не это имел в виду? Тебя интересует REMOTE_USER. REMOTE_IDENT - это для trusted сетей. -- Artem Chuprina Communiware.net RFC2822: <ran@ran.pp.ru>, FIDO: 2:5020/122.256, ICQ: 13038757 --- ifmail v.2.15dev5 * Origin: Leninsky 45 home network (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.cgi.perl/1445437e29e46.html, оценка из 5, голосов 10
|