James Tucker wrote:
> On 22 Sep 2010, at 12:00, Amit Tomar wrote:
>> luis i change my code as you said
>>
>> filename = "#...@stream.location}"
>> response.headers['Content-Type'] = "application/force-download"
>> response.headers['Content-Disposition'] = "attachment;
>> filename=\"#{File.basena
but louis,how do i force apache to read the file and this problem can
occur with Apache also??
--
Posted via http://www.ruby-forum.com/.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
Amit Tomar wrote:
> Amit Tomar wrote:
>> Amit Tomar wrote:
>>>
>>> yaa am looking to provide answer for that also memory usage
>>
>> Luis when i download file
>> httpd.exe is varied from at 49,892k to 50,264k
>> while ruby.exe934800 k to 1,208688k
>
> and louis as soon while get
On 22 Sep 2010, at 12:00, Amit Tomar wrote:
> luis i change my code as you said
>
> filename = "#...@stream.location}"
> response.headers['Content-Type'] = "application/force-download"
> response.headers['Content-Disposition'] = "attachment;
> filename=\"#{File.basename(filename)}\""
The probl
On Wed, Sep 22, 2010 at 12:29 PM, Amit Tomar wrote:
> Amit Tomar wrote:
>>
>> yaa am looking to provide answer for that also memory usage
>
> Luis when i download file
> httpd.exe is varied from at 49,892k to 50,264k
> while ruby.exe 934800 k to 1,208688k
That makes then clear tha
Amit Tomar wrote:
> Amit Tomar wrote:
>>
>> yaa am looking to provide answer for that also memory usage
>
> Luis when i download file
> httpd.exe is varied from at 49,892k to 50,264k
> while ruby.exe934800 k to 1,208688k
and louis as soon while getting downloded memoryuse of htt
On Wed, Sep 22, 2010 at 12:01 PM, Amit Tomar wrote:
>
> Processing StreamsController#download (for 127.0.0.1 at 2010-09-22
> 20:22:06) [GET]
> Parameters: {"id"=>"6600"}
> ?[4;36;1mSQL (0.0ms)?[0m ?[0;1mSET NAMES 'utf8'?[0m
> ?[4;35;1mSQL (0.0ms)?[0m ?[0mSET SQL_AUTO_IS_NULL=0?[0m
> ?[4;36
yaa am looking to provide answer for that also memory usage
--
Posted via http://www.ruby-forum.com/.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
Amit Tomar wrote:
> Luis Lavena wrote:
>> On Wed, Sep 22, 2010 at 11:22 AM, Amit Tomar
>> wrote:
>>>
>>> soory but how do i setup s virtual server configuration??
>>
>> Read apache documentation.
>>
>>> and i have to install that plugin??
>>
>> No, in your controller action set the headers, *d
Amit Tomar wrote:
>
> yaa am looking to provide answer for that also memory usage
Luis when i download file
httpd.exe is varied from at 49,892k to 50,264k
while ruby.exe934800 k to 1,208688k
--
Posted via http://www.ruby-forum.com/.
__
Amit Tomar wrote:
> Amit Tomar wrote:
>> Luis Lavena wrote:
>>> On Wed, Sep 22, 2010 at 11:22 AM, Amit Tomar
>>> wrote:
soory but how do i setup s virtual server configuration??
>>>
>>> Read apache documentation.
>>>
and i have to install that plugin??
>>>
>>> No, in your contro
On Wed, Sep 22, 2010 at 12:00 PM, Amit Tomar wrote:
>
> luis i change my code as you said
>
> filename = "#...@stream.location}"
> response.headers['Content-Type'] = "application/force-download"
> response.headers['Content-Disposition'] = "attachment;
> filename=\"#{File.basename(filename)}\""
>
On Wed, Sep 22, 2010 at 11:12 AM, Gerhard Koekemoer
wrote:
> Hi Luis
>
> I have now switched over to Ruby 1.8.7 and Mongrel 1.1.5 and Mongrel Service
> 0.4.3.beta3 just to make sure these gems are compatible with each other.
>
> Running the mongrel_rails start command: "mongrel_rails is not recogn
Luis Lavena wrote:
> On Wed, Sep 22, 2010 at 11:22 AM, Amit Tomar
> wrote:
>>
>> soory but how do i setup s virtual server configuration??
>
> Read apache documentation.
>
>> and i have to install that plugin??
>
> No, in your controller action set the headers, *do not* install the
> plugin.
Hi Luis
I have now switched over to Ruby 1.8.7 and Mongrel 1.1.5 and Mongrel Service
0.4.3.beta3 just to make sure these gems are compatible with each other.
Running the mongrel_rails start command: "mongrel_rails is not recognized as
an internal or external command", is this the error you spoke
On Wed, Sep 22, 2010 at 11:22 AM, Amit Tomar wrote:
>
> soory but how do i setup s virtual server configuration??
Read apache documentation.
> and i have to install that plugin??
No, in your controller action set the headers, *do not* install the plugin.
--
Luis Lavena
AREA 17
-
Perfection in
soory but how do i setup s virtual server configuration??
and i have to install that plugin??
--
Posted via http://www.ruby-forum.com/.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
On Wed, Sep 22, 2010 at 10:50 AM, Amit Tomar wrote:
> just now i seen your message...
> i am running apache 2.2.11 that comes with XAMPP 1.7.1 and mongrel
> version is
> 1.1.2,
> ruby version is ruby 1.8.6
>
>
> Rails is serving the request, the 1.1GB, not Apache
> but how do i know rails is servi
when i am trying to downnload following happen in logs of apache
127.0.0.1 - - [22/Sep/2010:19:11:12 +0530] "GET /streams/download/6598
HTTP/1.1" 500 1024 "http://src/streams/6598"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko)
Chrome/6.0.472.33 Safari
Luis Lavena wrote:
> On Wed, Sep 22, 2010 at 10:01 AM, Amit Tomar
> wrote:
>> hii all,
>> am using apache as frontend to mongrel and loaded xsendfile
>> module in apache ,am looking for 1 GB of download .this is download
>> routine
>>
>
> Replied your previous message to the list also. Please pr
Hi Luis
Thanks for the info.
The reason that I went for mongrel 1.1.5 is that the mongrel_service
0.4.2.beta3 gem requires it.
If I understand you correctly:
1) Because we are runnig ruby 1.9.2 we should run mongrel 1.2.0.pre which
does not play nicely with mongrel service (I get an error aski
On Wed, Sep 22, 2010 at 10:01 AM, Amit Tomar wrote:
> hii all,
> am using apache as frontend to mongrel and loaded xsendfile
> module in apache ,am looking for 1 GB of download .this is download
> routine
>
Replied your previous message to the list also. Please provide the
answers to my questions
hii all,
am using apache as frontend to mongrel and loaded xsendfile
module in apache ,am looking for 1 GB of download .this is download
routine
def download
@stream = Stream.find(params[:id])
send_file(@stream.location,:filename => @stream.name,:disposition >
'attachment',:x_sendfile => true )
On Wed, Sep 22, 2010 at 9:33 AM, Gerhard Koekemoer
wrote:
> Hi all
> Environment:
>
> Windows 7 64 bit
> Ruby 1.9.2.p0
> Rails 3
>
> I am getting the following error when I run the following command
> mongrel_rails service::install -N MyTestApp_4001 -p 4001 –e production:
>
> “Msvcrt-ruby18.dll i
Hi all
Environment:
Windows 7 64 bit
Ruby 1.9.2.p0
Rails 3
I am getting the following error when I run the following command
mongrel_rails service::install -N MyTestApp_4001 -p 4001 -e production:
"Msvcrt-ruby18.dll is missing"
Thanks in advance
Gerhard
___
My guess is middleware is trying to load the file to determine the etag or such.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
On Wed, Sep 22, 2010 at 6:13 AM, wrote:
>amit-singh sent you the following message:
>
>
>Sorry to send you personal message but its urgent...
Please, really, do not email me directly, I can't answer all the
questions that are emailed daily.
> hii all,
> am us
27 matches
Mail list logo