Solved

HTTP 400 BAD REQUEST

Posted on 2007-03-30
3
387 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
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.

840 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