Solved

HTTP 400 BAD REQUEST

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …

757 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

21 Experts available now in Live!

Get 1:1 Help Now