服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx redirect url
  3. NGINX – 删除URL末尾的index.php
Intereting Posts
NameServer SOAloggingconfiguration错误 我怎么知道Apache正在使用哪个configuration文件? 用多个分区挂载dd映像 无法使用stunnel连接到远程安全站点 如何更改邮件域服务器,使其不显示IP? 将[email protected]更改为[email protected] 从OpenSSH客户端抑制ssh横幅 solaris 10和windows共享 networking连接build立后重新连接Windowsnetworking驱动器 DOS命令创builddate文件 在不改变/etc/apt/sources.list的情况下select本地镜像? NSlogging在名称服务器驻留域 configurationAD-DS时,我打破了远程访问 安装vmware视图服务器pipe理器 IIS和SSL证书 是否有可能在思科ASA上执行基于DNS的ACL?

NGINX – 删除URL末尾的index.php

我可以通过“www.dom.com/mypage”访问我的网页,该网页将redirect到“www.dom.com/mypage/”。 “www.dom.com/mypage/index.php”是主要的文件,但我想从url中删除这个,所以如果你input这个文件,它会将你redirect到“www.dom.com/mypage/”。

所有链接显示正确的页面,但我想从URL中删除它。

  • NGINX:如何将HTTPstream量代理到一台服务器,并向另一台服务器提供stream量?
  • 在nginx反向代理背后的WordPress不工作在https
  • 请求与nginx,独angular兽和rails的超时问题
  • 无法加载文件或程序集fastcgi-mono-server4
  • nginx和SSLredirect

你需要类似的东西

location /index.php { rewrite ^/index\.php(.*)$ /mypage/$1 redirect; } 

你可能想看看重写和位置

  • Apache到Nginx的转换(新手)
  • nginx子目录到子域icingaweb2
  • 根据GET查询更改proxy_cache_valid值
  • nginx域使用SSL证书监听但不可访问
  • Nginxcaching没有更新
  • 2个具有相同视图和模板的网页的服务器响应时间不同?
  • 使用nginx服务登陆页面。 无法获得“/”的工作,而其他url工作正常
  • 基于全局variables在Nginx中设置server_name
  • Nginxconfigurationredirect到$ URI
  • 在没有目录/ artifactory的Nginx背后的Artifactory

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