Sorry my bad - silly typo! From: Zahir Lalani Sent: 22 June 2015 17:10 To: Perl Dancer users mailing list Subject: X-Sendfile Hi All I have my image gallery working using send_file. But I am now trying to use X_Sendfile in apache to deal with image delivery. The code for send_file is replaced with: # use x-send header('Content-Type' => $mime); header("X-Sendfile: $file"); but I get the following error: Illegal field name 'X-Sendfile: /mnt/assets/1/56/8f/568f1a76-9e17-4027-8556-ed19155708c3/800.jpg' at (eval 384) line 17. The x-send module is enabled - not sure if this is a dancer issue or an apache one? Thx Zahir Lalani Head of Development & Architecture [cid:96F784CA-E917-4CC1-A9A9-96CBDA2AF2BC] 2 Tabernacle Street, London, EC2A 4LU m: +44 (0)7956 455168 e: zahirlalani@oliver-marketing.com<mailto:zahirlalani@oliver-marketing.com> w: www.oliver-marketing.com<http://www.oliver-marketing.com/>
participants (1)
-
Zahir Lalani