Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a page with the following form:

<form name="form1" method="post" action="wrong_1.htm" target="_blank">
    <input type="submit" name="Submit" value="A. Public / Community View ">
</form>

When the form is submitted, a page with the correct URL is opened as expected, but a 404 results. Then when I place the cursor in the address bar and enter, the page appears.

This doesn't happen when the page is run locally, so I wonder if a server setting (url rewrite?) is getting in the way. I'm baffled.

The server is Microsoft-IIS/6.0

share|improve this question

closed as off topic by Greg Askew, mdpc, Ward, MadHatter, Khaled Jan 22 '13 at 7:50

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

There are two factors changing when you click in the URL bar and press enter:

  • You are submitting a GET request, not a POST request.
  • Your browser is not sending a Referer header.

Based on the information provided, it will be difficult to steer you in a more specific direction. Those are the directions I would suggest looking in to -- make sure whatever is handling that POST request isn't getting confused by one of those two items.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.