1# 2# FCKeditor - The text editor for Internet - http://www.fckeditor.net 3# Copyright (C) 2003-2007 Frederico Caldeira Knabben 4# 5# == BEGIN LICENSE == 6# 7# Licensed under the terms of any of the following licenses at your 8# choice: 9# 10# - GNU General Public License Version 2 or later (the "GPL") 11# http://www.gnu.org/licenses/gpl.html 12# 13# - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14# http://www.gnu.org/licenses/lgpl.html 15# 16# - Mozilla Public License Version 1.1 or later (the "MPL") 17# http://www.mozilla.org/MPL/MPL-1.1.html 18# 19# == END LICENSE == 20# 21# ----------------------------------------------------------------------------- 22# 23# On some specific Linux installations you could face problems with Firefox. 24# It could give you errors when loading the editor saying that some illegal 25# characters were found (three strange chars in the beginning of the file). 26# This could happen if you map the .js or .css files to PHP, for example. 27# 28# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. 29# All FCKeditor files are Unicode encoded. 30# 31# Just rename this file to ".htaccess" and leave it in the editor directory. 32# There are no security issues on doing it. It just sets the ".js" and ".css" 33# files to their correct content types. 34# 35 36AddType application/x-javascript .js 37AddType text/css .css 38 39# 40# If PHP is mapped to handle XML files, you could have some issues. The 41# following will disable it. 42# 43 44AddType text/xml .xml 45