summarylogtreecommitdiffstats
path: root/apache.example.conf
blob: 2e633020cdda1b0c2e357702f13fa29f601867d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# If you want to use a subpath instead of a subdomain, uncomment the
# lines bellow and remember to change the example configuration
# to meet your needs.

#<IfModule mod_alias.c>
#    Alias /limesurvey /usr/share/webapps/limesurvey/
#</IfModule>

<VirtualHost *:80>
    ServerAdmin foo@example.com
    DocumentRoot /usr/share/webapps/limesurvey
    ServerName limesurvey.example.com
    ErrorLog /var/log/httpd/limesurvey.example.info-error_log
    CustomLog /var/log/httpd/limesurvey.example.info-access_log common
</VirtualHost>

<Directory /usr/share/webapps/limesurvey/>
    Options FollowSymlinks
    AllowOverride all
    Require all granted
    php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/limesurvey/:/etc/webapps/limesurvey"
</Directory>