Oct
07
2008
0

HowTo – publish flash animation with IIS6

Before recently I had not required to publish any flash animations with a windows server running IIS6.  Come to find out that it is really easy to do.  I ran across the following blog below with the correct information.  I’ll include the steps below the url for posterity.

http://it.toolbox.com/blogs/rymoore/adding-flv-mime-type-in-iis-4198

Adding .flv MIME type in IIS

1) Select the site to configure in IIS, right click and select “Properties”
2) Under HTTP Headers Tab, select “File Types” under the MIME Map section and select “New Type”
3) Type “.flv” as the associated extension and “video/x-flv” as the content type.
4) Select “OK” and you’re ready to fly!

Written by Tom Tags: , , , , , ,
Aug
25
2008
0

How-To – Redirect 404 to index page via PHP

I’ve been working a quirky sub-domain 404 issue and I found a quick and clean redirect script. Instead of a nasty 404 page you can redirect the web request to the index page. I found the helpful script here: http://css-tricks.com/how-to-redirect-indexhtml-to-indexphp/

I deleted whatever text was in 404.php and replaced it with:


header( 'Location: http://www.redirect-location.com' );
exit();
?>

Worked like a charm for me!

Written by Tom Tags: ,

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes