/[monit]/monit/p.y
ViewVC logotype

Diff of /monit/p.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by chopp, Tue Nov 5 09:04:02 2002 UTC revision 1.36 by hauk, Tue Nov 5 13:03:13 2002 UTC
# Line 305  httpdoption     : ssl Line 305  httpdoption     : ssl
305  bindaddress     : ADDRESS STRING { Run.bind_addr= $2; }  bindaddress     : ADDRESS STRING { Run.bind_addr= $2; }
306                  ;                  ;
307    
308  ssl             : HTTPDSSL DISABLE { Run.httpdssl= FALSE; }  ssl             : ssldisable { Run.httpdssl= FALSE; }
309                  | HTTPDSSL ENABLE pemfile clientpemfile allowselfcert {                  | sslenable pemfile clientpemfile allowselfcert {
                   Run.httpdssl= TRUE;                    
                   if(!have_ssl()) {  
                      error("%s: SSL is not supported at line %d\n",  
                            prog, lineno-1);  
                      cfg_errflag++;  
                    }  
                  }  
                 | HTTPDSSL pemfile clientpemfile allowselfcert {  
310                    Run.httpdssl= TRUE;                                      Run.httpdssl= TRUE;                  
311                    if(!have_ssl()) {                    if(!have_ssl()) {
312                       error("%s: SSL is not supported at line %d\n",                       error("%s: SSL is not supported at line %d\n",
# Line 324  ssl             : HTTPDSSL DISABLE { Run Line 316  ssl             : HTTPDSSL DISABLE { Run
316                   }                   }
317                  ;                  ;
318    
319    sslenable       : HTTPDSSL
320                    | HTTPDSSL ENABLE
321                    | ENABLE HTTPDSSL
322                    ;
323    
324    ssldisable      : HTTPDSSL DISABLE
325                    | DISABLE HTTPDSSL
326                    | ssldisable PEMFILE PATH
327                    | ssldisable CLIENTPEMFILE PATH
328                    | ssldisable ALLOWSELFCERTIFICATION
329                    ;
330    
331  pemfile         : PEMFILE PATH {  pemfile         : PEMFILE PATH {
332                       Run.httpsslpem= $2;                       Run.httpsslpem= $2;
333                       if(!check_file(Run.httpsslpem,                       if(!check_file(Run.httpsslpem,

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26