服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx
  3. Nginx重写/path?参数/longer/path.html?params
Intereting Posts
如何理解/ etc / mtab? 如何隐藏现有的Windows服务器共享 自动专用access_log每个客户端使用ip命名 一个驱动器的Linux mdadm RAID5数据恢复失败,一个驱动器失败 查找IP地址是静态的还是dynamic的? Windows Server 2008 TS上的临时用户configuration文件 如何禁用SMB打印支持? OpsWorks需要sshd_config中的PermitRootLogin? 什么是最好的文件服务器设置? 不能使用亚马逊VPC子网中的Box连接到站点到站点VPN隧道的另一端 用于kvm虚拟化的共享存储解决scheme? (主页设置) 'arp授权'替代 VMWare ESXI 6.5 VM无法使用第二个硬盘启动 PCAPstream量帧长度短 Sql Server巨大的表没有行

Nginx重写/path?参数/longer/path.html?params

简单的一个 – 但我宁愿使用位置+重写与如果+重写(如果是邪恶的,正确的?)

旧url:/ app?key = 1234

新的url:/system/app.html?key=1234

试着

  • nginx + munin“内部redirect周期”
  • Apache2:重写规则行为奇怪
  • 我应该使用什么redirect规则来replace这个301redirect,在Apache?
  • 使用Apache2服务器从URL中删除string
  • apache重写> nginx重写
location /app { rewrite ^/app$ /system/app.html break; } 

只有404 …

  • apache,httaccess:写一条规则,使xxxxx.txt的意思是“返回xxxxx.php的源代码”
  • IIS7:rewriteMap相当于完全匹配规则
  • IIS 7.5中的URL重写不起作用
  • (可能)简单的mod_rewrite – 重新映射我的网站的url
  • Nginx的重写规则问题,以消除URL的结束

尝试这个

 location /app { rewrite ^/app(.*)$ /system/app.html$1 permanent; } 
  • 使用IIS 7.5 URL重写,如何将所有的请求不是从一个特定的子域redirect到一个特定的页面?
  • 重写https的规则,仅用于使用htaccesslogin
  • Nginx的具体重写规则查询
  • 重写条件目标通过:清漆1.1
  • nginx重写竹发票的规则
  • .htaccess重写问题
  • 使用Nginx限制对MVC应用程序的一个控制器的访问
  • 子域重写规则在Apache(从Nginx转换)
  • htaccess重写子域并请求uri
  • Apache Proxy和Rewrite,将目录追加到URL

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy