Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Re3: HTTP 405 when using POST requests

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS and Network Load Balancing  
Author Message
anonymous603

External


Since: Dec 04, 2003
Posts: 1



(Msg. 1) Posted: Thu Dec 04, 2003 11:19 am
Post subject: Re3: HTTP 405 when using POST requests
Archived from groups: microsoft>public>inetserver>iis (more info?)

POST requests are finally working. I've disabled write
access for all the web site's properties. I've also
checked MIME global settings. I found out I have .php
and .phtml files associated as text/html. After I removed
those associations, POST request would go through. Also,
I've set execute permissions to "Scripts only". HOWEVER,
there's still a problem: it's ok if I make a post request
to file index.php (for example, <form method="post"
action="/script/index.php">), but if I set the action
parameter to /scripts/, it will still give me HTTP 405
error. Isn't /scripts/ action should pull index.php file
by default? There IS index.php file in the list of Default
Documents. Thanks you for your help.

Dmitriy

 >> Stay informed about: Re3: HTTP 405 when using POST requests 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 2) Posted: Fri Dec 05, 2003 1:27 pm
Post subject: Re: HTTP 405 when using POST requests [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This is because
IIS take /scripts/ as static content and POST
to static content returns 405.

even when the scripts is default doc, it will still
return the error. you need to specify the full path
with target script name.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Dmitriy" <anonymous DeleteThis @discussions.microsoft.com> wrote in message
news:0b2101c3ba82$6ba18c50$a501280a@phx.gbl...
 > POST requests are finally working. I've disabled write
 > access for all the web site's properties. I've also
 > checked MIME global settings. I found out I have .php
 > and .phtml files associated as text/html. After I removed
 > those associations, POST request would go through. Also,
 > I've set execute permissions to "Scripts only". HOWEVER,
 > there's still a problem: it's ok if I make a post request
 > to file index.php (for example, <form method="post"
 > action="/script/index.php">), but if I set the action
 > parameter to /scripts/, it will still give me HTTP 405
 > error. Isn't /scripts/ action should pull index.php file
 > by default? There IS index.php file in the list of Default
 > Documents. Thanks you for your help.
 >
 > Dmitriy<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Re3: HTTP 405 when using POST requests 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTTP 405 when using POST requests - Hello, My server is: Windows 2000 Advanced, SP4 IIS 5 PHP 4.3.4 installed as an CGI extension I'm getting HTTP 405 "Resource not allowed" error when using a form with a "POST" method. "GET" method works well, ...

POST requests fail under stress - Im running some stress tests for my .net application. When I have more than one user trying to POST data back to the same page, the POST request fails. Is there any setting in IIS that could be causing the problem? Does any one of any tips for..

Log file: POST requests missing - In my log file only the GET requests are recorded. Any POST requests are ignored. It must be a very simple solution (on a second server that seems to be configured identically it works fine) but I don't find it. Thank you in advance for your hints. ..

POST requests arrive late to ISAPI - Hi, I have an ISAPI application running in IIS 5 and 6. For each POST request, HttpExtensionProc starts a worker thread, and returns HSE_STATUS_PENDING so it handle other requests. Sometimes a of the worker threads does a long and busy task that might....

ISAPI filter to post-process requests - We are trying to write an ISAPI filter to do post processing of requests. Here are the requirements of our filter: 1. It needs to hold (blocking) all information until it receives the entire request (headers, server variables, document body, post..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]