Fix
This commit is contained in:
parent
efdf814aab
commit
d1c127d7b7
|
@ -1,3 +1,4 @@
|
||||||
|
DocumentRoot /var/www/
|
||||||
|
|
||||||
<Directory "/var/www/fr">
|
<Directory "/var/www/fr">
|
||||||
Options -Indexes +FollowSymLinks
|
Options -Indexes +FollowSymLinks
|
||||||
|
@ -12,8 +13,8 @@
|
||||||
RewriteRule ^ - [L]
|
RewriteRule ^ - [L]
|
||||||
|
|
||||||
# If the requested resource doesn't exist, use index.html
|
# If the requested resource doesn't exist, use index.html
|
||||||
RewriteCond %{REQUEST_URI} "!=/index.html" [NC]
|
RewriteCond %{REQUEST_URI} "!=/fr/index.html" [NC]
|
||||||
RewriteRule ^ /index.html [L]
|
RewriteRule ^ /fr/index.html [L]
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,8 +32,8 @@
|
||||||
RewriteRule ^ - [L]
|
RewriteRule ^ - [L]
|
||||||
|
|
||||||
# If the requested resource doesn't exist, use index.html
|
# If the requested resource doesn't exist, use index.html
|
||||||
RewriteCond %{REQUEST_URI} "!=/index.html" [NC]
|
RewriteCond %{REQUEST_URI} "!=/en/index.html" [NC]
|
||||||
RewriteRule ^ /index.html [L]
|
RewriteRule ^ /en/index.html [L]
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user