<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Komentáře k příspěvku: Simple Download Monitor plugin</title>
	<atom:link href="http://www.pepak.net/wordpress/simple-download-monitor-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/</link>
	<description>bezpečnost, e-books, soundtracky, horrory, software...</description>
	<lastBuildDate>Mon, 08 Mar 2010 10:55:25 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-2045</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Wed, 03 Feb 2010 20:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-2045</guid>
		<description>I am afraid there is little I can do to help you. Apparently your WordPress is set up without mod_rewrite. It may be that it is not supported by your webhost, in which case there is nothing you can do to make Simple Download Manager work. Alternatively, it is possible that mod_rewrite is supported but isn&#039;t used - in that case you can try to place this in your .htaccess file:
&lt;pre&gt;&lt;IfModule mod_rewrite.c&gt;
	RewriteEngine On
	RewriteBase /
	RewriteRule ^(files/.*) /index.php?sdmon=$1 [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /index.php [L]
&lt;/IfModule&gt;&lt;/pre&gt;
Note: Unless you are really sure you want to have &lt;code&gt;Options +Indexes&lt;/code&gt; I would turn it off - it can be a serious security hole in certain circumstances.</description>
		<content:encoded><![CDATA[<p>I am afraid there is little I can do to help you. Apparently your WordPress is set up without mod_rewrite. It may be that it is not supported by your webhost, in which case there is nothing you can do to make Simple Download Manager work. Alternatively, it is possible that mod_rewrite is supported but isn&#8217;t used &#8211; in that case you can try to place this in your .htaccess file:</p>
<pre>&lt;IfModule mod_rewrite.c&gt;
	RewriteEngine On
	RewriteBase /
	RewriteRule ^(files/.*) /index.php?sdmon=$1 [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /index.php [L]
&lt;/IfModule&gt;</pre>
<p>Note: Unless you are really sure you want to have <code>Options +Indexes</code> I would turn it off &#8211; it can be a serious security hole in certain circumstances.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: rafu</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-2044</link>
		<dc:creator>rafu</dc:creator>
		<pubDate>Wed, 03 Feb 2010 20:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-2044</guid>
		<description>i have installed the plugins and didnt worked well i check my .htaccess file didnt got any line writen that called RewriteCond %{REQUEST_FILENAME} !-f

it&#039;s just writen 

Options +Indexes

# BEGIN WordPress

# END WordPress


PLEASE TEL ME WHATS SHOULD I DO</description>
		<content:encoded><![CDATA[<p>i have installed the plugins and didnt worked well i check my .htaccess file didnt got any line writen that called RewriteCond %{REQUEST_FILENAME} !-f</p>
<p>it&#8217;s just writen </p>
<p>Options +Indexes</p>
<p># BEGIN WordPress</p>
<p># END WordPress</p>
<p>PLEASE TEL ME WHATS SHOULD I DO</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1890</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Sun, 24 Jan 2010 07:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1890</guid>
		<description>Version 0.10 provides compatibility with PHP 4 and a belarussian translation by &lt;a href=&quot;http://www.fatcow.com&quot; rel=&quot;nofollow&quot;&gt;FatCow&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Version 0.10 provides compatibility with PHP 4 and a belarussian translation by <a href="http://www.fatcow.com" rel="nofollow">FatCow</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1761</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Mon, 11 Jan 2010 05:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1761</guid>
		<description>It seems your hosting doesn&#039;t use PHP 5. While it would be possible to rewrite SDM to work with PHP 4, I have no way of testing it.</description>
		<content:encoded><![CDATA[<p>It seems your hosting doesn&#8217;t use PHP 5. While it would be possible to rewrite SDM to work with PHP 4, I have no way of testing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: Kyle</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1757</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Sun, 10 Jan 2010 22:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1757</guid>
		<description>when i install this plugin, both manually or threw wordpress, i get this error message opon activation: Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or &#039;}&#039; in /ndd5/wp-content/plugins/simple-download-monitor/simple-download-monitor.php on line 34</description>
		<content:encoded><![CDATA[<p>when i install this plugin, both manually or threw wordpress, i get this error message opon activation: Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or &#8216;}&#8217; in /ndd5/wp-content/plugins/simple-download-monitor/simple-download-monitor.php on line 34</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1748</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Sun, 10 Jan 2010 13:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1748</guid>
		<description>What kind of shortcode do you mean?</description>
		<content:encoded><![CDATA[<p>What kind of shortcode do you mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: esanstudio.net</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1746</link>
		<dc:creator>esanstudio.net</dc:creator>
		<pubDate>Sun, 10 Jan 2010 12:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1746</guid>
		<description>Any shortcode given to apply into WP PAGE?</description>
		<content:encoded><![CDATA[<p>Any shortcode given to apply into WP PAGE?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1742</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Sun, 10 Jan 2010 07:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1742</guid>
		<description>Version 0.09 fixes the issues reported by Angelo. Thanks!</description>
		<content:encoded><![CDATA[<p>Version 0.09 fixes the issues reported by Angelo. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: pepak</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1707</link>
		<dc:creator>pepak</dc:creator>
		<pubDate>Thu, 07 Jan 2010 19:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1707</guid>
		<description>1) If I use content-size, it is an error - content-length is the correct one. I will check it out and correct it. Thanks for the alert.

2) I didn&#039;t know about that. I will see about adding range support to SDM (it would be easier to use HTTP/1.0, but I expect range support will allow the users to continue broken transfers).

Thanks!</description>
		<content:encoded><![CDATA[<p>1) If I use content-size, it is an error &#8211; content-length is the correct one. I will check it out and correct it. Thanks for the alert.</p>
<p>2) I didn&#8217;t know about that. I will see about adding range support to SDM (it would be easier to use HTTP/1.0, but I expect range support will allow the users to continue broken transfers).</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: Angelo Mandato</title>
		<link>http://www.pepak.net/wordpress/simple-download-monitor-plugin/comment-page-1/#comment-1706</link>
		<dc:creator>Angelo Mandato</dc:creator>
		<pubDate>Thu, 07 Jan 2010 19:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.pepak.net/?p=517#comment-1706</guid>
		<description>First problem is your script is not including the &quot;Content-Length&quot; header. I do see &quot;Content-size&#039;, but that is not a valid HTTP header. Typically the second world is Capitalized though most clients will handle content-length or Content-Length.

Second problem is with the protocol returned, you need to change the protocol to HTTP/1.0 or add support for range requests. PowerPress plugin requests the first 500KB of the file by using an HTTP &quot;Range: 0-500000&quot; request. I just took a look at your plugin and it does not support byte ranges, which can create a problem for anyone who may want to resume downloads. It does not create a problem for PowerPress so as long as you change the returned HTTP Headers return HTTP/1.0 (rather than HTTP/1.1). You can detect and appropriately handle a byte range request with the following: isset($_SERVER[&#039;HTTP_RANGE&#039;]) and parse it to know what portion of the file to return.

Please refer to the RFC (http://www.faqs.org/rfcs/rfc2616.html) for HTTP to learn more about &#039;Content-Length&#039; and &#039;Byte Ranges&#039;. This page has an example how to handle multiple and single byte range requests in PHP: http://www.coneural.org/florian/papers/04_byteserving.php</description>
		<content:encoded><![CDATA[<p>First problem is your script is not including the &#8222;Content-Length&#8220; header. I do see &#8222;Content-size&#8217;, but that is not a valid HTTP header. Typically the second world is Capitalized though most clients will handle content-length or Content-Length.</p>
<p>Second problem is with the protocol returned, you need to change the protocol to HTTP/1.0 or add support for range requests. PowerPress plugin requests the first 500KB of the file by using an HTTP &#8222;Range: 0-500000&#8243; request. I just took a look at your plugin and it does not support byte ranges, which can create a problem for anyone who may want to resume downloads. It does not create a problem for PowerPress so as long as you change the returned HTTP Headers return HTTP/1.0 (rather than HTTP/1.1). You can detect and appropriately handle a byte range request with the following: isset($_SERVER['HTTP_RANGE']) and parse it to know what portion of the file to return.</p>
<p>Please refer to the RFC (<a href="http://www.faqs.org/rfcs/rfc2616.html" rel="nofollow">http://www.faqs.org/rfcs/rfc2616.html</a>) for HTTP to learn more about &#8216;Content-Length&#8217; and &#8216;Byte Ranges&#8217;. This page has an example how to handle multiple and single byte range requests in PHP: <a href="http://www.coneural.org/florian/papers/04_byteserving.php" rel="nofollow">http://www.coneural.org/florian/papers/04_byteserving.php</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
