limesurvey设置短调查问卷url
2015-09-25 16:16
148 查看
If you want to use fancy URLs and so not have /index.php in every URL please edit /application/config/config.php and change
to
For this to work properly you must use an Apache webserver with a properly installed mod_rewrite module.
If you are using the Nginx http server (with php running via FastCGI) and want to use the 'urlFormat' => 'path' setting, consider the following Nginx site configuration:
'showScriptName' => true,
to
'showScriptName' => false,
For this to work properly you must use an Apache webserver with a properly installed mod_rewrite module.
If you are using the Nginx http server (with php running via FastCGI) and want to use the 'urlFormat' => 'path' setting, consider the following Nginx site configuration:
server { set $host_path "/PATH/TO/LIMESURVEY"; server_name YOUR.SERVER.FQDN; root /PATH/TO/LIMESURVEY; charset utf-8; try_files $uri /index.php?$args; location ~ ^/(protected|framework|themes/\w+/views) { deny all; } #avoid processing of calls to unexisting static files by yii location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ { try_files $uri =404; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(.*)$; try_files $uri index.php; fastcgi_pass 127.0.0.1:9000; # Change this to match your settings fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } }
相关文章推荐
- Maven 使用介绍
- 抽象类与接口的区别
- extjs 表格可复制
- RESTful和JAX-RS
- jquery的html,text,val
- Oracle 树操作(select…start with…connect by…prior)
- Mysql在大型网站的应用架构演变
- Swift - 高级运算符介绍
- git开源项目协作
- ThinkPHP在Cli模式下使用模板引擎的方法
- QQ 互联的一些帖子
- Swift - 类型嵌套(以扑克牌结构体为例)
- js 与或运算符 || && 妙用
- vsftpd基于本地用户和mysql认证配置
- knockoutJS学习笔记09:使用mapping插件
- 组合数取余模板
- iOS Programming GitHub
- Integer to English Words
- Light oj 1140 - How Many Zeroes?(数位dp)
- 支付宝sdk集成,报系统繁忙 请稍后再试(ALI64)