[EMAIL PROTECTED] 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.
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners