Page 1 of 1
htaccess
Posted: Fri Jul 30, 2021 1:40 pm
by Barrowboy
On version 2.2.15
Is the htaccess file required on normal new install and if so what are the basic setting,
Thanks
Re: htaccess
Posted: Sat Jul 31, 2021 9:12 am
by Rolf
I would recommend to use at least the default cmsms htaccess file as you can find in the /docs/ folder
htaccess.txt, rename it in the server root.
It has some general security lines in it and you can use it to create pretty url's.
Re: htaccess
Posted: Sat Jul 31, 2021 10:21 am
by Barrowboy
Hi
I have added the htaccess.txt and changed to .htaccess
But when using TinyMce to add image from filemanager it gives error url no found.
Which bit of the code would correct this? or do I need to add something.
Thanks
Re: htaccess
Posted: Sun Aug 01, 2021 3:20 pm
by DIGI3
The answer to that is in the TinyMCE help:
Important: if you're using URL Rewriting, you must update your .htaccess file and replace:
RedirectMatch 403 ^.*/modules/(.*)\.php$ with:
RedirectMatch 403 ^.*/modules/(?!TinyMCE/responsive_filemanager/filemanager/).*\.php$
... in order to make the Responsive File Manager work - If you already did some changes on that line, please update the rule accordingly
Re: htaccess
Posted: Sun Aug 01, 2021 4:53 pm
by Barrowboy
Ok Thanks
All working now.