home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 135,300 of 135,536   
   jayjwa to Lars Poulsen   
   Re: Apache configuration question - MPM    
   08 Feb 26 16:27:46   
   
   From: jayjwa@atr2.ath.cx.invalid   
      
   Lars Poulsen  writes:   
      
   > I vaguely remember a long time ago having to select among 2 or 3   
   > different MPM modules, using configuration statements in httpd.conf,   
   > but looking at the httpd.conf file that I carried over from the old   
   > system, I do not see any such statements.   
   "Prefork" was the older one. You select them in the configs, wherever   
   they live, like so:   
      
   LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so   
   #LoadModule mpm_prefork_module lib64/httpd/modules/mod_mpm_prefork.so   
   #LoadModule mpm_worker_module lib64/httpd/modules/mod_mpm_worker.so   
      
   Check in /etc/{apache,httpd,apache2} and likewise. 'locate   
   mod_mpm_event.so' will likely show you where the modules live. Slackware   
   is very close to upstream, so on my system they live in   
   /usr/lib64/httpd/modules/   
   Your distro probably does this differently. On Slackware, most of the   
   action happens in httpd.conf .   
      
   You also have to enable the http2 module, which might be a different   
   package all together. I'm assuming you want HTTP2.   
      
   LoadModule http2_module lib64/httpd/modules/mod_http2.so   
      
           Protocols h2 h2c http/1.1   
      
      
   --   
   PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE   
          "The Internet should always be the Wild West!"   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca