Requirements in README

This commit is contained in:
Beat Jäckle 2021-08-02 11:46:24 +02:00
parent b0a16881b1
commit 0ff59902db
2 changed files with 15 additions and 2 deletions

View file

@ -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/

View file

@ -1,7 +1,6 @@
<VirtualHost 127.0.1.1:80>
<VirtualHost *:80>
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