For the lines you are having me add, I went to the apache website section in my template settings, and the first large box that is enabled after you choose: "apache directives below..." is where I added them.
Yes, but explicitly they ought to be in the public_html Directory section within that. e.g. something like this:
<Directory ${HOME}/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/doxfer/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/doxfer/fcgi-bin/php5.fcgi .php5
</Directory>
Next,
When you refer to the virtual hosts section, are you referring to the virtual host declarations for each domain in httpd.conf? Would I add:
RemoveHandler .php
RemoveHandler .php4
to the ends each virtual host declaration in httpd.conf?
Well, yes, but I’m talking about Server Templates, so you only need to add it once (except for existing virtual servers. In the Server Templates case, put it at the end of the text in the same field as the Directory stuff I just mentioned.
Am I just making someting like wrappers.sh with this code and placing it in the /etc/skel directory? Do scripts in that directory get run automagically? :)
No, there’s no magic here. They need to be named what you called them in the FCGIWrapper directives. In my examples php5.fcgi or php4.fcgi in the fcgi-bin directory.
Now, you mentioned this was all scripted in the pro install scripts, so im guessing this features comes by default in the pro version?
Yes, it’s part of the Install Scripts feature (which needed this capability in order to install all of the 80 or so scripts that Virtualmin Professional can automatically install, since some require PHP4 and some require PHP5).
Thanks for not just saying "buy the pro version" :)
If we didn’t want people using the GPL version, we wouldn’t offer it. Remember, we’ve been Open Source developers far longer than we’ve built commercial products (and longer than most people have known what FOSS is). It’s not something we do for the PR value.
We also enjoy making a living, of course. But you’ll buy it when you want what Professional offers. In the meantime, we’ll just get you hooked on all the great stuff Virtualmin can do (GPL is already more powerful than any of our competitors…Professional is playing a whole new game). And, of course, next time you sign up for hosting, you’ll ask your hosting provider for Virtualmin Professional pre-installed because you’re used to it, and know how to do lots of cool stuff with it. And then we’ll all be very happy.