Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6 - 400 - Bad request (Invalid URL)

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Need the corrent way of setting up IIS 4.0!  
Author Message
user2120

External


Since: Sep 02, 2004
Posts: 4



(Msg. 1) Posted: Thu Sep 02, 2004 8:40 pm
Post subject: IIS6 - 400 - Bad request (Invalid URL)
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,

I'm getting a 400 - Bad request (invalid URL) error with IIS6 / Windows 2003
when executing the following URL:

/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fpersonal!
2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id>/My
FilesAndFolders

The request is passed through a ISAPI plugin to a Java servet engine.
When accessing the URL directly on the servlet engine everything works fine.

When using Wfetch from the IIS 6 ressource kit the following output is
generated (hostname replaced with xxxxxxxx):

#####################################
started....
WWWConnect::Connect("xxxxxxxxx.xxxxxxxx.com","80")\n
IP = "127.0.0.1:80"\n
source port: 4304\r\n
SEC_I_CONTINUE_NEEDED - InitializeSecurityContext\n
REQUEST: **************\n
GET
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fperso
nal!2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id
 >/MyFilesAndFolders HTTP/1.1\r\n
Host: xxxxxxxxx.xxxxxxxx.com\r\n
Accept: */*\r\n
Connection: Keep-Alive\r\n
Authorization: NTLM
TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 400 Bad Request\r\n
Content-Type: text/html\r\n
Date: Thu, 02 Sep 2004 15:33:17 GMT\r\n
Connection: close\r\n
Content-Length: 34\r\n
\r\n
<h1>Bad Request (Invalid URL)</h1>
WWWConnect::Close("xxxxxxxxx.xxxxxxxx.com","80")\n
closed source port: 4304\r\n
finished.
#############################################


Does anybody know why this request is rejected or how I can find out ?

Thank you,
Jochen<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 - 400 - Bad request (Invalid URL) 
Back to top
Login to vote
user2120

External


Since: Sep 02, 2004
Posts: 4



(Msg. 2) Posted: Thu Sep 02, 2004 9:02 pm
Post subject: Re: IIS6 - 400 - Bad request (Invalid URL) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If I get it right the "greater than" and "smaller than" signs seem to be the
problem.
How can I tell IIS to accept these special characters ?

Registry setting "AllowRestrictedChars=1" doesn't seem to do the trick.

"Jochen Kiefer" <jochen.kiefer RemoveThis @nospam.hp.com> wrote in message
news:OpLsdMQkEHA.3428@TK2MSFTNGP11.phx.gbl...
 > Hi,
 >
 > I'm getting a 400 - Bad request (invalid URL) error with IIS6 / Windows
2003
 > when executing the following URL:
 >
 >
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
 >
es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fpersonal!
 >
2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id>/My
 > FilesAndFolders
 >
 > The request is passed through a ISAPI plugin to a Java servet engine.
 > When accessing the URL directly on the servlet engine everything works
fine.
 >
 > When using Wfetch from the IIS 6 ressource kit the following output is
 > generated (hostname replaced with xxxxxxxx):
 >
 > #####################################
 > started....
 > WWWConnect::Connect("xxxxxxxxx.xxxxxxxx.com","80")\n
 > IP = "127.0.0.1:80"\n
 > source port: 4304\r\n
 > SEC_I_CONTINUE_NEEDED - InitializeSecurityContext\n
 > REQUEST: **************\n
 > GET
 >
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
 > es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fperso
 >
nal!2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id
  > >/MyFilesAndFolders HTTP/1.1\r\n
 > Host: xxxxxxxxx.xxxxxxxx.com\r\n
 > Accept: */*\r\n
 > Connection: Keep-Alive\r\n
 > Authorization: NTLM
 > TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==\r\n
 > \r\n
 > RESPONSE: **************\n
 > HTTP/1.1 400 Bad Request\r\n
 > Content-Type: text/html\r\n
 > Date: Thu, 02 Sep 2004 15:33:17 GMT\r\n
 > Connection: close\r\n
 > Content-Length: 34\r\n
 > \r\n
 > <h1>Bad Request (Invalid URL)</h1>
 > WWWConnect::Close("xxxxxxxxx.xxxxxxxx.com","80")\n
 > closed source port: 4304\r\n
 > finished.
 > #############################################
 >
 >
 > Does anybody know why this request is rejected or how I can find out ?
 >
 > Thank you,
 > Jochen
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 - 400 - Bad request (Invalid URL) 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Fri Sep 03, 2004 2:05 am
Post subject: Re: IIS6 - 400 - Bad request (Invalid URL) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Did you restart the HTTP Service (NET STOP /y HTTP) after making the
registry change. It is necessary for the registry change to take effect.

