<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Drogomir's blog - Upload progress bar with mod_passenger and apache Comments</title>
  <id>tag:drogomir.com,2008:/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache/comments</id>
  <generator version="0.8.0" uri="http://mephistoblog.com">Mephisto Drax</generator>
  <link href="http://drogomir.com/blog/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
  <updated>2008-11-14T06:28:37Z</updated>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>odorryagrinty</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:807</id>
    <published>2008-11-14T06:28:37Z</published>
    <updated>2008-11-14T06:28:37Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by odorryagrinty</title>
<content type="html">&lt;p&gt;Hello! Good site, much useful&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Tim</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:739</id>
    <published>2008-11-10T15:23:40Z</published>
    <updated>2008-11-10T15:23:40Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Tim</title>
<content type="html">&lt;p&gt;Attila -&lt;/p&gt;


	&lt;p&gt;I did try with the -a flag and for some reason it only compiled the i386 part and for some reason (I am not entirely sure why&#8230;) Leopard&#8217;s apache expects the x86_64 code to be there as well.&lt;/p&gt;


	&lt;p&gt;Maybe a bug in apxs?&lt;/p&gt;


	&lt;p&gt;Cheers,
Tim&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Attila</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:605</id>
    <published>2008-10-30T01:51:44Z</published>
    <updated>2008-10-30T01:51:44Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Attila</title>
<content type="html">&lt;p&gt;Tim,&lt;/p&gt;


	&lt;p&gt;you could still add the -a parameter as well, I did it that way and I have no problems with this so far on &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;. Thank you for sharing your solution, apparently it helped a lot.
Also, thanks to Drogomir for this great software. I&#8217;ll test the hell out of it now :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:475</id>
    <published>2008-10-10T14:25:08Z</published>
    <updated>2008-10-10T14:25:08Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Tim:&lt;/p&gt;


	&lt;p&gt;I will add your findings to &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt; file.&lt;/p&gt;


	&lt;p&gt;Upload info expires after 60 seconds, but is cleaned after another upload starts (I&#8217;ve done it in the simple way &#8211; nodes are checked for expiry only when new node has to be tracked).&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Tim</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:473</id>
    <published>2008-10-10T02:52:39Z</published>
    <updated>2008-10-10T02:52:39Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Tim</title>
<content type="html">&lt;p&gt;Out of curiosity, how long does upload info persist after the upload completes?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Tim</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:465</id>
    <published>2008-10-08T16:56:54Z</published>
    <updated>2008-10-08T16:56:54Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Tim</title>
<content type="html">&lt;p&gt;Rick, mikehal -&lt;/p&gt;


	&lt;p&gt;It seems that apsx on the mac only compiles for one architecture&#8230; i.e. not a universal binary. I got around the load error mentioned by explicitly compiling all architectures like so:&lt;/p&gt;


	&lt;p&gt;sudo apxs -c -i -Wc,-arch -Wc,ppc7400 -Wl,-arch -Wl,ppc7400 -Wc,-arch -Wc,ppc64 -Wl,-arch -Wl,ppc64 -Wc,-arch -Wc,x86_64 -Wl,-arch -Wl,x86_64 -Wc,-arch -Wc,i386 -Wl,-arch -Wl,i386 mod_upload_progress.c&lt;/p&gt;


	&lt;p&gt;Maybe this should be mentioned in the readme?&lt;/p&gt;


	&lt;p&gt;(... and, yeah, that is one fugly command line &lt;strong&gt;grin&lt;/strong&gt;)&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;HTH&lt;/span&gt;,
Tim&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:449</id>
    <published>2008-10-05T14:40:37Z</published>
    <updated>2008-10-05T14:40:37Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;mikehal: I think it&#8217;s not idiotic, but I don&#8217;t understand your question :) Could you give some examples or explain again?&lt;/p&gt;


	&lt;p&gt;George Moschovitis: this module is something like filter working while data is uploading. It only gives you information about upload. After data is uploaded you have to handle it yourself.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>George Moschovitis</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:442</id>
    <published>2008-10-05T01:21:29Z</published>
    <updated>2008-10-05T01:21:29Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by George Moschovitis</title>
<content type="html">&lt;p&gt;Does this module actually save the upload to a tempfile?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:440</id>
    <published>2008-10-05T00:29:37Z</published>
    <updated>2008-10-05T00:29:37Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;per swfupload: 
I dug into that and got it working-ish but it, well, led me to your module if you know what I mean. Tricked out &lt;span class=&quot;caps&quot;&gt;OOP&lt;/span&gt; js libraries tied into css definitions hooked up to some actionscript complied into an invisible &#8216;movie&#8217; hurt my head.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:439</id>
    <published>2008-10-05T00:12:27Z</published>
    <updated>2008-10-05T00:12:27Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;By kv&#8217;s I meant the key-value pairs coming in from /progress.  I guess I should say properties? When state:&#8217;done&#8217; , size: and received: are no longer defined. I have to store them ahead of state:done which for a really fast upload is touchy. I&#8217;m new at this stuff so forgive me if this is idiotic. ;)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:435</id>
    <published>2008-10-04T12:51:30Z</published>
    <updated>2008-10-04T12:51:30Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;What do you mean by kv?&lt;/p&gt;


	&lt;p&gt;Irrgularity of responses with short interval is caused by uploading file. Normally, response from server should be very quick (it&#8217;s small and generated in a few miliseconds), but while uploading, responses are much slower, so you have to wait longer. If you want to provide progress bar for smaller files you can consider &lt;a href=&quot;http://www.swfupload.org/&quot;&gt;swfupload&lt;/a&gt; &#8211; it looks great out of the box and you don&#8217;t have to fight with all those ajax issues. Ofcourse there are also bad sides: it is stuck at 0% on linux (and it&#8217;s very slow for me), it&#8217;s much more obtrusive and there is more people with disabled flash than people without javascript.&lt;/p&gt;


	&lt;p&gt;If it fits your needs you can give it a try.&lt;/p&gt;


	&lt;p&gt;2. Apache is server side and javascript is client side so basically it can&#8217;t call any javascript (there are server side js projects like jaxer but for keeping things simple let&#8217;s forget about it for now). I think that your question should be &#8211; Can apache force javascript to call a specific function?&lt;/p&gt;


	&lt;p&gt;The answer is: yes, it can. If apache will response with type &#8216;text/javascript&#8217; it will be executed. But technically it&#8217;s pretty much the same as calling a function in js after getting &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; response.&lt;/p&gt;


	&lt;p&gt;The other way to do it (and it&#8217;s probably closer to what you described) is a &lt;a href=&quot;http://en.wikipedia.org/wiki/Push_technology&quot;&gt;push server&lt;/a&gt;. Rather than calling xhr requests with given interval server forces javascript to make a request.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:429</id>
    <published>2008-10-03T20:30:55Z</published>
    <updated>2008-10-03T20:30:55Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;Drogomir:&lt;/p&gt;


	&lt;p&gt;I&#8217;ve had some time to test out what&#8217;s coming back from /Progress.  A couple of questions/observations:&lt;/p&gt;


	&lt;p&gt;1. It looks like all other kv&#8217;s are wiped when state hits &#8216;done&#8217;.  ?&lt;/p&gt;


	&lt;p&gt;If the polling interval is too short &#8211; say sub 300ms then the received kv comes back irregularly &#8211; one or two reports early on a 1.5MB file then nothing until complete. At 500 it&#8217;s smooth. But small files upload before the second poll occurs and I want to get at size: or received even if I&#8217;m late but the properties are undefined.&lt;/p&gt;


	&lt;p&gt;2. Can Apache be directed [from a module] to call a specific js function?
Just curious. Not exactly sure what I would do with it. (There&#8217;s a slight delay before /progress becomes available)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Rick</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:419</id>
    <published>2008-10-02T20:08:37Z</published>
    <updated>2008-10-02T20:08:37Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Rick</title>
<content type="html">&lt;p&gt;mikehal: Thanks for the suggestion. I did the same on my box and I am still getting the error. I will have to try this on one of my Linux boxes. &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; has not been working too well for me since the upgrade to 10.5.5.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:418</id>
    <published>2008-10-02T19:26:26Z</published>
    <updated>2008-10-02T19:26:26Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;Rick:  
I ran into the same problem with the same setup so I flagged apxs to compile only and moved the resulting .so from the .libs dir to /usr/libexec/apache2 by hand and added the load module directive to httpd.conf. It&#8217;s working!
(don&#8217;t forget to add in the vhost directive per Drogomir&#8217;s guide).&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Rick</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:415</id>
    <published>2008-10-02T00:31:18Z</published>
    <updated>2008-10-02T00:31:18Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Rick</title>
<content type="html">&lt;p&gt;I successfully compiled this on &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.5.5. However, apachectl does not like the resulting shared lib.&lt;/p&gt;


	&lt;p&gt;httpd: Syntax error on line 118 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_upload_progress.so into server: dlopen(/usr/libexec/apache2/mod_upload_progress.so, 10): no suitable image found.  Did find:\n\t/usr/libexec/apache2/mod_upload_progress.so: mach-o, but wrong architecture&lt;/p&gt;


	&lt;p&gt;I am using the default Apache 2.2 on &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; with its apxs command. Any ideas?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:410</id>
    <published>2008-10-01T10:54:25Z</published>
    <updated>2008-10-01T10:54:25Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Unfortunately none of those upload progress modules (for nginx, lighttpd and mine for apache) gets &lt;span class=&quot;caps&quot;&gt;UID&lt;/span&gt; from form fields. Currently you can only attach it to address as &lt;span class=&quot;caps&quot;&gt;GET&lt;/span&gt; parameter or send in header X-Progress-ID. If &lt;span class=&quot;caps&quot;&gt;PECL&lt;/span&gt; assigns it this way, I will consider adding possibility to &lt;span class=&quot;caps&quot;&gt;POST&lt;/span&gt; parameters, but as I said before I don&#8217;t have much time, so I think that it won&#8217;t be quick&#8230;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:408</id>
    <published>2008-09-30T23:13:48Z</published>
    <updated>2008-09-30T23:13:48Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;Looks like assigning the uid via a hidden form field is a problem.  (the &lt;span class=&quot;caps&quot;&gt;PECL&lt;/span&gt; uploadprogress &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; ext assigns it this way).&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:405</id>
    <published>2008-09-30T16:14:51Z</published>
    <updated>2008-09-30T16:14:51Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;Drogomir:&lt;/p&gt;


	&lt;p&gt;Same result &lt;span class=&quot;caps&quot;&gt;FF3&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;SAF3&lt;/span&gt;. for bothe remote and local access to the same files. your prototype demo is working remotely , just not locally. Here is the remote access debug log for my stuff
followed by your prototype-assisted demo remote access followed by yours hit locally (it hangs)&lt;/p&gt;


	&lt;p&gt;[debug] mod_upload_progress.c(139): Upload Progress: Upload in trackable location: /processors/upload.php.
[debug] mod_upload_progress.c(682): Upload Progress: Found id=f264a380e4e901e10b5e2399f209a472 in location with reports enables. uri=/progress
[debug] mod_upload_progress.c(707): Node with id=f264a380e4e901e10b5e2399f209a472 not found for report&lt;/p&gt;


	&lt;p&gt;yours via remote&lt;/p&gt;


	&lt;p&gt;[debug] mod_upload_progress.c(139): Upload Progress: Upload in trackable location: /drogus/example/index.html.
[debug] mod_upload_progress.c(143): Upload Progress: Progress id found: 494b24386a970469e70d4c70d418c6c4.
[debug] mod_upload_progress.c(369): Upload Progress: Inserted node into an empty list.
[debug] mod_upload_progress.c(462): Upload Progress: Added upload with id=494b24386a970469e70d4c70d418c6c4 to list.
[debug] mod_upload_progress.c(682): Upload Progress: Found id=494b24386a970469e70d4c70d418c6c4 in location with reports enables. uri=/progress
[debug] mod_upload_progress.c(697): Node with id=494b24386a970469e70d4c70d418c6c4 found for report&lt;/p&gt;


	&lt;p&gt;yours locally (same server, upload file etc)&lt;/p&gt;


	&lt;p&gt;[debug] mod_upload_progress.c(139): Upload Progress: Upload in trackable location: /drogus/example/index.html.
[debug] mod_upload_progress.c(143): Upload Progress: Progress id found: fd8bdd71016085e791c0056e759e797f.
[debug] mod_upload_progress.c(374): Upload Progress: Inserted node at the end of the list.
[debug] mod_upload_progress.c(462): Upload Progress: Added upload with id=fd8bdd71016085e791c0056e759e797f to list.&lt;/p&gt;


	&lt;p&gt;Obviously if your prototype is working the module compiled OK and is loaded. I&#8217;m choking it with my script somehow.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:403</id>
    <published>2008-09-30T12:14:56Z</published>
    <updated>2008-09-30T12:14:56Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;mikehal:&lt;/p&gt;


	&lt;p&gt;Could you &lt;a href=&quot;http://pastie.org&quot;&gt;pastie&lt;/a&gt; apache error log (with log leve debug) ? Which browser have you used for this tests? Try jquery or prototype demo on firefox with firebug and check requests in console.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:398</id>
    <published>2008-09-30T02:19:38Z</published>
    <updated>2008-09-30T02:19:38Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;Drogomir:&lt;/p&gt;


	&lt;p&gt;Thanks for the guidance. I have it compiled and I manually put the .so in the libexec dir and added it to httpd.conf.  I was running Apache2 out-of-the-box so at first I just tried:&lt;/p&gt;


	&lt;p&gt;http://localhost/progress?X-Progress-ID=123&lt;/p&gt;


	&lt;p&gt;but got a 404 until I added the vhost stuff. Then I got:&lt;/p&gt;


	&lt;p&gt;new Object({ &#8216;state&#8217; : &#8216;starting&#8217; })&lt;/p&gt;


	&lt;p&gt;which got me excited. After hooking it up  (an upload form with a hidden element for the &lt;span class=&quot;caps&quot;&gt;UID&lt;/span&gt;;
httpRequest/progress loop via an onSubmit)  I cannot get anything more back &#8211; always state:starting.  testing both locally and remote.&lt;/p&gt;


	&lt;p&gt;the prototype-assisted demo is not doing any better.  stumped for now.  What am I missing?&lt;/p&gt;


	&lt;p&gt;will recompile with gcc etc.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:387</id>
    <published>2008-09-28T11:45:15Z</published>
    <updated>2008-09-28T11:45:15Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;mikehal:&lt;/p&gt;


	&lt;p&gt;If you don&#8217;t use jquery/prototype you can still use upload progress, but you will have to write your own code that will get progress from server (it is served as &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;). If you&#8217;re not sure how it should look like, you can check jquery/prototype upload progress plugin sources or even &lt;a href=&quot;http://upload.lighttpd.net/index.html&quot;&gt;some js code written to show lighttpd upload progress&lt;/a&gt; (apache upload progress has the same response format so it will work :).&lt;/p&gt;


	&lt;p&gt;Scenerio that you have desribed seems to look ok, so this module will work for you :)&lt;/p&gt;


	&lt;p&gt;You don&#8217;t need rails/passenger stuff. It only requires apache :)&lt;/p&gt;


	&lt;p&gt;apxs2 is tool to compile modules for Apache2. As long as it compiles and works you can use apxs or even gcc (but you will need to pass some options then).&lt;/p&gt;


	&lt;p&gt;The easier way to test it is to set it for one of virtual hosts and run one of examples from jquery/prototype upload progress module :) They are in the packages. But testing it locally is a little bit hard, cause files are uploading so fast that you won&#8217;t notice progress, so I recommend doing it on some remote server. Check &lt;a href=&quot;http://drogomir.com/blog/2008/6/30/upload-progress-script-with-safari-support&quot;&gt;post about javascript plugins&lt;/a&gt; &#8211; there are links for examples and packages (examples are in packages :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>mikehal</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:385</id>
    <published>2008-09-28T07:17:02Z</published>
    <updated>2008-09-28T07:17:02Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by mikehal</title>
<content type="html">&lt;p&gt;I&#8217;m considering your module &#8211; appreciate some guidance before I jump in:&lt;/p&gt;


	&lt;p&gt;my setup: 
&lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt;.5 Apache 2 and php 5.2.current. No prototype or jquery or yahoo stuff.   I would like to be able to upload the file from an iframe, pass the error data and image path back to parent.js via an object literal and have the js call for the upload progress data on a setinterval httprequest and modify the width of a div in the iframe accordingly.&lt;/p&gt;


	&lt;p&gt;what am I calling exacty?
will this module work for me? 
do I need the passenger/rails stuff?
what is apxs2? apxs compiles it OK so long as I install and configure manually it looks like it might work. not sure how to test it though.&lt;/p&gt;


	&lt;p&gt;thanks!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:379</id>
    <published>2008-09-27T01:05:34Z</published>
    <updated>2008-09-27T01:05:34Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Here is example in jquery: http://drogomir.com/files/blog/jquery-upload-progress/example/&lt;/p&gt;


	&lt;p&gt;Could you paste those errors?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>KTU</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:377</id>
    <published>2008-09-26T18:39:47Z</published>
    <updated>2008-09-26T18:39:47Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by KTU</title>
<content type="html">&lt;p&gt;This looks very promising one but I haven&#8217;t been able to make it work.&lt;/p&gt;


	&lt;p&gt;I was looking progress bar with &lt;span class=&quot;caps&quot;&gt;RAILS&lt;/span&gt; form page which could pop-up window for the progress bar and show percentage how upload is progressing. Is this possible with the current tool ?&lt;/p&gt;


	&lt;p&gt;Any change to get full working demo from somewhere ? Yes I downloaded examples but it wont work is complaining about various javascript errors etc&#8230;&lt;/p&gt;


	&lt;p&gt;Thank You&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:342</id>
    <published>2008-09-21T12:49:21Z</published>
    <updated>2008-09-21T12:49:21Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Michael: I will have to test plugin and scripts with ssl. However I don&#8217;t have much time right now, so I&#8217;m afraid that it can last some time. Could you pastie logs with &lt;span class=&quot;caps&quot;&gt;SSL&lt;/span&gt; turned on and possibly log from safari error console?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Michael</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:316</id>
    <published>2008-09-19T17:12:30Z</published>
    <updated>2008-09-19T17:12:30Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Michael</title>
<content type="html">&lt;p&gt;This is a great patch, but I&#8217;ve run into a problem.  I had it installed, working beautifully (like I said, it&#8217;s great), very happy, etc, etc&#8212;then I installed an &lt;span class=&quot;caps&quot;&gt;SSL&lt;/span&gt; cert.  The httpd.conf directives in my Virtual Host blocks no longer were obeyed when viewing through &lt;span class=&quot;caps&quot;&gt;HTTPS&lt;/span&gt;.  I can move the directives outside a virtual host, but then your plugin becomes buggy: &#8217;/progress&#8217; works fine before you start an upload (state:starting), but when you try to upload a file, the upload script runs forever, as does the &#8217;/progress&#8217; feed.&lt;/p&gt;


	&lt;p&gt;I&#8217;m kind of clueless regarding &lt;span class=&quot;caps&quot;&gt;SSL&lt;/span&gt;, so perhaps I&#8217;m missing something.  Any suggestions?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:90</id>
    <published>2008-08-30T11:17:00Z</published>
    <updated>2008-08-30T11:17:00Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;About the Opera: I&#8217;ve checked 9.52 and it is not working for me either. Hacks for safari are not working, so I will have to debug it on Opera.&lt;/p&gt;


	&lt;p&gt;Adam:
mod_passenger is handling uploads &#8211; it&#8217;s faster and it doesn&#8217;t block rails instance. If you want to do something while uploading you must use Apache filters (like in my upload progress module)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Adam</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:79</id>
    <published>2008-08-28T02:33:16Z</published>
    <updated>2008-08-28T02:33:16Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Adam</title>
<content type="html">&lt;p&gt;Hi There,Thanks for this patch. its awesome.
Can anyone explain whether using this combined with mod_rails will get past the blocking issue with rails uploads? ie, will apache handle the upload and then pass it to rails or is rails handling the whole thing ??&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:70</id>
    <published>2008-08-25T08:50:12Z</published>
    <updated>2008-08-25T08:50:12Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;It works in Opera 9.5 for me (Ubuntu). I will check 9.51&lt;/p&gt;


	&lt;p&gt;If it can&#8217;t send ajax request it is the same issue that safari has.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>OWL</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:68</id>
    <published>2008-08-24T23:51:59Z</published>
    <updated>2008-08-24T23:51:59Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by OWL</title>
<content type="html">&lt;p&gt;Hi,
Thanks for module. Works fine with IE and FF but does not work with Opera.
checked with opera = 9.51 under winxp.&lt;/p&gt;


	&lt;p&gt;Looks like Opera can&#8217;t do Ajax request during file upload. Does anybody know 
a hack for Opera ?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>OWL</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:67</id>
    <published>2008-08-24T23:51:59Z</published>
    <updated>2008-08-24T23:51:59Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by OWL</title>
<content type="html">&lt;p&gt;Hi,
Thanks for module. Works fine with IE and FF but does not work with Opera.
checked with opera = 9.51 under winxp.&lt;/p&gt;


	&lt;p&gt;Looks like Opera can&#8217;t do Ajax request during file upload. Does anybody know 
a hack for Opera ?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Matze</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:46</id>
    <published>2008-08-20T11:13:01Z</published>
    <updated>2008-08-20T11:13:01Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Matze</title>
<content type="html">&lt;p&gt;hmmm&#8230; indeed, it&#8217;s working on my Windows-Box with &lt;span class=&quot;caps&quot;&gt;IE 7&lt;/span&gt;, FF2 and &lt;span class=&quot;caps&quot;&gt;FF3&lt;/span&gt;. On my &lt;span class=&quot;caps&quot;&gt;OS X&lt;/span&gt; (10.5.4) with &lt;span class=&quot;caps&quot;&gt;FF3&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;FF2&lt;/span&gt; i had the above mentioned problem.&lt;/p&gt;


	&lt;p&gt;Sorry for the quick post without testing on an other box and thanks for your quick reply!&lt;/p&gt;


	&lt;p&gt;Maybe it&#8217;s a problem with caching, i will test it coming weekend.&lt;/p&gt;


	&lt;p&gt;Matze&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:44</id>
    <published>2008-08-20T05:20:23Z</published>
    <updated>2008-08-20T05:20:23Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Matze:&lt;/p&gt;


	&lt;p&gt;Which browser did you use? While using Firefox 3 I have similar problems. Try to clear browser cache when the file is uploading and see if progress bar is still stuck. If yes, then it&#8217;s browser problem. If no, could you enable debug messages in apache and see if anything weird is reported in the log file?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Matze</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:42</id>
    <published>2008-08-19T23:19:23Z</published>
    <updated>2008-08-19T23:19:23Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Matze</title>
<content type="html">&lt;p&gt;Hi, i just installed upload_progress_bar and my Progressbar stopps counting after about 250000Bytes received. Upload still works and the status changed to done after finishing upload.&lt;/p&gt;


	&lt;p&gt;My Setup: Apache 2.2.9, mod_rails (Passenger) 2.0.3 and apache-mod-upload-progress (installed yesterday)&lt;/p&gt;


	&lt;p&gt;Any Ideas?&lt;/p&gt;


	&lt;p&gt;btw. thanks for the apache-mod!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:16</id>
    <published>2008-06-30T01:03:53Z</published>
    <updated>2008-06-30T01:03:53Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;I&#8217;ve added safari support to jquery version of upload progress script: &lt;a href=&quot;http://github.com/drogus/jquery-upload-progress/tree/master&quot;&gt;http://github.com/drogus/jquery-upload-progress/tree/master&lt;/a&gt; . Tomorrow I will try to code prototype version with callbacks and other useful stuff.&lt;/p&gt;


	&lt;p&gt;Check new demo which is supposed to work in safari: &lt;a href=&quot;http://drogomir.com/files/blog/jquery-upload-progress/example/index.html?X-Progress-ID=87f7dda5f22bc2f4d059802e0fe90fe9&quot;&gt;http://drogomir.com/files/blog/jquery-upload-progress/example&lt;/a&gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Michele</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:15</id>
    <published>2008-06-29T14:57:53Z</published>
    <updated>2008-06-29T14:57:53Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Michele</title>
<content type="html">&lt;p&gt;Just let me know if there&#8217;s anything not clear in my explanation. :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:14</id>
    <published>2008-06-29T14:26:38Z</published>
    <updated>2008-06-29T14:26:38Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Michele:&lt;/p&gt;


	&lt;p&gt;Thanks for checking it. I will update my example shortly :)&lt;/p&gt;


	&lt;p&gt;I will add Safari hacks to upload-progress script: http://github.com/drogus/jquery-upload-progress/tree/master and possibly make prototype version with some tweaks like in jQuery version.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Michele</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:13</id>
    <published>2008-06-29T10:36:50Z</published>
    <updated>2008-06-29T10:36:50Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Michele</title>
<content type="html">&lt;p&gt;I managed to make it work in Safari, too: you need to insert an iframe in the page, give it a name (e.g. name=&#8221;progress&#8221;) and have it load a static &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; page which you&#8217;ve carefully crafted with: basic &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; structure (making sure you load all JS libraries you need) and in the body you define a function with the &lt;span class=&quot;caps&quot;&gt;AJAX&lt;/span&gt; call and logic to update the progress bar. Of course, this function needs to passed the uuid.&lt;/p&gt;


	&lt;p&gt;Then from the main page you call name_given_to_the_iframe.name_given_to_the_function(uuid)
In the function you can access the main page &lt;span class=&quot;caps&quot;&gt;DOM&lt;/span&gt; object like so: parent.document.getElementById()&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Michele</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:12</id>
    <published>2008-06-28T23:02:53Z</published>
    <updated>2008-06-28T23:02:53Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Michele</title>
<content type="html">&lt;p&gt;Yep, it definitely seems to be a problem with sending an &lt;span class=&quot;caps&quot;&gt;AJAX&lt;/span&gt; request while loading a page (indeed, if you manually enter the &lt;span class=&quot;caps&quot;&gt;AJAX&lt;/span&gt; call in the address bar prepending javascript: the call is executed correctly, but then it stops sending the main request).&lt;/p&gt;


	&lt;p&gt;I imagine it should be possible to fix this by using an iframe to separate the two requests&#8230;I&#8217;ll play with it tomorrow.&lt;/p&gt;


	&lt;p&gt;Meanwhile, thanks for the module: it has really helped! :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:11</id>
    <published>2008-06-28T20:34:47Z</published>
    <updated>2008-06-28T20:34:47Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;I&#8217;ve checked it in safari on windows and it seems to be problem with sending ajax request while page is loading. I will investigate this one :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Ted</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:10</id>
    <published>2008-06-27T16:52:59Z</published>
    <updated>2008-06-27T16:52:59Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Ted</title>
<content type="html">&lt;p&gt;Confirm not working in safari 3. Seems like a JS issue? =/&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:9</id>
    <published>2008-06-26T22:16:29Z</published>
    <updated>2008-06-26T22:16:29Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;Ziggy:
Did you provide existing X-Progress-ID? It is in &#8220;starting&#8221; state if it can&#8217;t find valid upload data with given X-Progress-ID.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Ziggy</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:8</id>
    <published>2008-06-26T19:59:56Z</published>
    <updated>2008-06-26T19:59:56Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Ziggy</title>
<content type="html">&lt;p&gt;Doesn&#8217;t seem to matter if it&#8217;s https or not, the /progress is stuck on &#8216;starting&#8217; anyways (FC8 etc.)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Ziggy</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:7</id>
    <published>2008-06-26T19:02:05Z</published>
    <updated>2008-06-26T19:02:05Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Ziggy</title>
<content type="html">&lt;p&gt;Does this work with https ?
I can&#8217;t seem to get it working on &lt;span class=&quot;caps&quot;&gt;FC8&lt;/span&gt;/x86_64, the /progress keeps reporting &#8216;starting&#8217; ....
httpd-2.2.8-1.fc8/php-5.2.4-3&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Drogomir</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:5</id>
    <published>2008-06-26T09:16:35Z</published>
    <updated>2008-06-26T09:16:35Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Drogomir</title>
<content type="html">&lt;p&gt;pimpmaster:
I will check it :)&lt;/p&gt;


	&lt;p&gt;Micha:
I don&#8217;t know what causes this problem but I changed default shared memory size to 50kB &#8211; it will be safer then 100kB. You can change shared memory size even to 10240 (10kB) if you don&#8217;t provide hundreds of uploads simultaneously it&#8217;s not a problem &#8211; it&#8217;s only for keeping upload data (key, upload size and size of received bytes). Upload data is removed from memory 60s after upload has ended.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>Micha</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:4</id>
    <published>2008-06-26T08:41:08Z</published>
    <updated>2008-06-26T08:41:08Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by Micha</title>
<content type="html">&lt;p&gt;For some reason, I get an error in my error_log:
[error] (12)Cannot allocate memory: Upload Progress cache: could not create shared memory segment
Configuration Failed&lt;/p&gt;


	&lt;p&gt;This error can be avoided by setting UploadProgressSharedMemorySize to something less than ~75000.&lt;/p&gt;


	&lt;p&gt;My Apache is 
Server version: Apache/2.2.8 (Unix)
Server built:   Mar  4 2008 21:37:02
on MacOS 10.5 (the builtin one) and was compiled with http://pastie.org/222492&lt;/p&gt;


	&lt;p&gt;Any thoughts?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://drogomir.com/blog/">
    <author>
      <name>pimpmaster</name>
    </author>
    <id>tag:drogomir.com,2008-06-18:2:3</id>
    <published>2008-06-25T19:23:55Z</published>
    <updated>2008-06-25T19:23:55Z</updated>
    <link href="http://drogomir.com/2008/6/18/upload-progress-bar-with-mod_passenger-and-apache" rel="alternate" type="text/html"/>
    <title>Comment on 'Upload progress bar with mod_passenger and apache' by pimpmaster</title>
<content type="html">&lt;p&gt;Nice writeup! :)&lt;/p&gt;


	&lt;p&gt;Your demo is busted in Safari 3 though (No progress is shown) :(&lt;/p&gt;</content>  </entry>
</feed>
