[Project_owners] File management

Brian King brian at mozdev.org
Thu Jan 8 15:44:04 EST 2004


On 8.1.2004 15:19, Luca Minuti wrote:

> Hi,
> 
> I uploaded a xul file to mozdev but as you can see here:
> 
> http://mozimage.mozdev.org/mozimage_sidebar.xul
> 
> this file is considered as an html file and heavy modified. How can I
> avoid this? I know xul file must be put in src directory but this one
> must be opened directly by the browser.

It's probably a good idea to put the file in a sub-dir, e.g. www/xul/, 
and then in the local.conf for that dir, turn on the following setting:

$local_conf_mime_types=ON

This will send the proper MIME-type for a file based on its extension.

-- 
Brian King
www.mozdev.org
www.mozdevgroup.com


More information about the Project_owners mailing list