parameters: (self)
return_statement: return None
docstring: Returns the full path to the apache binary.
  
          This is needed only by ports that use the apache_http_server module.
docstring_summary: Returns the full path to the apache binary.
docstring_tokens: Returns the full path to the apache binary .
function: def _path_to_apache(self):
          """Returns the full path to the apache binary.
  
          This is needed only by ports that use the apache_http_server module."""
          # The Apache binary path can vary depending on OS and distribution
          # See http://wiki.apache.org/httpd/DistrosDefaultLayout
          for path in ["/usr/sbin/httpd", "/usr/sbin/apache2", "/app/bin/httpd"]:
              if self._filesystem.exists(path):
                  return path
          _log.error("Could not find apache. Not installed or unknown path.")
          return None
function_tokens: def _path_to_apache ( self ) : # The Apache binary path can vary depending on OS and distribution # See http://wiki.apache.org/httpd/DistrosDefaultLayout for path in [ "/usr/sbin/httpd" , "/usr/sbin/apache2" , "/app/bin/httpd" ] : if self . _filesystem . exists ( path ) : return path _log . error ( "Could not find apache. Not installed or unknown path." ) return None