Files
bpfire/config/httpd/vhosts.d/captive.conf
Alexander Marx 8b92078917 Captive-Portal: add web-part
Introduce new Captive-Portal.
Here we add the menu, apache configuration (vhost), IPFire configuration
website and Captive-Portal Access site. Also the languagefiles are
updated.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
2017-09-22 18:54:03 +01:00

30 lines
796 B
Plaintext

Listen 1013
<VirtualHost *:1013>
DocumentRoot /srv/web/ipfire/html/captive
ServerAdmin alexander.marx@oab.de
ErrorLog /var/log/httpd/captive/error_log
TransferLog /var/log/httpd/captive/access_log
<Directory /srv/web/ipfire/html/captive>
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /srv/web/ipfire/cgi-bin/captive/
Alias /assets/ /srv/web/ipfire/html/captive/assets/
ScriptAlias /favicon.ico /srv/web/ipfire/html/captive/assets/favicon.ico
# All unknown URIs will be redirected to the first
# redirector script.
ScriptAliasMatch .* /srv/web/ipfire/html/captive/index.cgi
<Directory /srv/web/ipfire/cgi-bin/captive>
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>