Requirements in README
This commit is contained in:
parent
b0a16881b1
commit
0ff59902db
2 changed files with 15 additions and 2 deletions
14
README.md
14
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!
|
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
|
## Idea and source
|
||||||
|
|
||||||
https://www.encrypted.at/firefox-captive-portal-url/
|
https://www.encrypted.at/firefox-captive-portal-url/
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<VirtualHost 127.0.1.1:80>
|
<VirtualHost *:80>
|
||||||
DocumentRoot /var/www/detectportal/public
|
DocumentRoot /var/www/detectportal/public
|
||||||
ServerName detectportal.datamanager.ch
|
ServerName detectportal.datamanager.ch
|
||||||
ServerAlias detectportal.jdmweb2.ch
|
|
||||||
ServerAlias detectportal.*
|
ServerAlias detectportal.*
|
||||||
ErrorLog ${APACHE_LOG_DIR}/detectportal_error.log
|
ErrorLog ${APACHE_LOG_DIR}/detectportal_error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/detectportal_access.log combined
|
CustomLog ${APACHE_LOG_DIR}/detectportal_access.log combined
|
||||||
|
|
Loading…
Add table
Reference in a new issue