ColdFusion & Plesk & Server Architecture Matt | 19 Oct 2007 09:33 am
ColdFusion 8 and Plesk 8 on RedHat 5 via mod_jrun22
After installing Plesk 8 on a RedHat 4 box I’ve needed to install Plesk 8 on Redhat 5. RedHat 5 uses mod_jrun22. Well it’s Apache 2.2 that uses mod_jrun22, so any version of Linux running Apache 2.2 will use this connector.
Since Plesk doesn’t support CF8 yet, it still writes out its apache directives looking for mod_jrun20. This needs to be modified to get per domain support for CF8 and Apache 2.2
Warning this will void your warranty!
I grepped the plesk install directory looking for mentions of jrun. I found a binary file that matched: /usr/local/psa/admin/sbin/websrvmng
Looking at this file, on line 228 there’s a mention of mod_jrun20 in plain text. This is the part of the websrvmng that writes out the http directives. After making a backup of this file I took a chance at making an edit. I simply changed mod_jrun20 to mod_jrun22 and saved the file.
Sure enough, plesk is happy. Now when checking the ColdFusion box in a domain setup I see <IfModule mod_jrun22.c> in the httpd.include file for that domain rather than <IfModule mod_jrun20.c>.
Be careful here, I’m sure this change would not survive a plesk update to websrvmng. After each plesk update double check this file to make sure it still points to mod_jrun22.










on 19 Oct 2007 at 10:41 am 1.John said …
Thanks man this is exactly what i needed. cf8 here I come!!!!! w00tness.
on 31 Dec 2007 at 8:22 pm 2.Mike said …
Still no go in RHEL 5 Plesk 8.3
grep -ri jrun /etc/httpd/conf.d
grep -ri jrun /etc/httpd/conf
Both show nothing…
I did make the mod_jrun20 to 22 change and that is all said and done and shows as running but it STILL doesnt parse.
on 31 Dec 2007 at 9:35 pm 3.Mike said …
Still no luck… The psa dir isnt in the wsconfig directory. Any ideas?
on 03 Jan 2008 at 1:16 pm 4.Matt said …
The CF/Plesk install process starts with what I’ve explained over here about Plesk 8 and Redhat 4: http://www.usercore.com/2007/08/29/coldfusion-8-and-plesk-8-on-red-hat-es-4/
The stuff in this post is just an addendum specific to Redhat Enterprise 5. I’m curious to know if you have troubles specific to Plesk 8.3 though. I’m still running 8.2.1 on both of my Redhat/CF machines.
on 29 Jan 2008 at 9:08 am 5.David Evenson said …
I got 8.3 working on CentOS 5.1, so I’d imagine that 8.3 and RHEL 5 are going to be happy as well.