This is a reminder to people that might be getting a 500 error when creating a site in IIS7 with coldfusion support. I used the Coldfusion web config tool but was still getting a 500 error. I then remembered it was a 64bit machine but it was Coldfusion was 32bit. I had to go into the advance settings for the application pool and set Enable 32-bit Applications to true.
On a few of my servers I use Apache with Apache Tomcat. and ProxyPass to forward requests from apache over to Tomcat for my Coldfusion pages. The part I have been struggling with for so long was how to do password protected directories in apache. Either by adding the config to the VirtualHost directive or by .htaccess. It seemed no matter what I did, requests were getting proxied and there was nothing I could do about it. Tonight I finally found my answer: The ProxyPass ! combo: ProxyPass /dealers/ ! Here is the whole apache configuration I use for connecting Apache to Tomcat and URL Rewriting: I found this mentioned on a Sitepoint Post
Comments
Post a Comment