I have a form with method="POST"
<form id="home-searchform" method="POST" action="test_list/">{% csrf_token %}
and i'm running apache2 with mod_wsgi for my django application
When i try to submit a form, i get this error:
[22/Jul/2011 10:49:40] "POST /jobs/test_list/ HTTP/1.1" 405 0
which is the "Method not allowed" error. It's almost 2 hours i'm trying to fix that, this is the relevant part of the httpd.conf file:
#<Directory /var/www/>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>
all the limit directives are commented out, so they shouldn't apply, but still i get that error everytime i submit a form.
I actually suck (a lot) in server configurations, so i really need as much help i can get.
I tried to decomment only the ... block, but then apache won't restart... I hope i gave you all the info needed, otherwise just ask and i'll edit! Thanks again!
EDIT: i'm posting the full httpd.conf file here (on pastie.org) since i don't have any .htaccess nor othe config files