zeegirl Posted August 29, 2007 Posted August 29, 2007 Hi all, I've installed Movable Type for a client onto their Total Choice hosting account and I'm trying to install include some simple javascript in the main index template. Is there something I need to install to make the javascript work in Movable Type? I haven't had any trouble with the same script outside of MT. This is the error I'm getting: 406 Not Acceptable An appropriate representation of the requested resource /mt/mt.cgi could not be found on this server. And, oddly, I just tried to post the script I was using and it gave me the exact same error... What do I need to do here? Grateful for any suggestions! Thanks, Lindsey Quote
TCH-Don Posted August 29, 2007 Posted August 29, 2007 Give this a try. Add to your .htaccess file ><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> Quote
zeegirl Posted August 29, 2007 Author Posted August 29, 2007 Give this a try.Add to your .htaccess file ><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> OK, this is probably a stupid question but where do I find the .htaccess file? Quote
TCH-Don Posted August 29, 2007 Posted August 29, 2007 Its in your public_html folder. You can use cpanel > file manager to edit the file or if using FTP, make sure you can see hidden files. Insert the code anywhere in the file. In the rare event you do not have one, create a text file named .htaccess I prefer to copy the file using FTP to my computer and edit it and then upload it back to my space. That way I have a quick backup. Quote
zeegirl Posted August 29, 2007 Author Posted August 29, 2007 Its in your public_html folder.Insert the code anywhere in the file. That worked like a charm. Thank you! ~Lindsey Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.