httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@hyperreal.com>
Subject cvs commit: apache/src mod_actions.c
Date Sun, 16 Jun 1996 02:25:09 GMT
akosut      96/06/15 19:25:08

  Modified:    src       mod_actions.c
  Log:
  Allow actions to work with DefaultType files.
  
  Submitted by: "Todd R. Eigenschink" <eigenstr@pluto.mixi.net>
  
  Revision  Changes    Path
  1.4       +2 -1      apache/src/mod_actions.c
  
  Index: mod_actions.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_actions.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -C3 -r1.3 -r1.4
  *** mod_actions.c	1996/04/09 03:59:51	1.3
  --- mod_actions.c	1996/06/16 02:25:06	1.4
  ***************
  *** 171,177 ****
            return DECLINED;
    
        /* Second, check for actions (which override the method scripts) */
  !     if (action && (t = table_get(conf->action_types, action))) {
            script = t;
    	if (r->finfo.st_mode == 0) {
    	    log_reason("File does not exist", r->filename, r);
  --- 171,178 ----
            return DECLINED;
    
        /* Second, check for actions (which override the method scripts) */
  !     if ((action || default_type(r)) && (t = table_get(conf->action_types,
  ! 					action ? action : default_type(r)))) {
            script = t;
    	if (r->finfo.st_mode == 0) {
    	    log_reason("File does not exist", r->filename, r);
  
  
  

Mime
View raw message