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 RemoveThis @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 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)