.pl.gz files don't get downloaded

Using apache I was trying to host a gzipped perl script (script.pl.gz) for downloading. The problem was that apache (on Linux) would still try and execute it with perl and that breaks the download. After some searching I found the solution. Add this line to the .htaccess file in the folder:
AddHandler default-handler .pl
Note that this will break any perl scripts running out of this directory (or subdirectories).

Posted by dustin on June 19, 2004 with category tags of

   

Vorg — Tag Cloud

Written by dustin
Latest Photo
Quote of Now:
Friends
Popular Posts
Computer Games

Hey You! Subscribe to dustin's RSS feed.
Or get wider opinion in the Vorg All Author feed.

 
 

Members login here.
© Vorg Group.