Jump to content
zeegirl

Issues Using Javascript And Movable Type?

Recommended Posts

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

Share this post


Link to post
Share on other sites

Give this a try.

Add to your .htaccess file

><IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Its in your public_html folder.

Insert the code anywhere in the file.

 

That worked like a charm. Thank you!

~Lindsey

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×