cfdocument   makes the broser download the file instead of executing it.

I have a printable document page that is not working
correctly. It used to work fine.
On one of the pages i have a link: <a
href="printppot.cfm?ID=#id#" target="_blank"> Print </a>
When I click on this it asks me if I want to download the
file. It used to just display the pdf.
Should it matter if this is in https://?
Should it matter if I have a <cfapplication> in my
application.cfm?

Can you check if the browser has the plugin to show the pdf
in the browser. If the plugin is not there, the browser wouldnt
know what to do with the file and will ask you to save it.
Have you tried with any other client browser? If you see the
same behaviour at all the browsers, then there is something wrong
in the response content type. You should check the
printport.cfm

Similar Messages

  • Nginx - browser downloads cgi file instead of executing it

    I installed monitorix from AUR and am running it with nginx.
    The initial page loads fine, but then when I select any report (Daily, Weekly etc) and click OK, I get a download window for monitorix.cgi file.
    Monitorix server block:
    server {
    listen 80;
    #listen [2001:db8:ffff:1::10]:80;
    server_name monitorix;
    root /usr/share/webapps/monitorix;
    error_log /usr/share/webapps/monitorix/logs/error.log;
    access_log /usr/share/webapps/monitorix/logs/access.log;
    log_not_found off;
    location /cgi-bin/ {
    gzip off;
    root /usr/share/webapps/monitorix;
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/run/fcgiwrap.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    monitorix.conf
    # Monitorix - configuration file
    # See monitorix.conf(5) manpage for a detailed description of each option.
    title = Place a title here
    hostname = nanoBox
    theme_color = black
    refresh_rate = 150
    iface_mode = graph
    enable_zoom = y
    netstats_in_bps = n
    disable_javascript_void = n
    temperature_scale = c
    show_gaps = n
    global_zoom = 1
    max_historic_years = 1
    accept_selfsigned_certs = y
    include_dir = /etc/monitorix/conf.d
    base_dir = /srv/http/monitorix/
    base_lib = /var/lib/monitorix/
    #base_url = /
    base_url = /
    base_cgi = /cgi
    <httpd_builtin>
    enabled = n
    host =
    port = 8080
    user = nobody
    group = nobody
    log_file = /var/log/monitorix-httpd
    hosts_deny =
    hosts_allow =
    <auth>
    enabled = n
    msg = Monitorix: Restricted access
    htpasswd = /var/lib/monitorix/htpasswd
    </auth>
    </httpd_builtin>
    Monitorix log:
    Fri Feb 27 00:07:14 2015 - Starting Monitorix version 3.6.0 (pid 29746).
    Fri Feb 27 00:07:14 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.
    Fri Feb 27 00:07:15 2015 - Initializing graphs.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/system.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/kern.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/proc.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/fs.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/net.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/netstat.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/serv.rrd' file.
    Fri Feb 27 00:07:15 2015 - Creating '/var/lib/monitorix/port.rrd' file.
    Fri Feb 27 00:07:16 2015 - Creating '/var/lib/monitorix/user.rrd' file.
    Fri Feb 27 00:07:16 2015 - Creating '/var/lib/monitorix/int.rrd' file.
    Fri Feb 27 00:07:16 2015 - Generating the 'index.html' file.
    Fri Feb 27 00:07:16 2015 - Ok, ready.
    Fri Feb 27 00:13:29 2015 - SIGTERM caught.
    Fri Feb 27 00:13:29 2015 - Exiting.
    Sat Feb 28 09:33:30 2015 - Starting Monitorix version 3.6.0 (pid 25563).
    Sat Feb 28 09:33:30 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.
    Sat Feb 28 09:33:30 2015 - Initializing graphs.
    Sat Feb 28 09:33:31 2015 - Generating the 'index.html' file.
    Sat Feb 28 09:33:31 2015 - Ok, ready.
    Sat Feb 28 09:49:00 2015 - SIGTERM caught.
    Sat Feb 28 09:49:00 2015 - Exiting.
    Sat Feb 28 09:49:00 2015 - Starting Monitorix version 3.6.0 (pid 30026).
    Sat Feb 28 09:49:00 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.
    Sat Feb 28 09:49:00 2015 - Initializing graphs.
    Sat Feb 28 09:49:01 2015 - Generating the 'index.html' file.
    Sat Feb 28 09:49:01 2015 - Ok, ready.
    Sat Feb 28 09:50:36 2015 - SIGTERM caught.
    Sat Feb 28 09:50:37 2015 - Exiting.
    Sat Feb 28 09:50:37 2015 - Starting Monitorix version 3.6.0 (pid 30498).
    Sat Feb 28 09:50:37 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.
    Sat Feb 28 09:50:37 2015 - Initializing graphs.
    Sat Feb 28 09:50:37 2015 - Generating the 'index.html' file.
    Sat Feb 28 09:50:37 2015 - Ok, ready.
    Last edited by Lockheed (2015-02-28 09:09:24)

    Yes, fcgiwrap is running. Here's its config:
    GNU nano 2.2.6 File: /usr/lib/systemd/system/fcgiwrap.socket
    [Unit]
    Description=fcgiwrap Socket
    [Socket]
    ListenStream=/run/fcgiwrap.sock
    [Install]
    WantedBy=sockets.target
    I don't think fcgiwraps has logs on my system.
    Also, I have no way to know the exact URL I'm redirected to because the OK I click is a button (so no RMB/copy destination link possibiloity), and once I click, the download box shows up which only lists http://monitorix
    EDIT:
    I modified my monitorix server block:
    GNU nano 2.2.6 File: /etc/nginx/sites-enabled/monitorix
    server {
    listen 80;
    #listen [2001:db8:ffff:1::10]:80;
    server_name monitorix;
    root /usr/share/webapps/monitorix;
    error_log /usr/share/webapps/monitorix/logs/error.log;
    access_log /usr/share/webapps/monitorix/logs/access.log;
    log_not_found off;
    location /cgi-bin/ {
    gzip off;
    root /usr/share/webapps/monitorix;
    include /etc/nginx/fastcgi_params;
    fastcgi_pass unix:/run/fcgiwrap.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    location ~ \.cgi$ {
    root /usr/share/webapps/monitorix/cgi;
    fastcgi_pass unix:/run/fcgiwrap.sock;
    include fastcgi.conf;
    Now, when I click on OK, I get
    403 Forbidden
    and this is not form nginx, because there is no nginx signature underneath the error.
    Last edited by Lockheed (2015-02-28 11:45:42)

  • When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    It should be an attachment.  Your Mac just displays a preview of certain attachments (such as .pdfs) in the body of the message.  A PC, for example, will see it as an attached file rather than a preview.
    You can save the attachment on your Mac by Control-clicking on it and selecting Save Attachment.

  • Testing on a Mamiya 645DF  with an Aptus II-7 back.  What do I need to do to make the files readable on Adobe Bridge CS6?

    Hi there.  I'm running tests on a Mamiya 645DF + with an Aptus II-7 back.  The RAW files are "mos."  What do I need to do in order to make the files compatible/readable in Bridge CS6 and Photoshop CS6?
    Thanks!!

    I do not see a camera named "Mamiya 645DF" in the Adobe list of cameras supported by any and all versions of Adobe Camera Raw (ACR).  However, the Leaf Aptus-II 7 has been supported since ACR 4.6 in CS3 and ACR 5.1 in CS4.
    Camera Raw plug-in | Supported cameras
    Unless Mamiya somehow messes with the raw format of the Leaf back, your files should be opened by any version of ACR that runs with CS6.  The current version is "ACR 8.6 for CS6".
    Try Purging the Cache for the offending folder(s) through the Tools menu in Bridge.
    Tools >  Cache > Purge Cache for Folder "xxxx".

  • When I try to open a .pdf file it asks me to save the file instead of displaying it.

    When I try to open a .pdf file it asks me to save the file instead of displaying it?

    Gilad, I am new and I don’t know how to reply within the discussion site.  The browser I use is Firefox.  Thank you for any assistance.
    Martin
    Go Gators!!!!!!!!
    Martin M. Henderson, Jr.
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    [If you are posting using email, please turn your 'sig file' function OFF for posting]

  • How will u make the file not to be process by other?

    how will u make the file not to be process by other? thanq

    Hi Krishna,
    File locking is not supported.
    Look at the OSS note 821267 for File Locking / Incomplete Processing.
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • Moving one folder to another copies the files instead of moving them

    I have a folder in the top level of the system disk, and I want to move it into the 'Documents' folder/library.  When I click right and drag the folder over, it copies the files instead of just moving it. Just to be clear, the source folder and the target folder are on the same disk. 
    Thank you for helping!
    Pete

    I'm on 10.4.11 too.
    I could not duplicate your results.  On my system, the folder was always moved. 
    If I didn't have sufficent privileges, I got:
    Eventhou it says copy, it did a move after i enterred my password.
    I was on an admin id.
    Here are the permissions I tried.
    mac $ ls -ld 2doc
    dr--r--r--   4 root  wheel  136B Jul 31 13:05 2doc/
    mac $ ls -ld tdoc
    drwxr-xr-x   4 mac  admin  136B Jul 31 13:04 tdoc/
    mac $ mkdir 3doc
    mac $ chmod 444 3doc
    mac $ ls -ld 4doc
    dr-xr-xr-x   2 mac  admin  68B Jul 31 13:12 4doc/
    Robert

  • How to Configuration Boleto and make the files  - Bank Itau00FA   - Brazil

    Hi, Friends
    I need to configuration a bank since the beginning until to make a boleto and and make the files to send to the bank.
    I am alone in the customer and I do not have anyone  to help me.
    Thaks a lot.

    HEllo,
    The main transaction you'll use is FBZP. In this transaction you'll configure the payment method and the RFFO* program or PMW format you'll use.
    The main RFFO* programs are RFFOBR_V and RFFOBR_D.
    If you read the documentation of the programs (se38 -> program name -> documentation) you can see the steps you must perform in order to use the program.
    If you're going to use PMW you should check the  FEBRABAN_P format.
    After doing all the configuration steps you should create a variant for the print program and depending on your business requirements you shoulda add this to the last tab of F110.
    Regards,
    Renan

  • Download PDF files instead of viewing them within Safari?

    I would like to automatically download PDF files instead of having to view them within Safari.
    I have disabled Acrobat as the default reader and now Safari has switched to using Preview. However, I cannot find a way to also disable Preview to allow the PDF file to be downloaded instead of displayed within a Safari window.
    Anyone have any ideas on how to do this seemingly simple task?

    It's amazing to me that simply asking Safari to default to auto download a PDF is so arcane. It's incredible that Apple doesn't have a Safari preference for this very simple action!
    The Terminal and Onyx methods recommended above are just ways of accessing a setting for Safari that Apple hasn't added to Safari Preferences. As I understand it, settings like this are built into Safari - they just aren't readily user-accessible. This is why programs like Onyx and Safari Enhancer exist, to open up "hidden" features and settings.
    I imagine Apple's developers debate these things, trying to decide what would be simpler to leave out to avoid complexity and what confusion (but allow third-party or Terminal methods to access) and which would be better added to the regular Preferences settings.
    Since this is a feature you'd like to see in Safari Preferences, I'd recommend submitting this as feedback to Apple.
    In the meantime, though, I'd consider it a good thing that there are built-in ways to get the setting that you prefer. Personally, I don't find the default settings such a hindrance. They're intended to help the "average" user (the new Mac user, the non-technical user, etc.) who wants a PDF file to just open, without having to understand how to work with it. For the more savvy user, there are multiple methods of downloading and/or opening PDFs. I'm rather like you - I prefer to download PDFs (in which case I use the Control-click method if I notice the link is to a PDF) or sometimes I allow the PDF to open in Safari, then Control-click on the open PDF and choose the option to open in Acrobat Reader. I find the latter method even smoother than downloading and then opening, in fact. If I decide it's a file I want to keep, I save it to my hard drive; otherwise I just close it.

  • LSO: Download office files instead of embedded

    Hello colleagues,
    I hope you can help me with my current issue in my current Learning Solution implementation.
    Customer wants to use as part of a web based training different kind of Microsoft Office files, mainly powerpoint files, but for windows vista and windows 7 with office 2007 and higher versions Learning Solution always tries to download the files instead of show them embedded in the MS Internet Explorer or Mozilla Firefox.
    I tried with some earlier versions of Windows, like Windows XP and this works just fine, but in Windows Vista and Windows 7, this is not working.
    Have you seen a behavior like this one? If it so, how did you solve it?
    Thank you for the help in advance!
    Regards.

    It's amazing to me that simply asking Safari to default to auto download a PDF is so arcane. It's incredible that Apple doesn't have a Safari preference for this very simple action!
    The Terminal and Onyx methods recommended above are just ways of accessing a setting for Safari that Apple hasn't added to Safari Preferences. As I understand it, settings like this are built into Safari - they just aren't readily user-accessible. This is why programs like Onyx and Safari Enhancer exist, to open up "hidden" features and settings.
    I imagine Apple's developers debate these things, trying to decide what would be simpler to leave out to avoid complexity and what confusion (but allow third-party or Terminal methods to access) and which would be better added to the regular Preferences settings.
    Since this is a feature you'd like to see in Safari Preferences, I'd recommend submitting this as feedback to Apple.
    In the meantime, though, I'd consider it a good thing that there are built-in ways to get the setting that you prefer. Personally, I don't find the default settings such a hindrance. They're intended to help the "average" user (the new Mac user, the non-technical user, etc.) who wants a PDF file to just open, without having to understand how to work with it. For the more savvy user, there are multiple methods of downloading and/or opening PDFs. I'm rather like you - I prefer to download PDFs (in which case I use the Control-click method if I notice the link is to a PDF) or sometimes I allow the PDF to open in Safari, then Control-click on the open PDF and choose the option to open in Acrobat Reader. I find the latter method even smoother than downloading and then opening, in fact. If I decide it's a file I want to keep, I save it to my hard drive; otherwise I just close it.

  • Save link as option vanished in firefox 17.0.So now not able to download mp3 files.Instead click on mp3 files starts playing in some black player in firefox

    Save link as option vanished in firefox 17.0.So now not able to download mp3 files.Instead click on mp3 files starts playing in some black player in firefox.
    Earlier i was able to download mp3 files by pressing on link for some time and menu popus up "Save link as" but after recent update that option is gone.
    That option is desperately needed.
    One more thing is MP3 file start playing in black player on firefox when i actually want to download them and then play it.
    fix this issue ASAP.

    I still have the "Save link as" option in my context menu with FF 17. Maybe something went wrong with the update?

  • Make the installer for my executable run the DAqcarddriver and runtime engine installer automatically

    *Hi
    I would like to know how to make the installer for my executable run the DAqcarddriver and runtime engine installer automatically
    I would like to include run time engine and the drivers of  my daqcard(AI16XE50),( and maybe Ni daq or anything else needed?) in order to make my application portable for other computers on OS win98 and winXP .
    How can I do that
    thank you in advance
    Olivier

    Olivier,
    What version of LabVIEW are you using to build your application?  On a remote computer you should only need the drivers you are using and the Run-Time Engine.  You can attach installers to LabVIEW 8 installers, but for previous versions you will have to add it by opening the installer configuration page, configuring your installer and then configure the Advanced properties.  This will allow you to attach a EXE to the installer which you can run.  Also depending on the version of LabVIEW will affect the OS version that you will be able to install the RTE on.  LabVIEW 7.0 is the last version that can be installed on Windows 98. 
    Please let me know if you have any further questions and please include the version of LabVIEW you are using.  Thanks!
    Andy F.
    National Instruments

  • Firefox won't open localhost files, it downloads the file instead and then won't show images, IE9 localhost works fine.

    I have installed XAMPP to preview web pages locally. Everything works fine in IE9 but not in Firefox. When I load a localhost page Firefox downloads the file, then displays the downloaded file without showing images within the page.
    So, in IE9 the address bar looks like this (correctly): http://localhost/my_sites/WebMaestro/Exercises/Lesson8/changeImage.html
    In Firefox the address bar looks like this: file:///C:/Users/Rog/AppData/Local/Temp/changeImage-3.html

    Are you using a Firefox extension like '''Auto Save Document ''' ? If you are using then you need to disable it. The documents are stored as html-text only (no embedded objects like pictures etc.) As a result the images don't appear on browser.

  • How do I make the file extension (ie:  .tif, .jpg, .eps) in OS 9.2 visible?

    I'm trying to transfer files from an old G3 (OS 9.2) to a new G5 (OS 10.5.8). Most files do not show the extension in their name. For example, an Illustrator eps has the file name "layout_final". When I transfer it to the new machine, it recognizes it as an .EXE file and cannot open. If I type in the .eps file extension, where is now reads "layout_final.eps", it then opens in Illustrator. I don't want to have to resort to manually adding in the file extension to every file. Is there a way in OS 9.2 to automatically show/turn on the extension in the file name?
    Thanks for the help!
    Steve

    How are you transferring the files ?
    It sounds like you're going through some sort of Windows / DOS formatted media.
    If you can network the two Macs together instead, do so.
    If you can burn a CD or two on the Mac G3, do so.
    If you have to use a USB stick, format it to Mac HFS Extended (aka HFS+) on either and use that.
    The key is that if you transfer the files using something formatted for Mac, the file metadata should not be lost, and the files will appear on the G5 as expected, assuming that you have suitable apps to open the files in OSX 10.5

  • Urgent! How do I make the file smaller?

    I created a minute animation and the motion file is 3 MB. I exported it as quick time movie and the file is 600 something MB! I want it to be less than 200 MB is it possible? Please help.

    If you used Animation as the codec, try ProRes instead...
    Patrick

Maybe you are looking for

  • Theme 9 Giving Problem in APEX 3.2

    Hi all, I have used the Theme 9 for my APEX 3.2 Development. My previous application i have used Theme 3. there i used the below script that is working fine. when i used the same script its not working <script type="text/javascript"> function disForm

  • Unable to view all photos in Aperture library

    Only the last upload of photos are viewable.  Photos are on a Lacie external HD as is Aperture.  It does list the 407 Projects, 39512 photos but thumbnails of the events are blank.  I checked the Photo Filter and all boxes are unchecked. Any suggesti

  • Wireless Connection-Trying to Download

    I own a laptop that runs on a wireless connection. A lot of the time it loses Connection... I am worried that after I purchase my song,when it downloads I will lose connection. Will this mean that I just lose my money if I lose connection?

  • How to enlarge Pen Tool?

    When using the pen tool to make a path I can't always tell when the little circle or caret or minus sign is activated so I can close the path, expecially when it's over a color that is similar. I work from 1280 resolution and that may be part of it.

  • Error in CRM sales order

    Dear Experts, We are creating an order in CRM2007 but unable to upload into ECC6.0. When we create an order in crm BDOC  has been generated with green when we click on the error message we are able to see  errors with following "Sold-to party 700001