summarylogtreecommitdiffstats
path: root/apache.conf
diff options
context:
space:
mode:
authorkrant2016-11-16 12:11:36 +0200
committerkrant2016-11-16 12:11:36 +0200
commit8da2e38bf060e783fce009905b386b0dfa977e53 (patch)
tree0599aec73be5bd2fe3a0b601f0505a6ab3771c4b /apache.conf
downloadaur-8da2e38bf060e783fce009905b386b0dfa977e53.tar.gz
initial commit
Diffstat (limited to 'apache.conf')
-rw-r--r--apache.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/apache.conf b/apache.conf
new file mode 100644
index 000000000000..b516b5e66ffa
--- /dev/null
+++ b/apache.conf
@@ -0,0 +1,13 @@
+# Required modules: dir_module, php7_module
+
+<IfModule dir_module>
+ <IfModule php7_module>
+ DirectoryIndex index.php index.html
+ <FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+ </FilesMatch>
+ <FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+ </FilesMatch>
+ </IfModule>
+</IfModule>