Apache > HTTP Server > Documentation > Version 2.0 > Modules

Please note

This document refers to the 2.0 version of Apache httpd, which is no longer maintained. Upgrade, and refer to the current version of httpd instead, documented at:

You may follow this link to go to the current version of this document.

Apache Module mod_echo

Available Languages:  en  |  ja  |  ko 

Description:A simple echo server to illustrate protocol modules
Module Identifier:echo_module
Source File:mod_echo.c
Compatibility:Available in Apache 2.0 and later


This module provides an example protocol module to illustrate the concept. It provides a simple echo server. Telnet to it and type stuff, and it will echo it.



ProtocolEcho Directive

Description:Turn the echo server on or off
Syntax:ProtocolEcho On|Off
Default:ProtocolEcho Off
Context:server config, virtual host
Compatibility:ProtocolEcho is only available in 2.0 and later.

The ProtocolEcho directive enables or disables the echo server.


ProtocolEcho On

Available Languages:  en  |  ja  |  ko