Skip to content
  1. May 20, 2010
  2. May 19, 2010
  3. May 18, 2010
  4. May 17, 2010
  5. May 16, 2010
  6. May 14, 2010
  7. May 13, 2010
  8. May 12, 2010
  9. May 10, 2010
  10. May 09, 2010
  11. May 07, 2010
    • Philip M. Gollucci's avatar
      Fix the following: · caa07236
      Philip M. Gollucci authored
      $> grep -e autoindex_ -e cgi_ httpd.conf
      LoadModule autoindex_module libexec/apache22/mod_autoindex.so
      LoadModule cgi_module libexec/apache22/mod_cgi.so
      
      
      fire up the following commands
      
      $> apxs -e -a -n autoindex mod_autoindex.so
      [activating module `autoindex' in /usr/local/etc/apache22/httpd.conf]
      $> apxs -e -a -n cgi mod_cgi.so
      [activating module `cgi' in /usr/local/etc/apache22/httpd.conf]
      
      This will result into the following httpd.conf
      
      $> grep -e autoindex_ -e cgi_ httpd.conf
      LoadModule autoindex_module libexec/apache22/mod_autoindex.so
      LoadModule cgi_module libexec/apache22/mod_cgi.so
      LoadModule autoindex_module libexec/apache22/mod_autoindex.so
      LoadModule cgi_module libexec/apache22/mod_cgi.so
      
      
      As you notice the modules are now loaded twice
      
      Now try to deactivate for the loaded ssl module
      
      $> grep ssl_ httpd.conf
      LoadModule ssl_module libexec/apache22/mod_ssl.so
      
      $> apxs -e -A -n ssl mod_ssl.so
      [preparing module `ssl' in /usr/local/etc/apache22/httpd.conf]
      
      $> grep ssl_ httpd.conf
      LoadModule ssl_module libexec/apache22/mod_ssl.so
      #LoadModule ssl_module libexec/apache22/mod_ssl.so
      
      As reported in FreeBSD ports PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704
      Previously discussed with: wrowe@
      
      This b/c '$lmd' expects the amount of space to be a fixed amount.  Use \s+ to make
      any valid httpd.conf syntax work (i.e. at least 1 space)
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@942209 13f79535-47bb-0310-9956-ffa450edef68
      caa07236
  12. May 06, 2010