服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx
  3. nginx url用stringreplace重写
Intereting Posts
简单的方法将默认的SQL Server实例别名为命名实例? 在CentOS 7 VPS中缺less防火墙D. Darwinstream媒体服务器入门 AuthResend查询string被附加到URL 在hyper-v上交换服务器2003 在cloud-init脚本中运行sudo命令 sudo与STAF的问题 SSL与authentication没有encryption 当UsePAM设置为“no”时,SSH公钥validation失败 我应该如何configurationterminal服务器场中的OST? Windows Server 2008 TS CAL许可 增加xen中guest虚拟硬盘的大小 如何在远程服务器上停止服务,该服务器没有连接到域,通过PowerShell使用非pipe理员用户 运行切诺基Web服务器pipe理员的问题 – config_reader.c:249 – parsing错误 将caching文件存储在/ tmp或/ home / USER / tmp中

nginx url用stringreplace重写

我需要赶上,如果我的url包含一个小的substr,保持原有的url,只重写那小部分,我怎么能做到这一点?

例如:

http://foobar.com/foo-bar-substrtocatch-baz 

应该成为

 http://foobar.com/foo-bar-changedsubstr-baz 

提前致谢…

  • IIS反向代理不能在ASP.NET中使用Response.Redirect()
  • Nginx:重写https://到http://
  • nginx重写正则expression式的API版本
  • Apache2 mod_rewrite + userdir
  • 一个RewriteCond多个RewriteRules

  • 使用IIS7作为反向代理
  • Nginx:从基本域重写到一个子目录
  • Nginx rewite规则403错误
  • nginxredirect到www.domain
  • 如何使用nginx将请求redirect到不同的域/ URL
 rewrite ^(.*)substrtocatch(.*)$ $1changedsubstr$2; 
  • Nginx的多重根
  • 我的应用程序closures时由nginx提供的静态错误页面
  • Tomcat的URL重写失败,404,但浏览直接返回200
  • Apache – 我应该使用“ProxyPass …”还是“RewriteRule … ”来代理请求?
  • 如何在htaccess中redirect很多redirect?
  • nginx用查询string重写URL
  • IIS7和URLRewrite与WordPress 3.1.1redirect失败
  • 如何设置URL重写到Heroku实例?
  • Nginx重写:位置指令中的PHP文件没有被提供
  • 在IIS 7中重写URL

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