Sign inSign up

netlab/http1.0-apache

By netlab

•Updated almost 11 years ago

Apache2 webserver with forced HTTP1.0 communication. Useful for educational purpose.

Image
0

150

netlab/http1.0-apache repository overview

⁠Dockerfile

FROM ubuntu:14.04 MAINTAINER Netlab-HBRS [email protected]⁠

RUN apt-get update RUN apt-get -y install apache2 RUN echo '# HTTP-Version abhaengig vom Browser definieren' >> /etc/apache2/apache2.conf RUN echo 'BrowserMatch "Mozilla" downgrade-1.0 force-response-1.0' >> /etc/apache2/apache2.conf

ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

⁠Webbrowser

Use Firefox webbrowser to connect to the webserver, otherwise the webserver will response with HTTP1.1.

⁠Usage

docker run -t -d -p 80:80 --name http1.0 netlab/http1.0-apache:v1.0

Tag summary

Content type

Image

Digest

sha256:87c4efb11…

Size

97.9 MB

Last updated

almost 11 years ago

docker pull netlab/http1.0-apache:v1.0