Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I make cfimage work with ColdFusion 10 on Apache?
    primarykey
    data
    text
    <p>I just upgraded from ColdFusion9 to ColdFusion10 on OS X running the included Apache web server. Now all of my images that I was writing to the browser using cfimage with the writeToBrowser option throw 404 errors.</p> <p>Under CF9, I had previously set my web server up to use a few virtual directories with a self-signed cert to enable SSL. I don't think SSL is part of the problem, but the more you know, the better.</p> <p>It looks like there is just a missing mapping of some sort that doesn't get made during the installation process (which I've done a few times with the same results).</p> <p>I tried adding an alias to the CFFileServlet directory which changed my 404s to 403s, but I am unsure what to do to correct that since all of the filesystem properties show read for everybody.</p> <p>Is there some guidance out there on how to set up the virtual directories to make the CFFileServlet location work in my websites?</p> <p>If I look in the actual directory, the files are getting created there correctly.</p> <p>Here is a sample of what's in my virtualHosts file:</p> <pre><code> &lt;VirtualHost *:80&gt; DocumentRoot "/Library/WebServer/Documents/xxxxxxxxxx" ServerName xxxxxxxxxx.local DirectoryIndex index.cfm Options FollowSymLinks Alias /CFIDE /Library/WebServer/Documents/CFIDE Alias /mxunit /Library/WebServer/Documents/mxunit RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} &lt;/VirtualHost&gt; &lt;VirtualHost *:443&gt; SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /etc/apache2/ssl/xxxxxxxxxx.crt SSLCertificateKeyFile /etc/apache2/ssl/xxxxxxxxxx.key DocumentRoot "/Library/WebServer/Documents/xxxxxxxxxx" ServerName xxxxxxxxxx.local DirectoryIndex index.cfm Options FollowSymLinks Alias /CFIDE /Library/WebServer/Documents/CFIDE Alias /mxunit /Library/WebServer/Documents/mxunit &lt;/VirtualHost&gt; </code></pre> <p>Thanks in advance. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload