zoukankan      html  css  js  c++  java
  • mediawiki 安装 部署 配置 使用学习

    学习资源:

    https://blog.csdn.net/gao36951/article/details/43965527

    http://blog.csdn.net/hualichenxi123/article/details/7709547

    https://blog.csdn.net/huoyunshen88/article/details/19083299

    https://www.cnblogs.com/bincoding/p/5225144.html

    linux上的wiki目录结构

    wiki.conf

    server
      {
        listen       80;
        server_name  wiki.talkvip.cn;
        index index.html index.htm index.php;
        root  /www/wiki/mediawiki-1.28.0;
    
        location ~ /.svn/ {
        deny all;
        }
    
        #rewrite ^/$ /?user=talkvip last;
    
        location / {
        rewrite ^/$ /index.php last;
        rewrite ^/(?!index.php|index.html|extensions|images|public|robots.txt)(.*)$ /index.php/$1 last;
        }
    
       location ~ .php {
                    fastcgi_pass 127.0.0.1:9002;
                    fastcgi_index index.php;
                    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                    include fastcgi_params;
        }
    
        location ~/uploads/.*.(php|php5)?$ {
            deny all;
        }
        location ~/public/.*.(php|php5)?$ {
            deny all;
        }
    
       location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$
        {
          expires      30d;
        }
    
        location ~ .*.(js|css)?$
       {
          expires      8d;
        }
    
    
            access_log  /www/logs/wiki.talkvip.cn.nginx.access.log  main;
    
      }
  • 相关阅读:
    APP测试-流量测试
    APP测试-流畅度测试
    APP测试-耗电分析
    工具安装-Homebrew
    工具安装-go for Mac
    APP测试-耗电量测试
    APP测试-CPU测试
    APP测试-内存测试
    APP测试-monkey
    APP测试-adb命令
  • 原文地址:https://www.cnblogs.com/djwhome/p/9599585.html
Copyright © 2011-2022 走看看