Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
limesurvey
limesurvey-apache2.conf
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File limesurvey-apache2.conf of Package limesurvey
# # Configuration file for limesurvey # touched last time for version 2.50 # <IfDefine LIMESURVEY> UseCanonicalName On Alias /limesurvey __LIMEDIR__ <Directory __LIMEDIR__> Options FollowSymLinks AllowOverride None <IfModule mod_authz_core.c> # Apache 2.4 <RequireAll> Require all granted </RequireAll> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order allow,deny Allow from all </IfModule> <Files ~ .(inc.php|tpl)> AcceptPathInfo On <IfModule mod_authz_core.c> # Apache 2.4 <RequireAll> Require all denied </RequireAll> </IfModule> <IfModule !mod_authz_core.c> Order allow,deny Deny from all </IfModule> </Files> </IfModule> <IfModule mod_php7.c> AcceptPathInfo on LimitRequestBody 0 php_admin_flag file_uploads on php_admin_value open_basedir "__LIMEDIR__:__LIMECONFDIR__:/tmp:/usr/bin:/var/cache/limesurvey:/run/limesurvey_sessions" </IfModule> <IfModule mod_cgi.c> Options -ExecCGI </IfModule> <IfModule mod_rewrite.c> RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f # otherwise forward it to index.php RewriteRule . index.php </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php index.html index.htm </IfModule> </Directory> <Directory "__LIMEDIR__/third_party/kcfinder/upload"> <IfModule mod_php7.c> php_flag engine Off </IfModule> <IfModule mod_cgi.c> Options -ExecCGI </IfModule> RemoveHandler .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc RemoveType .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc SetHandler None SetHandler default-handler # Remove both lines below if you want to render HTML files from the upload folder AddType text/plain .html AddType text/plain .htm </Directory> <DirectoryMatch "__LIMEDIR__/(third_party/|framework/|application/)"> <IfModule mod_authz_core.c> # Apache 2.4 Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </DirectoryMatch> </IfDefine>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor