Forcing a browser to render a page dependent of file type

For fun I would like to use a “.l337” file ending for my web page. It correctly renders as a “.html” as well. However, I can only get IE to render the page, and I can’t get Netscape based browsers to render the page. Is there a code snippet that I can use to force the browser to render the page as it would a traditional HTML doc?


You need to send the pages as type text/html. Use this .htaccess snippet:

AddType .l337 text/html

Thanks, man!