On 30 Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> =wrote:Thanks =Tom.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI didn=E2=80=99t =want to have to do it that way, may have to do some redirection back or =something.Would= you consider this a bug ?On 30 Jul 2015, at 19:39, Tom Duke <tom@revolutionaries.ie> wrote:Stuart,Hi =- the WebDNA page is being served out as text/html - the 'Content-Type' =setting within the '[returnraw]' is not being set. I have this =issue as well using WebDNA 6.2 on CentOS5.So ...You need to set up two pages, one that =lists the files (index.html) and one that contains the '[returnraw]' =code and serves out the files (download.html). Then add a =.htaccess file with:<Files download.html>=AddType application/octet-stream html</Files>This sets the correct mime-type for the =download page and the download should work as expected in all =browsers: Take care- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, =Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=On 30 July 2015 at 03:25, =Stuart Tremain <webdna@idfk.com.au> wrote:Hi---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us=Bug Reporting: support@webdna.usI am not sure if ReturnRaw gets much =use but I have been experimenting with it lately and have encountered a =big problem with Safari on Mac.Using the BinaryBody =option and example at the bottom of the page I can get this to work =properly in Chrome & Firefox but in Safari the file always downloads =with a .html extension.I have spent hours with server (Apache2 on Ubuntu 12.04) =& .htaccess configs but can not get it to go away !!Does anyone have any =insights with this ?.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
On 30 Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> =wrote:Thanks =Tom.---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI didn=E2=80=99t =want to have to do it that way, may have to do some redirection back or =something.Would= you consider this a bug ?On 30 Jul 2015, at 19:39, Tom Duke <tom@revolutionaries.ie> wrote:Stuart,Hi =- the WebDNA page is being served out as text/html - the 'Content-Type' =setting within the '[returnraw]' is not being set. I have this =issue as well using WebDNA 6.2 on CentOS5.So ...You need to set up two pages, one that =lists the files (index.html) and one that contains the '[returnraw]' =code and serves out the files (download.html). Then add a =.htaccess file with:<Files download.html>=AddType application/octet-stream html</Files>This sets the correct mime-type for the =download page and the download should work as expected in all =browsers: Take care- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, =Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=On 30 July 2015 at 03:25, =Stuart Tremain <webdna@idfk.com.au> wrote:Hi---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us=Bug Reporting: support@webdna.usI am not sure if ReturnRaw gets much =use but I have been experimenting with it lately and have encountered a =big problem with Safari on Mac.Using the BinaryBody =option and example at the bottom of the page I can get this to work =properly in Chrome & Firefox but in Safari the file always downloads =with a .html extension.I have spent hours with server (Apache2 on Ubuntu 12.04) =& .htaccess configs but can not get it to go away !!Does anyone have any =insights with this ?.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...