Solved

problem in redirection on the server

Posted on 2009-05-19
10
214 Views
Last Modified: 2012-05-07
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
Comment
Question by:designersx
  • 6
  • 4
10 Comments
 

Author Comment

by:designersx
Comment Utility
snapshot
3.bmp
0
 
LVL 11

Expert Comment

by:BrianMM
Comment Utility
1st I get an HTTP Error 405 when i submit...
0
 
LVL 11

Expert Comment

by:BrianMM
Comment Utility
are you using IIS?
0
 

Author Comment

by:designersx
Comment Utility
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
 

Author Comment

by:designersx
Comment Utility
yes iis server
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 11

Accepted Solution

by:
BrianMM earned 150 total points
Comment Utility
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
 

Author Comment

by:designersx
Comment Utility
our control system is helm and it has write permissions. further this i don't know about execute permissions that u said.
0
 
LVL 11

Expert Comment

by:BrianMM
Comment Utility
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
 

Author Comment

by:designersx
Comment Utility
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
 

Author Comment

by:designersx
Comment Utility
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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now