Hi All,
 
We make use of a javascript WYSIWYG editor called FCKeditor (which,
incidentally, is excellent and very feature rich). We noticed that we
were getting a lot of "404 Page Not Found" errors whenever the editor
attempted to load an .htc (HTML Components) file. On further
investigation, we found that we couldn't load *any* .htc files without a
404. The file reaches "On Web Connection" and "A4D Execute 4D request"
returns a status 200 before ultimately directing to our custom 404 page.
Changing the extension of the dummy .htc file to .html and changing the
URL accordingly loads the file correctly, so I'm positive that the path
is accurate. Also, loading the same file from an Apache server executed
correctly, as did loading the file from a strictly 4D server (not
running a4d).
 
This issue was remedied by adding the .htc extension to the "executable
extensions" parameter in the Active4D.ini file. But, I don't want to
have to do this :-)
 
The .ini docs under "EXECUTABLE FILENAME EXTENSIONS" say: "All other
files are considered static content and are served directly", so I
assume that there isn't a set list of "static types"? This seems to
happen with any sort of garbage filename extension (say, .htmp).  Is
this a security feature of sorts?
 
I've checked through to make sure that we're not doing some sort of
explicit filtering for strange file types, but the fact that adding the
file type to the Active4D.ini file cleared things up leads me to believe
not.
 
Has anyone else run up against this, or can anyone corroborate my story?
Hopefully, it's not just "a case of the Mondays" :-)
 
Thanks,
- Clayton
 
Clayton L. Donahue
The Healthcare Management Council, Inc.
[EMAIL PROTECTED]
(781) 449-5287 <http://www.hmccentral.com/> 
 
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to