服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. .htaccess 重写
  3. 如何将请求redirect到我的url到somefile.php而不是index.php
Intereting Posts
Linux系统何时/何时更改控制台显示模式? MySQL InnoDB – innodb_file_per_table缺点 试图在Windows 2008服务器R2上安装SQL 2008 Apache2幻像日志条目 限制phpmyadmin locahost不起作用 降低优先级。 好看不是要削减它 SonicWall TZ 180后面的多个子网 找出最多的I / O加载的目录 systemd:如何在不使用CentOS 7切换到root的情况下查看journalctl的日志? 移动网站时更改DNSlogging 如何在IPv4networking中使用IPv6边缘路由器? 在Xen上的Debian / Nginx / PHP5-FPM。 这是正确的select吗? SSO解决scheme和集中用户pipe理约10-30 Ubuntu机器? 将打印文档保留在Windows Server 2008 R2打印服务器上 Windows Server 2008 R2 – RDSH – 三星通用打印驱动程序的registry膨胀

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