Solved

HTTP 400 BAD REQUEST

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

770 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