Hey all,

I am having trouble to use the WebRequest Class.

If I do this:
Code:
WebProxy myProxy = new WebProxy("http://myAutomaticProxy/");
System.Uri myUri = new Uri("http://www.vbforums.com");

WebRequest myRequest = WebRequest.Create(myUri);
myRequest.Timeout=3000;
myRequest.Proxy = myProxy;


WebResponse myResponse = myRequest.GetResponse();
myResponse.Close();
everything works fine.

But If I use this URI instead
http://www.vbforums.com/index.php

I get an 404 Site not found error.
The URI does work if I insert it in a Browser.

Any ideas on how I can get the second Url to work?

Thanks, Stephan