From 0ff59902db47ee05225426052354fb939b940d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20J=C3=A4ckle?= Date: Mon, 2 Aug 2021 11:46:24 +0200 Subject: [PATCH] Requirements in README --- README.md | 14 ++++++++++++++ apache2/detectportal.conf.sample | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5f175d..914fc14 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,20 @@ Firefox uses a detectportal to verify, if it's connected to the internet. With t Feel free to clone this repo, adapt the apache conifg file and host it! +## Requirements + + - You need an apache2 server with php. You can also use nginx, but I haven't made a config file. Feel free to create one and share it with us! + - Debian based: +`apt install apache2 php` + - Arch based: +`pacman -S apache2 php` + - The requestet FQDN must direct to this site. + - A ssl-connection musn't be taken. + + + +--- + ## Idea and source https://www.encrypted.at/firefox-captive-portal-url/ diff --git a/apache2/detectportal.conf.sample b/apache2/detectportal.conf.sample index 8400ad4..082b34b 100644 --- a/apache2/detectportal.conf.sample +++ b/apache2/detectportal.conf.sample @@ -1,7 +1,6 @@ - + DocumentRoot /var/www/detectportal/public ServerName detectportal.datamanager.ch - ServerAlias detectportal.jdmweb2.ch ServerAlias detectportal.* ErrorLog ${APACHE_LOG_DIR}/detectportal_error.log CustomLog ${APACHE_LOG_DIR}/detectportal_access.log combined