Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default .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

    # but now allow just *certain* necessary files:
    <FilesMatch ".*\.(js|css|jpg|gif|png|html)$">
    Order Allow,Deny
    Allow from all
    </FilesMatch>
    to this

    # 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

  2. #2
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default 1.3.9A Breaks FCKEditor?

    I am currently getting a 403 error when accessing product page on the admin side using fckeditor 2.6.4.1. This issue started after upgrading to 1.3.9a.

    I am sure it has something to do with the .htaccess that was uploaded to the editor folder from 1.3.9a (this is a new file). If I delete the .htaccess file from the editor folder then everything works fine with regards to fckeditor.

    I looked inside the new .htaccess file and there instruction of what to include in httpd.conf file. This file is generated by the server and I am not sure if the lines below are correct or not. Can you some please help me troubleshoot this issue. I'd prefer to be able to us fckeditor.

    Code:
    <Directory "/">
        Options ExecCGI FollowSymLinks Includes IncludesNOEXEC -Indexes -MultiViews SymLinksIfOwnerMatch
        AllowOverride All
    </Directory>
    
    <Directory "/usr/local/apache/htdocs">
        Options Includes Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    
    </Directory>
    The above is the section from current httpd.conf file.

    Thanks!

  3. #3
    Join Date
    Jul 2005
    Posts
    31
    Plugin Contributions
    0

    Default 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)$">

  4. #4
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: 1.3.9A Breaks FCKEditor?

    Thank you! You're a genius! That solved my problem.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139h redirect pages using .htaccess
    By shags38 in forum General Questions
    Replies: 1
    Last Post: 20 Mar 2014, 04:56 PM
  2. IIS XML error using FCKeditor
    By skorbay in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Dec 2010, 10:23 PM
  3. Experiences using FCKEditor?
    By beyerg in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Mar 2010, 03:53 PM
  4. Using .htaccess to block visitors
    By stbede77 in forum General Questions
    Replies: 1
    Last Post: 5 Oct 2006, 09:43 AM
  5. Replies: 7
    Last Post: 5 Sep 2006, 12:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR