Hello,
This line in the htaccess displays an error for static files because they're routed to Trongate.
RewriteRule (.*) public/$1 [L]
I added the lines below but static files are still routed to Trongate.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
Mod-rewrite, static files error
3 years ago
3 years ago
#1
3 years ago
#2
Hi Andrew,
You don't make things easy to help you solve this with the minimum amount of information given, however - this may help.
Modify your apps root '.htaccess' file to enable static files to display:
now adding this to your URL should display the static license.txt file
Be cautious though, as this may open up security flaws that will allow unwanted things to happen...
Cheers,
Si
You don't make things easy to help you solve this with the minimum amount of information given, however - this may help.
Modify your apps root '.htaccess' file to enable static files to display:
now adding this to your URL should display the static license.txt file
Be cautious though, as this may open up security flaws that will allow unwanted things to happen...
Cheers,
Si
3 years ago
#3
Superb! This works great! Thanks a lot!