Solved

problem in redirection on the server

Posted on 2009-05-19
10
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 

Author Comment

by:designersx
ID: 24421796
snapshot
3.bmp
0
 
LVL 11

Expert Comment

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

Expert Comment

by:BrianMM
ID: 24421866
are you using IIS?
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:designersx
ID: 24421867
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
ID: 24421882
yes iis server
0
 
LVL 11

Accepted Solution

by:
BrianMM earned 150 total points
ID: 24421902
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
ID: 24421983
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
ID: 24422148
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
ID: 24422321
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
ID: 24422436
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP URL Parameter to simple URL for single folder 16 48
Loading Self-Hosted Fonts 12 43
What is key combo for a b with a forward slash through it? 12 62
php time 12 24
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to dynamically set the form action using jQuery.

734 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