This website requires JavaScript.
Explore
Help
Register
Sign in
mirrors
/
shlink-web-client
Watch
1
Star
0
Fork
You've already forked shlink-web-client
0
mirror of
https://github.com/shlinkio/shlink-web-client.git
synced
2024-12-31 21:38:19 +03:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
72e71aff40
shlink-web-client
/
public
/
.htaccess
4 lines
90 B
ApacheConf
Raw
Normal View
History
Unescape
Escape
Add htaccess to redirect if not found to index If (file not found or directory not found) then > redirect to index.html
2020-01-30 20:51:38 +03:00
RewriteEngine
on
RewriteCond
%{REQUEST_FILENAME} !-f
Updated htaccess to meet required functions. If a file gets called it will be redirected to index.html But not if it the requested File does contain a dot (and with this does have a file extension. If you call: links.domain.de/notexistingfile.jpg It will trigger 404 If you call: links.domain.de/server/[CODE-CODE-CODE]/list-short-urls/1 It will redirect the call to index.html
2020-01-30 21:06:50 +03:00
RewriteRule
/[^/.]+$
/index.html
[L]
Reference in a new issue
Copy permalink