<VirtualHost *:1013>
DocumentRoot /srv/web/ipfire/html/captive
- <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/
# All unknown URIs will be redirected to the first
# redirector script.
- ScriptAliasMatch .* /srv/web/ipfire/html/captive/index.cgi
+ ScriptAliasMatch .* /srv/web/ipfire/cgi-bin/captive/redirect.cgi
<Directory /srv/web/ipfire/cgi-bin/captive>
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
+
+ <Directory /srv/web/ipfire/html/captive>
+ Order allow,deny
+ Allow from all
+ </Directory>
</VirtualHost>
#srv/web/ipfire/cgi-bin/captive
srv/web/ipfire/cgi-bin/captive.cgi
srv/web/ipfire/cgi-bin/captive/index.cgi
+srv/web/ipfire/cgi-bin/captive/redirect.cgi
srv/web/ipfire/cgi-bin/chpasswd.cgi
srv/web/ipfire/cgi-bin/connections.cgi
srv/web/ipfire/cgi-bin/connscheduler.cgi
srv/web/ipfire/html/captive/assets/captive.css
srv/web/ipfire/html/captive/assets/favicon.ico
srv/web/ipfire/html/captive/assets/internet.png
-srv/web/ipfire/html/captive/index.cgi
srv/web/ipfire/html/clwarn.cgi
srv/web/ipfire/html/dial.cgi
srv/web/ipfire/html/favicon.ico
chown -R root:root /srv/web/ipfire
chmod -R 755 /srv/web/ipfire/cgi-bin
chmod -R 644 /srv/web/ipfire/html
- chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*,captive/index.cgi}
+ chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*}
chmod -R 777 /srv/web/ipfire/html/captive/logo
ln -svf ipfire /srv/web/ipfire/html/themes/ipfire-rounded