summarylogtreecommitdiffstats
path: root/apache.conf
diff options
context:
space:
mode:
authorPedro Junior2018-08-27 23:49:32 -0300
committerPedro Junior2018-08-27 23:49:32 -0300
commitf4ff53a4908aac5e771f11523eb74eb593aea649 (patch)
treea9c448c0df3502097c13aca71d3bf499f98c1519 /apache.conf
downloadaur-f4ff53a4908aac5e771f11523eb74eb593aea649.tar.gz
Initial commit
Signed-off-by: Pedro Junior <vjuniorv@gmail.com>
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..dd5acf40b589
--- /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> \ No newline at end of file