📜  htaccess 将反应应用程序部署到 cpanel - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:10.843000             🧑  作者: Mango

代码示例1


  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteRule . /index.html [L]