[ale] A web page

Jim Lynch ale_nospam at fayettedigital.com
Tue Nov 20 04:55:39 EST 2007


Terry Bailey wrote:
>
>
> Hi,
>
> I am generating a web page on-the-fly using Perl.  So, the following 
> is at the top of the script.
>
> print "Content-type: text/html\n\n";
>
> But toward the bottom of the script, I need to be able to download 
> some binary files.
>
> One file is abc.movx and the other is xyz.mp3x.  abc.movx will 
> download but xyz.mp3x gives a 404 error.  They both have the same 
> read,write, execute parameters.
>
> I have tried using
>
> Print "Content-type: application/octet-stream"
>
> in various parts of the script, but , so far, that has not worked.
>
> Any help would be appreciated.
>
> Terry Bailey
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
If you are running Apache, look in the error log.  It sometimes give you 
more complete information on what the real problem is.

Jim



More information about the Ale mailing list