| 
      
            Lines 168-173
          Typically this can be enabled with:
      
      
        Link Here
      
     | 
  
        
          | 168 | 
          EOM  | 
          168 | 
          EOM  | 
        
        
          | 169 | 
                  die  | 
          169 | 
                  die  | 
        
        
          | 170 | 
              fi  | 
          170 | 
              fi  | 
        
            
               | 
               | 
              171 | 
               | 
            
            
              | 172 | 
                  # Check that the CGI module is installed and enabled  | 
            
            
              | 173 | 
                  # (Apache 2.4 may not have it by default.)  | 
            
            
              | 174 | 
                  if ! /usr/sbin/apachectl -M 2> /dev/null | grep -q 'cgi_module'; then  | 
            
            
              | 175 | 
                      cat 1>&2 << EOM  | 
            
            
              | 176 | 
              Koha requires mod_cgi to be enabled within Apache in order to run.  | 
            
            
              | 177 | 
              Typically this can be enabled with:  | 
            
            
              | 178 | 
               | 
            
            
              | 179 | 
                  sudo a2enmod cgi  | 
            
            
              | 180 | 
              EOM  | 
            
            
              | 181 | 
                      die  | 
            
            
              | 182 | 
                  fi  | 
            
            
              | 183 | 
               | 
            
        
          | 171 | 
          }  | 
          184 | 
          }  | 
        
        
          | 172 | 
           | 
          185 | 
           | 
        
        
          | 173 | 
          set_biblios_indexing_mode()  | 
          186 | 
          set_biblios_indexing_mode()  | 
        
            
              | 174 | 
              -   | 
               | 
               |