"<" and ">" are not defined as acceptable characters in a URI according to
public RFCs. You are thus depending on unspecified behavior that may not be
preserved. You should consider either:
1. Only use acceptable characters in URI
2. Move the unacceptable characters out of the URI (into the querystring or
request header, for example)

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jochen Kiefer" <jochen.kiefer.TakeThisOut@nospam.hp.com> wrote in message
news:eRF75YQkEHA.3608@TK2MSFTNGP09.phx.gbl...
If I get it right the "greater than" and "smaller than" signs seem to be the
problem.
How can I tell IIS to accept these special characters ?

Registry setting "AllowRestrictedChars=1" doesn't seem to do the trick.

"Jochen Kiefer" <jochen.kiefer.TakeThisOut@nospam.hp.com> wrote in message
news:OpLsdMQkEHA.3428@TK2MSFTNGP11.phx.gbl...
 > Hi,
 >
 > I'm getting a 400 - Bad request (invalid URL) error with IIS6 / Windows
2003
 > when executing the following URL:
 >
 >
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
 >
es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fpersonal!
 >
2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id>/My
 > FilesAndFolders
 >
 > The request is passed through a ISAPI plugin to a Java servet engine.
 > When accessing the URL directly on the servlet engine everything works
fine.
 >
 > When using Wfetch from the IIS 6 ressource kit the following output is
 > generated (hostname replaced with xxxxxxxx):
 >
 > #####################################
 > started....
 > WWWConnect::Connect("xxxxxxxxx.xxxxxxxx.com","80")\n
 > IP = "127.0.0.1:80"\n
 > source port: 4304\r\n
 > SEC_I_CONTINUE_NEEDED - InitializeSecurityContext\n
 > REQUEST: **************\n
 > GET
 >
/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fxxxxxxxx!2fbase!2frol
 > es!2fstandard_user!2ftp.orbis.standard_user!2ftp.orbis.structure!2fperso
 >
nal!2fmy_ff!2ftp.orbis.my_ff!2ftp.orbis.my_folders/~alias~/userhome/<user.id
  > >/MyFilesAndFolders HTTP/1.1\r\n
 > Host: xxxxxxxxx.xxxxxxxx.com\r\n
 > Accept: */*\r\n
 > Connection: Keep-Alive\r\n
 > Authorization: NTLM
 > TlRMTVNTUAABAAAAl4II4gAAAAAAAAAAAAAAAAAAAAAFAs4OAAAADw==\r\n
 > \r\n
 > RESPONSE: **************\n
 > HTTP/1.1 400 Bad Request\r\n
 > Content-Type: text/html\r\n
 > Date: Thu, 02 Sep 2004 15:33:17 GMT\r\n
 > Connection: close\r\n
 > Content-Length: 34\r\n
 > \r\n
 > <h1>Bad Request (Invalid URL)</h1>
 > WWWConnect::Close("xxxxxxxxx.xxxxxxxx.com","80")\n
 > closed source port: 4304\r\n
 > finished.
 > #############################################
 >
 >
 > Does anybody know why this request is rejected or how I can find out ?
 >
 > Thank you,
 > Jochen
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 - 400 - Bad request (Invalid URL) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bad Request (Invalid Verb) - We have an ASP .NET application that "lives" in its own sub folder beneath our main site. Users access it via a link we have created inside of the OWA interface, but the application is not integrated with OWA. The OWA and the link to our appl...

Getting error 400: Bad Request (Invalid URL) when URL >282.. - Hi, Setup: Windows 2003 server with IIS 6.0 We have an IIS extension. We generate some dynamic URLs base on form inputs. For some form inputs we are getting the above mentioned error. On analysis, we found that the error comes if the comlete URL..

Bad Request problem with IIS6 and web services - I have developed a web service and a web client for it on a W2003 server (IIS6) and everything works fine. I deployed it on a W2K server with IIS5 and it still works fine. Now, I needed to test a java client against it. So i built a java class that..

IIS6 POST request failing with 500 error - Hi, I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one: We receive a large number of very simple POST requests to our vb.net web apps from our suppliers (all using php or jsp - if that has any relevance)....

Cookie Request on IIS6.0 and Windows Server 2003 - I have some clarifications with regards to any backward compatibility of Windows 2003. We did deploy several web application (ASP Classic) using Windows 2000 and only one Windows 2003 hardware. For some reasons, we did receive an intermittent error on....
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]