服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 重写 nginx redirect url
  3. Nginx将urlredirect到html文件并追加空参数
Intereting Posts
无法从bash脚本更改chmod Nagios – NSClient ++无法运行包含的外部脚本 基于rpm的系统configurationpipe理 当nslookup用于内部服务器时,CentOS 7 BIND DNS SERVFAIL 活动目录,委派控制特定的类 如何通过CloudWatch获得可用磁盘空间量? 为什么nfs传输速度比http慢? Zabbix vfs.fs.size在文件系统未安装时会给出错误的结果 Exchange 2007上的垃圾邮件和防病毒软件? 删除文件时,本机ZFS不会释放空间 使用SQL注入自举Openstack实例? Linux:禁用wtmp / utmp,sshd ip logging和任何提及远程访问的ip Apache在WWW文件夹外写入权限 在Windows 2003服务器上增加C驱动器 戴尔T410内存升级 – 混音尺寸

Nginx将urlredirect到html文件并追加空参数

我需要将请求的urlredirect到文件系统上的html文件。 我已经知道这个答案了:

location /this/is/some/url { index file.html; alias /path/to/the/; } 

file.html在文件系统上的位置是/path/to/the/file.html 。

不过,我还需要在url /this/is/some/url的末尾追加一个空参数。 所以它应该看起来像这个/this/is/some/url?_escaped_fragment_= 。

我尝试了重写的各种示例,但没有帮助,因为我没有正确使用。

  • Apacheredirectwww到非www
  • 如果包含参数,Nginx会redirecturl
  • Nginx重写数字范围
  • 你用什么来支持与SharePoint不对称的path
  • 基于MIMEtypes的Apache重写

  • 删除尾部斜杠Lighttpd URL
  • Helicon ISAPI Rewrite正在处理httpd.conf的重写规则而不是.htaccess
  • 如何:Zend .htaccess Lighttpd转换
  • 在Dreamhost上重写URL
  • Nginx重写干净url的规则
  • .htaccess重写CSS请求的规则
  • 我怎样才能SetEnv基于预先重写的URI或重写后的查询参数?
  • Helicon ISAPI重写代理500内部服务器错误
  • 在Windows 7的IIS7中使用URL重写模块
  • URL重写和CSS等的相对地址
  • .htaccess重写规则问题
  • nginx +乘客上的多机架应用程序,一个作为根,另一个不是… config
  • Apache在重写时对URL进行编码
  • nginx文件夹redirect
  • 如何将所有请求redirect到根文件夹中的文件以指向另一个文件夹?

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