Community Documentation

"Method POST is not allowed for the URL /index.htm" error (Error 405)

Last updated December 18, 2007. Created by LeeHunter on June 25, 2003.
Edited by Heine, kkaefer, sepeck, ax. Log in to edit this page.

Your Drupal directory contains both an index.html and index.php file. Remove the index.html file or configure your web server to look for index.php first before index.html. The same goes for basically any html file in your Drupal directory. If you have for example "node.html" in your root, you get the error message for every form that is submitted to node/*.

About this page

Drupal version
Drupal 4.6.x, Drupal 4.7.x, Drupal 5.x

Reference

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.