Lighttpd Online Training

Lighttpd Online Training



    Lighttpd (pronounced “lighty”) is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible.[citation needed] It was originally written by Jan Kneschke as a proof-of-concept of the c10k problem – how to handle 10,000 connections in parallel on one server, but has gained worldwide popularity. lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, permitting web applications written in any programming language to be used with the server. As a particularly popular language, PHP performance has received special attention. Lighttpd’s FastCGI can be configured to support PHP with opcode caches (like APC) properly and efficiently. Additionally, it has received attention from its popularity within the Python, Perl, Ruby and Lua communities.


    • No prior experience with lighttpd is presumed.

    Course Content

    1. Introduction

    2. Building lighttpd

    • Installing lighttpd
    • Different approaches for building lighttpd

    3. Configuring and running lighttpd

    • Starting lighttpd by hand
    • Other core options
    • MIME types
    • Selectors
    • Will include regular expression tutorial if needed
    • Rewriting and redirecting requests
    • Including variables, files, and shell code

    4. More virtual hosting and CGI

    • Extended virtual hosting
    • MySQL-based virtual hosting
    • Going dynamic
    • CGI with mod_cgi
    • FastCGI and or SCGI (as desired)
    • mod_proxy_core and backends

    5. Downloads and streams

    • Core settings
    • Traffic shaping
    • Securing downloads
    • Streaming content

    6. Access logging and user tracking

    • Access logging
    • Tracking users

    7. SSL

    • Fundamentals of SSL
    • Self-signed certificates (for test) versus “real” certificates from a CA
    • Configuring lighttpd to use SSL
    • Configuring lighttpd to require SSL for access to a given resource

    8. Securing lighttpd

    • Barriers to entry
    • Evading denial of service attacks
    • RRDtool
    • Grepping the logs for signs of attack

    9. Containing lighttpd

    • Giving up privileges
    • Changing root

    10. Optimizing lighttpd

    • Installing http_load
    • Caching with mod_magnet (your preferred OS must support the Lua language)
    • Measuring system load
    • Profiling with gprof

    11. Migration from Apache

    • Adding lighttpd to the mix
    • mod_proxy
    • Reducing Apache load
    • mod_perl, mod_php, and mod_python
    • .htaccess
    • Rewriting rules

    12.CGI revisited (we typically cover just selected sections of this)

    • Integration with Ruby on Rails
    • Installing apps of your choice (WordPress, phpMyAdmin, MediaWiki, etc.)

    13.Using Lua with lighttpd (if desired)

    • Lua primer
    • Useful Lua libraries
    • Lua with FastCGI
    • Running mod_magnet


    Write a Review

    Your email address will not be published. Required fields are marked *

    Course Reviews


    • 5 stars0
    • 4 stars0
    • 3 stars0
    • 2 stars0
    • 1 stars0

    No Reviews found for this course.

    • 1 month, 1 week
    Contact Us

    +1 475-212-0075

    Drop us a query

      Your Details

      * Required

      Job Support

        Your Details

        * Required

        Course Features

        Live Instructor-led Classes

        This isn't canned learning. Its dynamic, its interactive, its effective

        Expert Educators

        Only the best or they're out. We are constantly evaluating our trainers

        24&7 Support

        We never sleep. Need something answered at 3 am? No Problem

        Flexible Schedule

        You don't learn as per our calendar. We work according to yours.

        Customized Training's

        The most part self-managed and adaptable to suit a person's particular adapting technology needs

        Priority Based Training's

        Real-time Scenario based Assignments and Case Studies