Branch: Tag:

1996-12-08

1996-12-08 10:33:27 by David Hedbor <david@hedbor.org>

Ungefär detta har ändrats:

Changes since Roxen 1.1 alpha 3
-----------------------------------------------
o Proxy authentification support once again added. Wonder where it
disappeared?

o If you want to set up SSL, read README.ssl and follow the
instructions!

o Some fixes to ssl.c.

o proxy.lpc: Different error messages for connection refused and
unknown host. This has been a very long wanted feature.

o Fixed bug when you tried to insert a file that didn't exist with
<!--#insert file="XXX">.

o SSI exec (cgi and cmd) now sets these environment variables:
DOCUMENT_NAME, DOCUMENT_URI, QUERY_STRING_UNESCAPED (same as
QUERY_STRING) and LAST_MODIFIED.

o Timezone fix in cern_http_date().

o Userfs->real_file() now also returns directories. Don't as ask me
why it wasn't like that before. It is however needed for the cgi
module (to properly translate PATH_INFO containing a users
directory).

o user CGI scripts now works with PATH_INFO. Again, thanks to Wilhelm
Koehler, our saviour!

Rev: CHANGES:1.15
Rev: README.ssl:1.1
Rev: extern/configure.in:1.2
Rev: extern/ssl.c:1.4
Rev: server/base_server/http.pike:1.4
Rev: server/base_server/module.pike:1.6
Rev: server/base_server/roxen.pike:1.21
Rev: server/base_server/roxenlib.pike:1.7
Rev: server/etc/include/module.h:1.4
Rev: server/modules/filesystems/userfs.pike:1.8
Rev: server/modules/proxies/proxy.pike:1.11
Rev: server/modules/tags/htmlparse.pike:1.10
Rev: server/protocols/http.pike:1.7

1:   // This is a roxen module. (c) Informationsvävarna AB 1996.    - string cvs_version = "$Id: http.pike,v 1.6 1996/12/08 02:58:13 neotron Exp $"; + string cvs_version = "$Id: http.pike,v 1.7 1996/12/08 10:33:27 neotron Exp $";   // HTTP protocol module.   #include <config.h>   inherit "roxenlib";
424:    }    supports = roxen->find_supports(lower_case(client*" "));    -  int tmp1,tmp2; +  if(misc->proxyauth) { +  // The Proxy-authorization header should be removed... So there. +  mixed tmp1,tmp2;    -  if(0 && (tmp1 = search(lower_case(raw), "proxy-authentification:")) != -1 && -  (tmp2 = search(lower_case(raw[tmp1..]), "\n") != -1)) -  { -  perror(raw); -  raw = raw[..tmp1-1] + raw[tmp2..]; -  perror(raw); +  foreach(tmp2 = (raw / "\n"), tmp1) { +  if(!search(lower_case(tmp1), "proxy-authorization:")) +  tmp2 -= ({tmp1});    } -  +  raw = tmp2 * "\n"; +  }    if(config_in_url)    return really_set_config( mod_config );