Download and Install apache version 1.3.41 on Mac OS X
Thursday the 7th of August, 2008

    apache  most recent diff


      View the most recent changes for the apache port at: apache.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for apache.
      The raw portfile for apache 1.3.41 is located here:
      http://apache.darwinports.com/dports/www/apache/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/apache
      Google
      Web Darwinports.com



      # $Id: Portfile 36585 2008-05-07 10:15:52Z ryandesign macports.org $

      PortSystem 1.0

      Name: apache
      Version: 1.3.41
      Category: www
      Platform: darwin freebsd
      Maintainers: ryandesign openmaintainer
      use_parallel_build yes
      Description: The extremely popular Apache http server
      Long Description: Apache is an HTTP server designed as a plug-in replacement for the NCSA server version 1.3 (or 1.4). It fixes numerous bugs in the NCSA server and includes many frequently requested new features, and has an API which allows it to be extended to meet users' needs more easily.
      Homepage: http://httpd.apache.org/
      master_sites http://archive.apache.org/dist/httpd/ apache:httpd

      distname ${name}_${version}
      checksums md5 f7f00b635243f03a787ca9f4d4c85651 sha1 3bbd4c4bc648e6ad5b696bb83420533f4d23daf8 rmd160 74786c65c143af123f1d13e9d93dd5ff07e9a201

      platform darwin {
      if { ![variant_isset apache_layout] } {
      configure.args-append --with-layout=FreeBSD --logfiledir=${prefix}/var/log/httpd --runtimedir=${prefix}/var/run
      }
      }

      Variant: apache_layout {
      configure.pre_args --prefix=${prefix}/apache
      configure.args-append --with-layout=Apache --logfiledir=${prefix}/apache/var/log/httpd --runtimedir=${prefix}/apache/var/run
      }

      set stdargs "--server-uid=www --server-gid=www --enable-module=most --enable-shared=max --disable-rule=expat"

      configure.pre_args --prefix=${prefix} --datadir=${prefix}/var/www/data --cgidir=${prefix}/var/www/cgi-bin --iconsdir=${prefix}/var/www/icons --mandir=${prefix}/share/man

      configure.args ${stdargs}

      destroot.args root=${destroot}

      startupitem.create yes
      if { [variant_isset apache_layout] } {
      startupitem.init "CTL=${prefix}/apache/bin/apachectl\nPID=${prefix}/apache/run/httpd.pid"
      } else {
      startupitem.init "CTL=${prefix}/sbin/apachectl\nPID=${prefix}/var/run/httpd.pid"
      }
      startupitem.start "\[ -x \${CTL} \] && \${CTL} start >/dev/null"
      startupitem.stop "\[ -r \${PID} \] && \${CTL} stop >/dev/null"
      startupitem.restart "\[ -x \${CTL} \] && \${CTL} restart >/dev/null"

      post-destroot {
      if { [variant_isset apache_layout] } {
      xinstall -m 755 -d ${destroot}${prefix}/apache/log ${destroot}${prefix}/apache/run
      destroot.keepdirs ${destroot}${prefix}/apache/log ${destroot}${prefix}/apache/run
      } else {
      xinstall -m 755 -d ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run
      destroot.keepdirs ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run
      }
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex {Apache (1\.\d+(?:\.\d+)*) Released}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/apache
      % sudo port install apache
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching apache
      ---> Verifying checksum for apache
      ---> Extracting apache
      ---> Configuring apache
      ---> Building apache with target all
      ---> Staging apache into destroot
      ---> Installing apache
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using apache with these commands:
      %  man apache
      % apropos apache
      % which apache
      % locate apache

     Where to find more information:

    Darwin Ports



    image test