Solved

HTTP 400 BAD REQUEST

Posted on 2007-03-30
3
392 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
[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
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

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.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

630 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