Access denied, file manager
Access denied, file manager
Hello, I have a problem.
I gave the user access to insert pictures into tinymce, when the user opens the file manager, he says "Access denied"
If you reset the cache, the problem disappears, then it appears again. What can be connected with?
I gave the user access to insert pictures into tinymce, when the user opens the file manager, he says "Access denied"
If you reset the cache, the problem disappears, then it appears again. What can be connected with?
Re: Access denied, file manager
It may be related this, from the help screen in TinyMCE:
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
Re: Access denied, file manager
It didn't help, the error remained
Re: Access denied, file manager
The only other likely thing to cause this would be mod_security. There's no way to test if it's installed, so if it's not an option to disable in your hosting control panel, you would need to check with your host.
I would also double-check .htaccess - or rename it temporarily to test.
I would also double-check .htaccess - or rename it temporarily to test.
Not getting the answer you need? CMSMS support options
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Access denied, file manager
Hey.
Did you find a solution for this problem.
I disabled mod-security but problems remain.
Only for TinyMCE.
Please help
Did you find a solution for this problem.
I disabled mod-security but problems remain.
Only for TinyMCE.
Please help
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Access denied, file manager
Have found resolution - maybe the default htaccess.txt which is shipped could be updated?
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$
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$
Re: Access denied, file manager
The TinyMCE module is not a part of the CMSMS core package, therefor these lines shouldn't be in the default htaccess.txt file...musicscore wrote: ↑Wed Jan 27, 2021 1:30 pmHave found resolution - maybe the default htaccess.txt which is shipped could be updated?
But in the help text of TinyMCE is this problem and solution described!
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Access denied, file manager
It was also in my first reply to your post.
Not getting the answer you need? CMSMS support options
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Access denied, file manager
Sorry DIGID3. Did not see your post before I answered.
Thank you for your answer and sorry again.
Musicsore
Thank you for your answer and sorry again.
Musicsore
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Access denied, file manager
The problem with TinyMCE is back again.
Access denied in file manager.
This is in my .htaccess
Please help.
Access denied in file manager.
This is in my .htaccess
Code: Select all
RedirectMatch 403 ^/.*\.htaccess$
RedirectMatch 403 ^/.*\.log$
RedirectMatch 403 ^/.*\.ini$
RedirectMatch 403 ^/.*config\.php$
RedirectMatch 403 ^.*/doc/.*$
RedirectMatch 403 ^.*/lib/.*\.php$
RedirectMatch 403 ^.*/tmp/.*\.php$
RedirectMatch 403 ^.*/modules/(?!TinyMCE/responsive_filemanager/filemanager/).*\.php$
RedirectMatch 403 ^.*/uploads/.*\.php$
RedirectMatch 403 ^.*/assets/.*\.php$
RedirectMatch 403 ^.*/assets/.*\.tpl$
-
- Power Poster
- Posts: 444
- Joined: Wed Jan 25, 2006 11:53 am
- Location: Netherlands
Re: Access denied, file manager
Soory, It IS working.
I edited the wrong .htacess (on my demo site).
I edited the wrong .htacess (on my demo site).