detectportal/apache2/detectportal.conf.sample

19 lines
599 B
Text

<VirtualHost *:80>
DocumentRoot /var/www/detectportal/public
ServerName detectportal.datamanager.ch
ServerAlias detectportal.*
ErrorLog ${APACHE_LOG_DIR}/detectportal_error.log
CustomLog ${APACHE_LOG_DIR}/detectportal_access.log combined
<Directory /var/www/detectportal/public>
DirectoryIndex success.txt
AllowOverride All
Require all granted
</Directory>
<Location />
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]
</Location>
</VirtualHost>