Help - Search - Members - Calendar
Full Version: 406 Error Not Acceptable
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
dragonfey57
I am trying, unsuccessfully, to edit the 3 column template module on my set up. I keep getting this:

Not Acceptable

An appropriate representation of the requested resource /cgi-bin/mt/mt.cgi could not be found on this server.

I haven't a clue as to whether it is a problem with MT, or the server. I have already successfully changed the banner image, and added/deleted entries.

Any suggestions? I even tried editing the bootstrap as suggested for the config file and that really messed it up so I removed that to get back to this problem. tongue.gif
justinmc
Do you have an .htaccess file in your movabletype directory? Try adding this code:

CODE
<FilesMatch "(mt.cgi)">
SecFilterEngine Off
</FilesMatch>


That should should shut off your web hosts security restrictions for that particular file and allow you to make the change. It sounds like something you're trying to change or add to the file is blacklisted by your host. If you're not comfortable with changing .htaccess, you'll need to talk to your host.
dragonfey57
QUOTE (justinmc @ Mar 26 2008, 08:32 AM) *
That should should shut off your web hosts security restrictions for that particular file and allow you to make the change. It sounds like something you're trying to change or add to the file is blacklisted by your host. If you're not comfortable with changing .htaccess, you'll need to talk to your host.


lol I added that now I am getting a 500 error. Plus I am on a mac so those files are so much fun to create. I think I may start over and see what happens. Thanks
justinmc
Talk to your host about their mod_security settings... and have them take a look at the .htaccess file you created. If you don't do it exactly right, and put it in the exact right place -- you'll get that 500 error.

Aside from that, mod_security is likely what's giving you the problem, but I could be wrong.
dragonfey57
I think I am too tired. I redid it and created a new .htaccess file and it solved the problem. Thanks so much!!
justinmc
Glad it's working!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.