zoukankan      html  css  js  c++  java
  • limesurvey设置短调查问卷url

    If you want to use fancy URLs and so not have /index.php in every URL please edit /application/config/config.php and change

    '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;
        }
    }
    

      

  • 相关阅读:
    go语言学习笔记四(函数、包和错误处理)
    objection内存漫游实战
    脱壳工具FRIDA-DEXDump
    jsdom 用法技巧
    关于adb安装指定版本
    ob混淆
    js原型链hook
    js逆向核心:扣代码2
    ssl_logger捕获得物app双向验证数据
    js逆向核心:扣代码
  • 原文地址:https://www.cnblogs.com/yimiyan/p/4838579.html
Copyright © 2011-2022 走看看