Skip to content

A simple Docker container for testing CGI scripts with Apache HTTP Server

Notifications You must be signed in to change notification settings

dGilli/httpd-cgi-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache CGI Scripts Testing Container

A simple Docker container for testing CGI scripts with Apache HTTP Server.

Quick Start

Build the image:

docker build -t httpd-cgi .

Run the container:

docker run --rm -it -p 8080:80 httpd-cgi

The server will be available at http://localhost:8080

What's Included

  • Apache 2 with CGI module enabled
  • Support for CGI scripts in /var/www/cgi-bin/
  • Default document root at /var/www/html/

Development

Place your:

  • CGI scripts in www/cgi-bin/
  • HTML files in www/html/

About

A simple Docker container for testing CGI scripts with Apache HTTP Server

Topics

Resources

Stars

Watchers

Forks