Sample Apache 2.4 configuration file for Infra Track Web portal v. 1.0.0 HTTP
Make sure you replace all information to match your subdomain, domain, directory path and log file location according to your installation
This script is provided only as a sample!
<VirtualHost *:80>
ServerAdmin noc@domain.tld
ServerName infratrack.domain.tld
ServerAlias infratrack.domain.tld infratrack
DocumentRoot /srv/infratrack_www/
ErrorLog /var/log/apache2/infratrack_http_error.log
CustomLog /var/log/apache2/infratrack_http_access.log combined
DirectoryIndex index.html index.htm index.php default.html default.htm default.php index.shtml
<Directory /srv/infratrack_www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Order deny,allow
Allow from all
</Directory>
AccessFileName .htacces
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.inf$">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.ini$">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.hta$">
Order allow,deny
Deny from all
</Files>
</VirtualHost>