mod_echo - Apache HTTP Server Version 2.2

Apache HTTP Server Version 2.2

Apache > HTTP Server > Documentation > Version 2.2 > Modules

#### Please note

This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.

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
Status: | Experimental
Module Identifier: | echo_module
Source File: | mod_echo.c
Compatibility: | Available in Apache 2.0 and later

### Summary

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.

### Directives

- Comments

## ProtocolEcho Directive

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

The `ProtocolEcho` directive enables or disables the echo server.

### Example

`ProtocolEcho On`

Available Languages: en | ja | ko

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.