From: KDr2 Date: 2006-11-25T14:40:08+09:00 Subject: Re: simple ruby proxy Max Benjamin writes: > Timothy Goddard wrote: >> Max Benjamin wrote: >>> >>> appreciated. >>> Best, >>> Max >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >> >> OpenURI can be used to open files. A script like this would be a major >> security problem. The problem here with being asked to save it is that >> you aren't sending the proper MIME type. Look at the CGI docs for how >> to do this. > > Ok, I'm still having some trouble getting this to work. I looked at the > cgi docs but find them a little daunting. Is there some example code > someone could point me to? > Thanks. Maybe an apache server with mod_ruby installed is what you needed, google "mod_ruby" plz! -- For some reasons,my EMail had been changed to "kdr2[#]163.com" now... NO GNUS is Bad News. ------yours Killy Draw