Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

problem in redirection on the server

please check out he links.

http://designers-x.com/projects/projects/mailer/1.htm 

 there is a submit button on this page. on clicking it, page reaches to 2.html but with an error message but when we refresh the page , message is echoed. i am sending u the snapshot of my error.

http://designers-x.com/projects/projects/mailer/2.htm

1.htm
<form action="2.htm" method="post" name="form">
<input type="submit" value="submit" />
</form>
 
2.htm
hello

Open in new window

0
designersx
Asked:
designersx
  • 6
  • 4
1 Solution
 
designersxAuthor Commented:
snapshot
3.bmp
0
 
BrianMMCommented:
1st I get an HTTP Error 405 when i submit...
0
 
BrianMMCommented:
are you using IIS?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
designersxAuthor Commented:
yes, now go in the url and select the complete url and press enter and see, it will give the message.

why is it so?
0
 
designersxAuthor Commented:
yes iis server
0
 
BrianMMCommented:
405 occurs when you try to post to a URL which is not having execute permission, check by allowing all verbs, also give execute permission to "scripts" or"scripts and executables".

In IIS Manager. Right click your site and select properties. Select Home Directory. Click Configuration. Select your application extension - i.e. .HTML. Click Edit. In Verbs check and make a note of what is set in Limit to. For now set Verbs to All verbs and see if youe site works.
0
 
designersxAuthor Commented:
our control system is helm and it has write permissions. further this i don't know about execute permissions that u said.
0
 
BrianMMCommented:
never used helm... I'll see what i can find when i have a mo :(

In a nut-shall IIS is not allowing the submit to another page using php.

Oh... IIS is rubbish :) Use Apache :P...

Is this a sharded hosting server or dedicated box? You may need your hosting provider to change some IIS settings if they can for you...
0
 
designersxAuthor Commented:
sir what u said to do settings that i have done on my localhost, thanks to you that i got it how to make all verbs enabled on my localhost but all these settings i can't see on the server sir.
0
 
designersxAuthor Commented:
sir u said exactly right. this verb is the problem , i need to enable it on the server, i will tell this to my boss and then let u know. thanks sir for ur help. u r really great.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now