Re: [CentOS] Apache and CF

2009-05-06 Thread Jason Todd Slack-Moehrle
Hi Rick,

I uninstalled CF and re-installed, followed your steps and I am in  
business baby!

Thank you so so so much, I was banging my head against the wall for  
days.

Truly legendary help!

This whole list rocks so much. I am learning and not getting  
criticized for not understanding completely from the beginning.

-Jason

On May 5, 2009, at 8:57 AM, Rick Barnes wrote:

 Jason Todd Slack-Moehrle wrote:
 Hi All,

 I have a CentoS 5.3 Xen Instance at Mosso.

 I need to run ColdFusion and I have in the past successfully made
 everything work, but not on Linux rather Windows.

 I just cannot get Apache and CF talking. I added mod_jrun22, When I
 try to serve a CF file, I am asked to download binary data. I
 added .cfm and .cfml to Directory Index for /var/www/html in
 httpd.conf and nothing still.

 I have been trying to get this working for days.

 It is been awhile since I installed CF8. But after running the
 installer, start CF8 with:
 $ /etc/init.d/coldfusion_8 start

 Be sure to install httpd-devel as the connector script needs apxs.

 $ cd /opt/coldfusion8/runtime/bin
 $ ./wsconfig -server coldfusion -ws Apache -bin /usr/sbin/httpd \
 -script /etc/init.d/httpd -dir /etc/httpd/conf -coldfusion -v

 This should install the connector and restart Apache for you (edit as
 necessary). Then login to http://localhost/CFIDE/ to complete.

 If apache doesn't restart dpe to permissions, it could be SElinux
 $ chcon --reference=/usr/sbin/httpd \
 /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
 usually fixes it for Enforcing. If not try Permissive.

 Rick
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Apache and CF

2009-05-05 Thread Jason Todd Slack-Moehrle
Hi All,

I have a CentoS 5.3 Xen Instance at Mosso.

I need to run ColdFusion and I have in the past successfully made  
everything work, but not on Linux rather Windows.

I just cannot get Apache and CF talking. I added mod_jrun22, When I  
try to serve a CF file, I am asked to download binary data. I  
added .cfm and .cfml to Directory Index for /var/www/html in  
httpd.conf and nothing still.

I have been trying to get this working for days.

If anyone has a bit of free time, I can pay about $25. (Sorry, trying  
to get launched so my llc can make money). If anyone would trade  
'services' can offer copies of our peoducts when they go live or some  
CF dev.

-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache and CF

2009-05-05 Thread Rick Barnes
Jason Todd Slack-Moehrle wrote:
 Hi All,
 
 I have a CentoS 5.3 Xen Instance at Mosso.
 
 I need to run ColdFusion and I have in the past successfully made  
 everything work, but not on Linux rather Windows.
 
 I just cannot get Apache and CF talking. I added mod_jrun22, When I  
 try to serve a CF file, I am asked to download binary data. I  
 added .cfm and .cfml to Directory Index for /var/www/html in  
 httpd.conf and nothing still.
 
 I have been trying to get this working for days.

It is been awhile since I installed CF8. But after running the
installer, start CF8 with:
$ /etc/init.d/coldfusion_8 start

Be sure to install httpd-devel as the connector script needs apxs.

$ cd /opt/coldfusion8/runtime/bin
$ ./wsconfig -server coldfusion -ws Apache -bin /usr/sbin/httpd \
-script /etc/init.d/httpd -dir /etc/httpd/conf -coldfusion -v

This should install the connector and restart Apache for you (edit as
necessary). Then login to http://localhost/CFIDE/ to complete.

If apache doesn't restart dpe to permissions, it could be SElinux
$ chcon --reference=/usr/sbin/httpd \
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
usually fixes it for Enforcing. If not try Permissive.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache and CF

2009-05-05 Thread nate
Jason Todd Slack-Moehrle wrote:
 Hi All,

 I have a CentoS 5.3 Xen Instance at Mosso.

 I need to run ColdFusion and I have in the past successfully made
 everything work, but not on Linux rather Windows.

 I just cannot get Apache and CF talking. I added mod_jrun22, When I
 try to serve a CF file, I am asked to download binary data. I
 added .cfm and .cfml to Directory Index for /var/www/html in
 httpd.conf and nothing still.

Sounds like a mime type problem, do you have appropriate entries
in your mime.types for cold fusion(never used it myself).

Also I came across this in a blog posting, do you have something
similar in your config:
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf


nate


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos