<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Mint Pepper DLoads 0.70 Beta</title>
	<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/</link>
	<description>mental spew</description>
	<pubDate>Wed, 07 Jan 2009 17:37:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Peppermint Tea &#187; Blog Archive &#187; DLoads 0.70 beta</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8779</link>
		<author>Peppermint Tea &#187; Blog Archive &#187; DLoads 0.70 beta</author>
		<pubDate>Sat, 07 Jan 2006 19:41:43 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8779</guid>
					<description>[...] Damon has updated his DLoads Pepper for Mint to v1.2+ compatible. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Damon has updated his DLoads Pepper for Mint to v1.2+ compatible. [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: paul</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8793</link>
		<author>paul</author>
		<pubDate>Sun, 15 Jan 2006 03:13:15 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8793</guid>
					<description>hi there!
i have problems with the configuration of the '$file' var. seems that the $_SERVER['REQUEST_URI'] value is always the url of the dloads.php. any suggestions?
thanks</description>
		<content:encoded><![CDATA[<p>hi there!<br />
i have problems with the configuration of the &#8216;$file&#8217; var. seems that the $_SERVER[&#8217;REQUEST_URI&#8217;] value is always the url of the dloads.php. any suggestions?<br />
thanks</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: damonp</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8794</link>
		<author>damonp</author>
		<pubDate>Mon, 16 Jan 2006 23:20:41 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8794</guid>
					<description>Sounds like your PHP build may be a little different.  Can you take a look at your phpinfo() page and see what variables are available?  

All the way at the bottom should be the _SERVER variables.  Other options for the REQUEST_URI variable may be _SERVER[SCIPT_NAME], _SERVER[SCRIPT_FILENAME], _SERVER[PHP_SELF] or _SERVER[REDIRECT_URL].</description>
		<content:encoded><![CDATA[<p>Sounds like your PHP build may be a little different.  Can you take a look at your phpinfo() page and see what variables are available?  </p>
<p>All the way at the bottom should be the _SERVER variables.  Other options for the REQUEST_URI variable may be _SERVER[SCIPT_NAME], _SERVER[SCRIPT_FILENAME], _SERVER[PHP_SELF] or _SERVER[REDIRECT_URL].</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: paul</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8795</link>
		<author>paul</author>
		<pubDate>Tue, 17 Jan 2006 02:52:05 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8795</guid>
					<description>hi damon!
here some info. alle the fields are filled correctly i think. i replaced the values, sorry. need more info?

maybe this causes the problem:
i´ve got a directory with my download files in it ("files.server.com") and a directory where mint runs ("stats.server.com"). the path of your pepper in my .htaccess file is "http://stats.server.com/pepper/damonparker/dloads/dloads.php". 
when i try to download "http://files.server.com/beer.jpg" i´ll be redirected to a blank page "file not found" - the result of the throw-404 function.
so when i insert the phpinfo-command into the "dloads.php" the $file,  $filepath is always "/pepper/damonparker/dloads/dloads.php". what is the problem?
maybe the original file-path-information gets lost when the htaccess file redirects? 
regards, paul

======================================
running php 4.4.1

_SERVER["SCRIPT_FILENAME"]	-value-
_SERVER["SCRIPT_URI"]	-value-
_SERVER["SCRIPT_URL"]	-value-
_SERVER["SERVER_ADDR"]	-value-
_SERVER["SERVER_ADMIN"]	-value-
_SERVER["SERVER_NAME"]	-value-
_SERVER["SERVER_PORT"]	80
_SERVER["SERVER_SOFTWARE"]	Apache/df-exts 1.2 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d AuthPG/1.3

_SERVER["REQUEST_METHOD"]	GET
_SERVER["QUERY_STRING"]	no value
_SERVER["REQUEST_URI"]	-value-
_SERVER["SCRIPT_NAME"]  -value-</description>
		<content:encoded><![CDATA[<p>hi damon!<br />
here some info. alle the fields are filled correctly i think. i replaced the values, sorry. need more info?</p>
<p>maybe this causes the problem:<br />
i´ve got a directory with my download files in it (&#8221;files.server.com&#8221;) and a directory where mint runs (&#8221;stats.server.com&#8221;). the path of your pepper in my .htaccess file is &#8220;http://stats.server.com/pepper/damonparker/dloads/dloads.php&#8221;.<br />
when i try to download &#8220;http://files.server.com/beer.jpg&#8221; i´ll be redirected to a blank page &#8220;file not found&#8221; - the result of the throw-404 function.<br />
so when i insert the phpinfo-command into the &#8220;dloads.php&#8221; the $file,  $filepath is always &#8220;/pepper/damonparker/dloads/dloads.php&#8221;. what is the problem?<br />
maybe the original file-path-information gets lost when the htaccess file redirects?<br />
regards, paul</p>
<p>======================================<br />
running php 4.4.1</p>
<p>_SERVER[&#8221;SCRIPT_FILENAME&#8221;]	-value-<br />
_SERVER[&#8221;SCRIPT_URI&#8221;]	-value-<br />
_SERVER[&#8221;SCRIPT_URL&#8221;]	-value-<br />
_SERVER[&#8221;SERVER_ADDR&#8221;]	-value-<br />
_SERVER[&#8221;SERVER_ADMIN&#8221;]	-value-<br />
_SERVER[&#8221;SERVER_NAME&#8221;]	-value-<br />
_SERVER[&#8221;SERVER_PORT&#8221;]	80<br />
_SERVER[&#8221;SERVER_SOFTWARE&#8221;]	Apache/df-exts 1.2 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d AuthPG/1.3</p>
<p>_SERVER[&#8221;REQUEST_METHOD&#8221;]	GET<br />
_SERVER[&#8221;QUERY_STRING&#8221;]	no value<br />
_SERVER[&#8221;REQUEST_URI&#8221;]	-value-<br />
_SERVER[&#8221;SCRIPT_NAME&#8221;]  -value-</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: paul</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8796</link>
		<author>paul</author>
		<pubDate>Tue, 17 Jan 2006 11:43:30 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8796</guid>
					<description>hey damon!
i copied the post to the pepper-forums. maybe the other guys have some helpfull ideas, too. 

http://www.haveamint.com/forum/viewtopic.php?id=911

thanks, paul</description>
		<content:encoded><![CDATA[<p>hey damon!<br />
i copied the post to the pepper-forums. maybe the other guys have some helpfull ideas, too. </p>
<p><a href="http://www.haveamint.com/forum/viewtopic.php?id=911" rel="nofollow">http://www.haveamint.com/forum/viewtopic.php?id=911</a></p>
<p>thanks, paul</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: damonp</title>
		<link>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8797</link>
		<author>damonp</author>
		<pubDate>Tue, 17 Jan 2006 13:43:00 +0000</pubDate>
		<guid>http://damonparker.org/blog/2006/01/06/mint-pepper-dloads-070-beta/#comment-8797</guid>
					<description>An external file path will not work in the .htaccess file.  The type of rewrite it is using needs a local file path to dloads.php.  I doubt this will work the way you are using it here as dloads.php won't be able to find the files from its frame of reference.   dloads.php executes from the stats.domain.com server.  Your download files are on files.domain.com not stats.</description>
		<content:encoded><![CDATA[<p>An external file path will not work in the .htaccess file.  The type of rewrite it is using needs a local file path to dloads.php.  I doubt this will work the way you are using it here as dloads.php won&#8217;t be able to find the files from its frame of reference.   dloads.php executes from the stats.domain.com server.  Your download files are on files.domain.com not stats.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
