|
@@ -12,18 +12,34 @@ AddDefaultCharset UTF-8
|
|
|
RewriteEngine On
|
|
|
#RewriteBase /
|
|
|
|
|
|
- RewriteRule ^favicon\.ico$ public/favicon.ico [L]
|
|
|
- RewriteRule ^robots\.txt$ public/robots.txt [L]
|
|
|
+ <IfModule !litespeed>
|
|
|
+ RewriteRule ^favicon\.ico$ public/favicon.ico [L]
|
|
|
+ RewriteRule ^robots\.txt$ public/robots.txt [L]
|
|
|
|
|
|
- RewriteRule !^public/ index.php [L]
|
|
|
+ RewriteRule !^public/ index.php [L]
|
|
|
|
|
|
- RewriteCond %{REQUEST_URI} \.v\.[0-9]
|
|
|
- RewriteRule ^(.+)\.v\.[0-9]+\.([^.\\/]++)$ $1.$2 [L]
|
|
|
+ RewriteCond %{REQUEST_URI} \.v\.[0-9]
|
|
|
+ RewriteRule ^(.+)\.v\.[0-9]+\.([^.\\/]++)$ $1.$2 [L]
|
|
|
|
|
|
- RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
- RewriteRule ^public/ index.php [L]
|
|
|
+ RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
+ RewriteRule ^public/ index.php [L]
|
|
|
|
|
|
- RewriteRule \.dist\. index.php [L]
|
|
|
+ RewriteRule \.dist\. index.php [L]
|
|
|
+ </IfModule>
|
|
|
+ <IfModule litespeed>
|
|
|
+ RewriteRule ^favicon\.ico$ public/favicon.ico
|
|
|
+ RewriteRule ^robots\.txt$ public/robots.txt
|
|
|
+
|
|
|
+ RewriteRule !^public/ index.php [L]
|
|
|
+
|
|
|
+ RewriteCond %{REQUEST_URI} \.v\.[0-9]
|
|
|
+ RewriteRule ^(.+)\.v\.[0-9]+\.([^.\\/]++)$ $1.$2
|
|
|
+
|
|
|
+ RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
+ RewriteRule ^public/ index.php
|
|
|
+
|
|
|
+ RewriteRule \.dist\. index.php
|
|
|
+ </IfModule>
|
|
|
</IfModule>
|
|
|
|
|
|
# Set Cache-Control header for caching statics
|