.htaccess prevents using FCKeditor in 1.3.9a
Upgraded from 1.3.8a to 1.3.9a
Zen Cart 1.3.9a
Database Patch Level: 1.3.9a
HTTP Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Server OS: Linux 2.6.18-164.10.1.el5xen
PHP Version: 5.2.13 (Zend: 2.2.0)
Problem:
Unable to use FCKeditor in 1.3.9a, returns 403 Forbidden
Solution:
Edit STORE/editors/.htaccess from this
Quote:
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(js|css|jpg|gif|png|html)$">
Order Allow,Deny
Allow from all
</FilesMatch>
to this
Quote:
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(js|css|jpg|gif|png|xml|html)$">
Order Allow,Deny
Allow from all
</FilesMatch>
and editor becomes accessible and functional
In case this change creates a security issue an alternative solution should be found.
Frank
Re: 1.3.9A Breaks FCKEditor?
Try changing .htaccess inside the folder editors by adding |xml as shown:
Code:
# but now allow just *certain* necessary files:
<FilesMatch ".*\.(js|css|jpg|gif|png|html|xml)$">
Re: 1.3.9A Breaks FCKEditor?
Thank you! You're a genius! That solved my problem.
Re: 1.3.9A Breaks FCKEditor?
FYI: You may find that the more contemporary CKEditor is a more preferred choice: http://www.zen-cart.com/index.php?ma...oducts_id=1626
It also doesn't require any .htaccess edits to work.