mirror of
https://gitlab.vegova.si/rkv/prosojnice.git
synced 2025-05-15 16:20:31 +00:00
12 lines
429 B
ApacheConf
12 lines
429 B
ApacheConf
RewriteEngine On
|
|
# set the base URL prefix
|
|
RewriteBase /
|
|
# for requests for index.html, just respond with the file
|
|
RewriteRule ^index.html$ - [L]
|
|
# if requested path is not a valid filename, continue rewrite
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
# if requested path is not a valid directory, continue rewrite
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
# if you have continue to here, respond with index.html
|
|
RewriteRule . /index.html [L]
|