网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  nginx 重写 隐藏index.php

nginx 重写 隐藏index.php

分类: IT文章 • 2024-09-22 14:52:25
修改 nginx.conf 文件
location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }

相关推荐

  • 隐藏Nginx版本号!
  • nginx 隐藏版本信息
  • Ecstore Nginx Rewrite(去掉链接中的index.php) ECSTORE 伪静态
  • tony_nginx_02_URL重写 location正则写法 Rewrite规则
  • python传智播客笔记--第十天:隐藏属性,私有属性,私有方法,__del__方法,类的继承,类中方法的重写
  • linux下隐藏nginx版本及php版本信息
  • nginx服务器去掉url中的index.php 和 配置path_info
  • thinkphp5.0配置nginx重写规则
  • c++ --> 重载、重写(覆盖)和隐藏的区别
  • thinkphp6 thinkphp5.1 phpstudy隐藏index.php
  • 文件夹中的文件以目录的形式呈现
  • case when then用法
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号