服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. .htaccess 重写
  3. 如何将请求redirect到我的url到somefile.php而不是index.php
Intereting Posts
VMWare 4.0 – 从Server2012R2 iSCSI目标添加LUN – 容量2TB,可用102.40GB? 在linux系统上加载高,但CPU空闲 基本身份validation不显示login框 了解Unix权限(带ACL) 戴尔PERC 6 / iconfigurationSAS / SATA 在Force10 S50N交换机的一个物理接口上是否可以放置一个标记的VLAN? Amavis + Postfix的configuration问题 推送路线被客户端忽略 当它使用端口80和443时如何阻止SKYPE? 如何在Ubuntu 9.04上升级django? 软页面错误的优化 keepalived不会启动 如何创buildVMware模板 dynamic全局主机名和nsupdate不会将更新发送到权威名称服务器 ZFS磨砂负荷平均值是非常高的

如何将请求redirect到我的url到somefile.php而不是index.php

如何将所有对www.mysite.com的请求redirect到www.mysite.com/index_main.php,然后将www.mysite.com/index_main.php重写为www.mysite.com

  • 在openshift上放置wordpress htaccess的地方
  • 拒绝与Ubuntu / Apache2上特定主机名的连接
  • Apache不让我进来,但它应该
  • Apache服务器中的.docx问题
  • 如何插入一个“index.php”到每个使用.htaccess的url?

使用Apache DirectoryIndex指令来指定哪个或哪些文件应被视为目录索引。

例:

DirectoryIndex index_main.php 
  • 帮助用.htaccess重写一个URL
  • 如何强制.htaccess授权发生在SSL?
  • 为什么不这个.htaccess文件工作?
  • 是否有可能使.htaccess连接到数据库
  • 如何使用htaccess&apache重写/页面到/ xx / page?
  • 如何将apache中的裸域redirect到www
  • 阻止Apacheconfiguration文件中的GoogleBot
  • 将子文件夹从httpredirect到https
  • 每天更改htaccess密码
  • 许多htaccess文件,相同的IP限制

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