30 Zeilen
955 B
Plaintext
30 Zeilen
955 B
Plaintext
<VirtualHost *:80>
|
|
ServerName icinga.literm.local
|
|
|
|
ServerAdmin webmaster@literm.local
|
|
DocumentRoot /usr/share/icingaweb2/public
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
<Directory "/usr/share/icingaweb2/public">
|
|
Options SymLinksIfOwnerMatch
|
|
AllowOverride None
|
|
SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2"
|
|
EnableSendfile Off
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine on
|
|
RewriteBase /
|
|
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^.*$ - [NC,L]
|
|
RewriteRule ^.*$ index.php [NC,L]
|
|
</IfModule>
|
|
<IfModule !mod_rewrite.c>
|
|
DirectoryIndex error_norewrite.html
|
|
ErrorDocument 404 /error_norewrite.html
|
|
</IfModule>
|
|
</Directory>
|
|
</VirtualHost>
|