htaccess 将所有请求重定向到某个URL地址的规则htaccess 将所有请求重定向到某个URL地址的规则htaccess 将所有请求重定向到某个URL地址的规则htaccess 将所有请求重定向到某个URL地址的规则
  • 首页
  • 博客
  • 文件
  • 书签
  • 分析
  • 登录
Search
Generic filters

htaccess 将所有请求重定向到某个URL地址的规则

Published by admin at 2022年3月1日
Categories
  • Linux
Tags
代码如下:

RewriteEngine On
RewriteCond %{REQUEST_URI} !=/tempIndex.html
RewriteRule ^ /tempIndex.html [R=301]

发表回复 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Categories

  • 猫
  • Python
  • MySQL
  • Django
  • Html/CSS
  • JavaScript
  • Vue
  • RegExp
  • php
  • Practice
  • Virtualization
  • Linux
  • Windows
  • Android
  • NAS
  • Software
  • Hardware
  • Network
  • Router
  • Office
  • WordPress
  • SEO
  • English
  • Games
  • Recipes
  • living
  • Memorandum
  • Essays
  • 未分类

归档

©2015-2022 Alaica Blog support@alaica.com