服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. .htaccess 重写
  3. 如何将请求redirect到我的url到somefile.php而不是index.php
Intereting Posts
新节点configuration中缺less“通过Java Web Start启动从属代理”选项,如何将它添加到选项菜单? configurationLXC使用特定的DNS服务器而不是DNSMASQ 检查并运行jar的脚本有时运行两次。 连接两台Cisco 2960交换机 在基于SmartOS(OpenSolaris)的ZFS服务器上从Linux客户端设置配额 远程文件系统(nfs ssfhs)如何处理远程到远程的拷贝? Comodo Antivirus – 商业用免费杀毒软件 Critix XenServer – VM Netbeans mySQL连接错误 我怎样才能为一台机器添加多个私有IP地址? Microsoft Exchange Server 2003 – 奇怪的IMAP文件夹行为 PermerrortestingGoogle Apps和MailChimp的多个SPFlogging 在服务器2008R2上启用BITS上传的问题(eTrust也许?) 用于服务器后端LAN的PPTPnetworking? 将Exchange收件箱子文件夹同步到Blackberry

如何将请求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