Download and Install shttpd version 1.34 on Mac OS X
Thursday the 4th of December, 2008

    version 1.34

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



      # $Id: Portfile 30257 2007-10-23 02:28:30Z jmpp macports.org $

      PortSystem 1.0
      Name: shttpd
      Version: 1.34
      Category: www
      Maintainers: nomaintainer
      Description: embeddable MIT-licensed web server
      Long Description: SHTTPD is simple, easy to use, embeddable web server with CGI, SSL, cookies support. It is written in C, as one single source file shttpd.c. It compiles both in UNIX and Windows environments. It gives very small footprint when linked against uclibc or dietlibc. It is a good choice to serve Web based GUI for various applications, where other sophisticated servers like Apache, IIS etc are too big, hard to install and configure or overcomplicated. It is good for implementing a web interface for daemons. Ideal for web-oriented software demos. Beginner (and not just beginner) web developers may find it very useful as well: shttpd serves PHP, Perl and other CGI applications without any additional configuration. Regardless its small size, shttpd is fully functional and is ready to be used in production environment.
      Homepage: http://shttpd.sourceforge.net/
      Platform: darwin
      master_sites sourceforge
      checksums sha1 596ce7b0aa480b3450b6574ac128e9f6513fb128

      use_configure no

      build.cmd gcc
      build.target
      build.args -Wall -g -DCONFIG=\\"${prefix}/etc/shttpd.conf\\" shttpd.c -o shttpd

      destroot {
      xinstall ${worksrcpath}/shttpd ${destroot}${prefix}/bin
      xinstall ${worksrcpath}/shttpd.1 ${destroot}${prefix}/share/man/man1
      xinstall ${worksrcpath}/shttpd.pem ${destroot}${prefix}/etc
      }

    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/shttpd
      % sudo port install shttpd
      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 shttpd
      ---> Verifying checksum for shttpd
      ---> Extracting shttpd
      ---> Configuring shttpd
      ---> Building shttpd with target all
      ---> Staging shttpd into destroot
      ---> Installing shttpd
    - 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 shttpd with these commands:
      %  man shttpd
      % apropos shttpd
      % which shttpd
      % locate shttpd

     Where to find more information:

    Darwin Ports



    Lightbox this page.