Solved

HTTP 400 BAD REQUEST

Posted on 2007-03-30
3
388 Views
Last Modified: 2013-12-13
Hello experts,
today I made a stupid mistake !?

I wanted to increase the max. execution time in my php.ini located at C: WINDOWS
I copy pasted the file on my desktop and changes are done, I placed it back to C: WINDOWS , replacing the original file.
Now...since then I receive a HTTP 400 Error:
[Bad Request
Your browser sent a request that this server could not understand.
Client sent malformed Host header ]

I don't know if this is assosiated with this.....BUT URGENT !! MY SITE IS DOWN
running on Windows 2003 VPS /IIS6
PHP 4.3.2
Dimi
0
Comment
Question by:sh2gr
  • 2
3 Comments
 
LVL 12

Expert Comment

by:str_kani
ID: 18828837
I had this issues some times in my server IIS 6 windows 2003 dedicated. It's fine when i rebooted my server. try this. Good luck.
0
 
LVL 12

Accepted Solution

by:
str_kani earned 500 total points
ID: 18828840
Also do not increase the script time out in php.ini as this will allow all scripts run that much time. It may be unsafe... so you can try this...

http://au3.php.net/set_time_limit

for allowing only a particular script to run that much time. I hope this helps you.
0
 

Author Comment

by:sh2gr
ID: 18829001
Thanks a lot for the link, is interesting.
Regarding the failure.... it was an unexpected error caused by the Plesk CP.....I think Plesk has still a lot of work to do to have a somehow stable version for Windows servers :-)
Thanks again
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

696 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