summarylogtreecommitdiffstats
path: root/httpd-airtime.conf
diff options
context:
space:
mode:
Diffstat (limited to 'httpd-airtime.conf')
-rw-r--r--httpd-airtime.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/httpd-airtime.conf b/httpd-airtime.conf
new file mode 100644
index 00000000000..9f959a45c26
--- /dev/null
+++ b/httpd-airtime.conf
@@ -0,0 +1,40 @@
+<VirtualHost *:80>
+ ServerAdmin foo@bar.org
+ DocumentRoot "/usr/share/airtime/airtime_mvc/public"
+ php_admin_value upload_tmp_dir /tmp
+ php_value post_max_size 500M
+ php_value upload_max_filesize 500M
+ php_value request_order "GPC"
+ php_value session.gc_probability 0
+ php_value session.auto_start 0
+
+ AddOutputFilterByType DEFLATE text/plain
+ AddOutputFilterByType DEFLATE text/html
+ AddOutputFilterByType DEFLATE text/xml
+ AddOutputFilterByType DEFLATE text/css
+ AddOutputFilterByType DEFLATE application/xml
+ AddOutputFilterByType DEFLATE application/xhtml+xml
+ AddOutputFilterByType DEFLATE application/rss+xml
+ AddOutputFilterByType DEFLATE application/javascript
+ AddOutputFilterByType DEFLATE application/x-javascript
+ AddOutputFilterByType DEFLATE application/json
+
+ <Directory "/usr/share/airtime/airtime_mvc/public">
+ RewriteEngine On
+ RewriteCond %{REQUEST_FILENAME} -s [OR]
+ RewriteCond %{REQUEST_FILENAME} -l [OR]
+ RewriteCond %{REQUEST_FILENAME} -d
+ RewriteRule ^.*$ - [NC,L]
+ RewriteRule ^.*$ index.php [NC,L]
+
+ DirectoryIndex index.php
+ AllowOverride all
+ <IfVersion < 2.4>
+ Order allow,deny
+ Allow from all
+ </IfVersion>
+ <IfVersion >= 2.4>
+ Require all granted
+ </IfVersion>
+ </Directory>
+</VirtualHost>