From the docs:

8.5. Acting Like a Browser
Normally, REBOL identifies itself to a server when it reads from a Web 
site. However, some servers are programmed to respond to particular 
browsers only. If a request to a server does not produce the correct Web 
page, you can change the request to make it look like it came from some 
other type of Web browser. Pretending to be a Web browser is done by many 
programs to get Web sites to respond correctly. However, this practice does 
end up defeating the purpose behind the browser identification.
To change HTTP requests to look as though they are being sent by Netscape 
4.0, you can modify the user-agent within the HTTP handler:
system/options/http/user-agent: "Mozilla/4.0"
Setting this variable affects all HTTP requests that follow.



At 09:00 PM 8/13/2002 +1000, you wrote:
>I can't test this but there is a way to
>advertise that rebol is in fact Internet Explorer.
>(rebol spoofing as internet explorer).
>I am sure I saw someone on this list show how to
>do it, so you can search escribe rebol mail archive
>to find it. Sorry I can't help more, I must go.
>
>Anton.
>
> > I read this already but the probleme is not on the server parts.
> > This is when my rebol script on a PC try to access a CGI script,
> > the apache
> > server want a user and password for secure reason. When internet explorer
> > try to access a cgi script for the first time a popup windows
> > appears where
> > the user can enter the user and password. I don't know how to do this with
> > in rebol.
> > The Apache server don't care of what I enter in system/options/cgi in my
> > rebol client script, he now that it's not "internet explorer" but "REBOL
> > 1.2.1.3.1", so he wants a user and password.
>
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to