[Project_owners] Unwanted update manifest (update.rdf) caching

Alex Eng ateng at users.sourceforge.net
Sat Jul 22 12:50:06 EDT 2006


eric.jung at yahoo.com wrote:
>> for the browser to refetch the file after 1 hour. However PHP
>> appears not to be parsed inside of files named ".rdf", so I had to
>> use
> ">.rdf.php" instead. However all my existing update files are named 
> ">.rdf". Is there a mozdev configuration option to allow parsing of
> PHP
>> inside .rdf files?
> 
> Create a file named .htaccess in the directory containing update.rdf
> (with the PHP code). In .htaccess, add this line: AddType
> application/x-httpd-php .rdf This should instruct apache to treat
> .rdf files in that directory as PHP files.
> 
> 
> 

I've tried your suggestion above, but I get an XML parsing error ("xml 
declaration not at start of external entity") when I either try to 
update my extension or load update.rdf directly in the browser.

I tried setting the variable $local_conf_mime_types = ON in the 
local.conf file for my project - but that had no effect.


More information about the Project_owners mailing list