23 lines
526 B
Text
23 lines
526 B
Text
<Directory /var/rhizomatica/portal>
|
|
|
|
RewriteEngine on
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^.*$ http://<%= @wifi_ip %>/index.php [R]
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
<VirtualHost <%= @wifi_ip %>:81>
|
|
#ServerName www.example.com
|
|
ServerName <%= @wifi_ip %>
|
|
|
|
ServerAdmin webmaster@localhost
|
|
DocumentRoot /var/rhizomatica/portal
|
|
|
|
#LogLevel info ssl:warn
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/portal_error.log
|
|
CustomLog ${APACHE_LOG_DIR}/portal_access.log combined
|
|
|
|
</VirtualHost>
|