htaccess

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

htaccess

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: htaccess

Post 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.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

Re: htaccess

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1619
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: htaccess

Post 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
Not getting the answer you need? CMSMS support options
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

Re: htaccess

Post by Barrowboy »

Ok Thanks

All working now.
Post Reply

Return to “CMSMS Core”