Skip to content

Instantly share code, notes, and snippets.

@stran12
Created November 26, 2011 00:43

Revisions

  1. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -147,7 +147,7 @@ Go into the cgit directory that you cloned in the pre-req's and run the followin
    make
    sudo make install

    This will have installed cgit.cgi cgit.png and cgit.css into /var/www/htdocs/cgit/. That should be fine if you have all the correct permissions set up.
    This will have installed cgit.cgi cgit.png and cgit.css into /var/www/htdocs/cgit/. That should be fine if you have all the correct permissions set up. ::

    # prepend this string to every url
    virtual-root=/
  2. stran12 revised this gist Nov 26, 2011. 1 changed file with 65 additions and 1 deletion.
    66 changes: 65 additions & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,10 @@ This is for ::
    libfcgi-dev
    spawn-fcgi
    fcgiwrap
    git clone https://github.com/gnosek/fcgiwrap.git
    git clone git://hjemli.net/pub/git/cgit

    Setting up fcgiwrap
    -------------------

    @@ -134,6 +137,67 @@ The next step is optional, but I like it because it neatens things up a bit. ::
    fastcgi_param SERVER_NAME $server_name;
    fastcgi_param REMOTE_USER $remote_user;

    Setting up cGit
    ---------------

    Go into the cgit directory that you cloned in the pre-req's and run the following cmomands ::

    git submodule init
    git submodule update
    make
    sudo make install

    This will have installed cgit.cgi cgit.png and cgit.css into /var/www/htdocs/cgit/. That should be fine if you have all the correct permissions set up.

    # prepend this string to every url
    virtual-root=/

    # title, heading, desc, about...
    root-title=Intecs git repositories
    root-desc=here lies our code!
    root-readme=/files/web/example.com/code/about.html


    # styling
    css=/htdocs/cgit/cgit.css
    logo=/htdocs/cgit/cgit.png


    #
    # "STATIC" REPOSITORIES
    #
    # Add them one by one, or include a file...
    section=Hosted repos

    # First repository
    repo.url=<project_name>
    repo.owner=<user>
    repo.path=/path/to/git_repo/.git
    repo.desc=A test project.

    Now here is where we configure nginx to run cgit ::

    server {
    listen 80;
    server_name localhost;

    # Serve static files
    location ~* ^.+\.(css|png|ico)$ {
    root /var/www/htdocs/cgit;
    expires 30d;
    }

    location / {
    fastcgi_pass unix:/tmp/cgi.sock;
    fastcgi_param SCRIPT_FILENAME /var/www/htdocs/cgit/cgit.cgi;
    fastcgi_param PATH_INFO $uri;
    fastcgi_param QUERY_STRING $args;
    }

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log warn;
    }



    References
  3. stran12 revised this gist Nov 26, 2011. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,8 @@ This is for ::
    spawn-fcgi
    fcgiwrap
    Setting up fcgiwrap
    -------------------

    Now lets install fcgiwrap_. Alternatively, you can ::

    @@ -27,6 +29,9 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    sudo make install
    cp fcgiwrap /usr/bin/.

    Setting up spawn-fcgi
    ---------------------

    Then, I pasted this perl script into /usr/bin/spawn-fcgi which will create a socket to pass .cgi to it ::

    cat > /usr/bin/spawn-fcgi
    @@ -105,6 +110,9 @@ Again, make that executable and start it up! ::

    After you start the spawn-fcgi you should see a new file in /tmp folder with the name cgi.sock. That file is our socket to pass .cgi scripts to.

    Configuring nginx fcgi_param's
    ------------------------------

    The next step is optional, but I like it because it neatens things up a bit. ::

    cat > /etc/nginx/fastcgi_params
  4. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -106,6 +106,7 @@ Again, make that executable and start it up! ::
    After you start the spawn-fcgi you should see a new file in /tmp folder with the name cgi.sock. That file is our socket to pass .cgi scripts to.

    The next step is optional, but I like it because it neatens things up a bit. ::

    cat > /etc/nginx/fastcgi_params
    fastcgi_param QUERY_STRING $query_string;
    fastcgi_param REQUEST_METHOD $request_method;
  5. stran12 revised this gist Nov 26, 2011. 1 changed file with 21 additions and 0 deletions.
    21 changes: 21 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -103,6 +103,27 @@ Again, make that executable and start it up! ::
    chmod +x /etc/init.d/spawn-fcgi
    sudo /etc/init.d/spawn-fcgi start

    After you start the spawn-fcgi you should see a new file in /tmp folder with the name cgi.sock. That file is our socket to pass .cgi scripts to.

    The next step is optional, but I like it because it neatens things up a bit. ::
    cat > /etc/nginx/fastcgi_params
    fastcgi_param QUERY_STRING $query_string;
    fastcgi_param REQUEST_METHOD $request_method;
    fastcgi_param CONTENT_TYPE $content_type;
    fastcgi_param CONTENT_LENGTH $content_length;
    fastcgi_param SCRIPT_NAME $fastcgi_script_name;
    fastcgi_param REQUEST_URI $request_uri;
    fastcgi_param DOCUMENT_URI $document_uri;
    fastcgi_param DOCUMENT_ROOT $document_root;
    fastcgi_param SERVER_PROTOCOL $server_protocol;
    fastcgi_param GATEWAY_INTERFACE CGI/1.1;
    fastcgi_param SERVER_SOFTWARE nginx;
    fastcgi_param REMOTE_ADDR $remote_addr;
    fastcgi_param REMOTE_PORT $remote_port;
    fastcgi_param SERVER_ADDR $server_addr;
    fastcgi_param SERVER_PORT $server_port;
    fastcgi_param SERVER_NAME $server_name;
    fastcgi_param REMOTE_USER $remote_user;



  6. stran12 revised this gist Nov 26, 2011. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -98,7 +98,10 @@ The following script will be use to automate the respawning of FastCGI(fcgi) soc
    exit $RETVAL


    Again, make that executable and start it up! ::

    chmod +x /etc/init.d/spawn-fcgi
    sudo /etc/init.d/spawn-fcgi start



  7. stran12 revised this gist Nov 26, 2011. 1 changed file with 37 additions and 1 deletion.
    38 changes: 37 additions & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    sudo make install
    cp fcgiwrap /usr/bin/.

    Then, I pasted this perl script into spawn-fcgi ::
    Then, I pasted this perl script into /usr/bin/spawn-fcgi which will create a socket to pass .cgi to it ::

    cat > /usr/bin/spawn-fcgi
    #!/usr/bin/perl
    @@ -60,6 +60,42 @@ Then, I pasted this perl script into spawn-fcgi ::
    die "Failed to exec $bin_path: $!\n";
    }

    Then make sure to give it executable permissions ::

    chmod +x /usr/bin/spawn-fcgi

    The following script will be use to automate the respawning of FastCGI(fcgi) socket ::

    cat > /etc/init.d/spawn-fcgi
    #!/bin/bash
    C_SCRIPT=/usr/bin/spawn-fcgi
    USER=www-data
    GROUP=www-data
    RETVAL=0
    case "$1" in
    start)
    echo "Starting fastcgi"
    sudo -u $USER $C_SCRIPT
    chown $USER:$GROUP /tmp/cgi.sock
    RETVAL=$?
    ;;
    stop)
    echo "Stopping fastcgi"
    killall -9 fcgiwrap
    RETVAL=$?
    ;;
    restart)
    echo "Restarting fastcgi"
    killall -9 fcgiwrap
    $sudo -u $USER $C_SCRIPT
    RETVAL=$?
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
    ;;
    esac
    exit $RETVAL



  8. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,8 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    sudo make install
    cp fcgiwrap /usr/bin/.

    Then, I pasted this perl script into spawn-fcgi ::
    Then, I pasted this perl script into spawn-fcgi ::

    cat > /usr/bin/spawn-fcgi
    #!/usr/bin/perl

  9. stran12 revised this gist Nov 26, 2011. 1 changed file with 29 additions and 29 deletions.
    58 changes: 29 additions & 29 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -29,35 +29,35 @@ Now lets install fcgiwrap_. Alternatively, you can ::

    Then, I pasted this perl script into spawn-fcgi ::
    cat > /usr/bin/spawn-fcgi
    #!/usr/bin/perl

    use strict;
    use warnings FATAL => qw( all );

    use IO::Socket::UNIX;

    my $bin_path = '/usr/bin/fcgiwrap';
    my $socket_path = $ARGV[0] || '/tmp/cgi.sock';
    my $num_children = $ARGV[1] || 1;

    close STDIN;

    unlink $socket_path;
    my $socket = IO::Socket::UNIX->new(
    Local => $socket_path,
    Listen => 100,
    );

    die "Cannot create socket at $socket_path: $!\n" unless $socket;

    for (1 .. $num_children) {
    my $pid = fork;
    die "Cannot fork: $!" unless defined $pid;
    next if $pid;

    exec $bin_path;
    die "Failed to exec $bin_path: $!\n";
    }
    #!/usr/bin/perl
    use strict;
    use warnings FATAL => qw( all );
    use IO::Socket::UNIX;
    my $bin_path = '/usr/bin/fcgiwrap';
    my $socket_path = $ARGV[0] || '/tmp/cgi.sock';
    my $num_children = $ARGV[1] || 1;
    close STDIN;
    unlink $socket_path;
    my $socket = IO::Socket::UNIX->new(
    Local => $socket_path,
    Listen => 100,
    );
    die "Cannot create socket at $socket_path: $!\n" unless $socket;
    for (1 .. $num_children) {
    my $pid = fork;
    die "Cannot fork: $!" unless defined $pid;
    next if $pid;
    exec $bin_path;
    die "Failed to exec $bin_path: $!\n";
    }



  10. stran12 revised this gist Nov 26, 2011. 1 changed file with 46 additions and 0 deletions.
    46 changes: 46 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -14,11 +14,57 @@ This is for ::
    libtool
    libfcgi-dev
    spawn-fcgi
    fcgiwrap

    Now lets install fcgiwrap_. Alternatively, you can ::

    git clone https://github.com/gnosek/fcgiwrap.git
    cd fcgiwrap/
    autoreconf -i
    ./configure
    make
    sudo make install
    cp fcgiwrap /usr/bin/.

    Then, I pasted this perl script into spawn-fcgi ::
    cat > /usr/bin/spawn-fcgi
    #!/usr/bin/perl

    use strict;
    use warnings FATAL => qw( all );

    use IO::Socket::UNIX;

    my $bin_path = '/usr/bin/fcgiwrap';
    my $socket_path = $ARGV[0] || '/tmp/cgi.sock';
    my $num_children = $ARGV[1] || 1;

    close STDIN;

    unlink $socket_path;
    my $socket = IO::Socket::UNIX->new(
    Local => $socket_path,
    Listen => 100,
    );

    die "Cannot create socket at $socket_path: $!\n" unless $socket;

    for (1 .. $num_children) {
    my $pid = fork;
    die "Cannot fork: $!" unless defined $pid;
    next if $pid;

    exec $bin_path;
    die "Failed to exec $bin_path: $!\n";
    }








    References
    ~~~~~~~~~~
  11. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -25,6 +25,7 @@ References

    * http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    * http://wiki.nginx.org/Fcgiwrap
    * https://help.ubuntu.com/community/FcgiWrap


    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  12. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,8 +23,8 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    | http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    | http://wiki.nginx.org/Fcgiwrap
    * http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    * http://wiki.nginx.org/Fcgiwrap


    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  13. stran12 revised this gist Nov 26, 2011. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,8 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    | http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    | http://wiki.nginx.org/Fcgiwrap
    | http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    | http://wiki.nginx.org/Fcgiwrap

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  14. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    http://wiki.nginx.org/Fcgiwrap
    | http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    | http://wiki.nginx.org/Fcgiwrap
    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  15. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    | `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    | `<http://wiki.nginx.org/Fcgiwrap>`_
    http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html
    http://wiki.nginx.org/Fcgiwrap

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  16. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    |`<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    |`<http://wiki.nginx.org/Fcgiwrap>`_
    | `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    | `<http://wiki.nginx.org/Fcgiwrap>`_
    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  17. stran12 revised this gist Nov 26, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    `<http://wiki.nginx.org/Fcgiwrap>`_
    |`<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    |`<http://wiki.nginx.org/Fcgiwrap>`_
    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  18. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_ \r
    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  19. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,8 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_ \r
    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  20. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html`>_
    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_

    `<http://wiki.nginx.org/Fcgiwrap>`_

  21. stran12 revised this gist Nov 26, 2011. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -16,14 +16,15 @@ This is for ::
    spawn-fcgi

    Now lets install "fcgiwrap"_. Alternatively, you can ::
    Now lets install fcgiwrap_. Alternatively, you can ::

    git clone https://github.com/gnosek/fcgiwrap.git

    References
    ~~~~~~~~~~

    http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html_
    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html`>_

    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  22. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ This is for ::
    spawn-fcgi

    Now lets install fcgiwrap_. Alternatively, you can ::
    Now lets install "fcgiwrap"_. Alternatively, you can ::

    git clone https://github.com/gnosek/fcgiwrap.git

  23. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_.
    http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html_
    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  24. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Now lets install fcgiwrap_. Alternatively, you can ::
    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_.
    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  25. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -25,4 +25,5 @@ References

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    `<http://wiki.nginx.org/Fcgiwrap>`_

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  26. stran12 revised this gist Nov 26, 2011. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,9 @@ Now lets install fcgiwrap_. Alternatively, you can ::

    git clone https://github.com/gnosek/fcgiwrap.git

    References
    ~~~~~~~~~~

    `<http://manpages.ubuntu.com/manpages/natty/man8/fcgiwrap.8.html>`_
    `<http://wiki.nginx.org/Fcgiwrap>`_
    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  27. stran12 revised this gist Nov 26, 2011. No changes.
  28. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,6 @@ This is for ::

    Now lets install fcgiwrap_. Alternatively, you can ::

    git clone http://github.com/gnosek/fcgiwrap/
    git clone https://github.com/gnosek/fcgiwrap.git

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  29. stran12 revised this gist Nov 26, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -17,6 +17,7 @@ This is for ::

    Now lets install fcgiwrap_. Alternatively, you can ::

    git clone http://github.com/gnosek/fcgiwrap/

    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap
  30. stran12 revised this gist Nov 26, 2011. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.rst
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,7 @@ This is for ::
    spawn-fcgi

    Now lets install fcgiwrap_. `https://help.ubuntu.com/community/FcgiWrap`_
    Now lets install fcgiwrap_. Alternatively, you can ::
    git clone http://github.com/gnosek/fcgiwrap/

    .. _fcgiwrap: https://github.com/gnosek/fcgiwrap.git
    .. _fcgiwrap: https://help.ubuntu.com/community/FcgiWrap