Skip to content

Apache configuration

Ycarus edited this page Dec 18, 2017 · 2 revisions

Apache configuration

mod_rewrite MUST be enabled: a2enmod rewrite on Debian/Ubuntu, rewrite APACHE2_MODULES flag on Gentoo.

Apache < 2.4

example :

DocumentRoot "/var/www/flightairmap/htdocs"
<Directory /var/www/flightairmap/htdocs>
    Options +Indexes +FollowSymLinks -MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

Apache > 2.4

example :

DocumentRoot "/var/www/flightairmap/htdocs"
<Directory /var/www/flightairmap/htdocs>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
Clone this wiki locally