Add suexec to gpl

subject says it all..:)

Status: 
Closed (fixed)

Comments

Not going to happen... this is pro feature only.

are you an official rep of virtualmin?

When you say "add suexec" , what do you mean exactly? Do you mean running PHP via suexec, or something else?

in virt pro you can check run scripts as user and it does..without having to backbuild scripts or jump through hoops. It would be nice for that ability to be present in virt gpl...

I actually thought we did have a custom suexec in the GPL version.

What is the version of the httpd package you have there? And did you install Virtualmin GPL using our install script?

I am running the version of httpd on CetnOS5 your install script installs. However i am running 2.2.3 of apache.

I have been through the settings and i don't see the ability to set run scripts as anybody..

What does rpm -q httpd report on your system?

ronald's picture
Submitted by ronald on Mon, 02/08/2010 - 11:39 Pro Licensee

I actually just did this manually on a 2nd box running gpl.
httpd-2.2.3-22.el5.1vm

It would have saved a couple hours searching and figuring out what to do exactly if switching was a gpl feature as well.
No one should have to run mod_php in my opinion.

the process of switching from mod_php to mod_fcgi is in a sticky in the forum with 73 or so replies and has incomplete instructions.

Ok .. so did upgrading to the httpd-2.2.3-22.el5.1vm version fix the issue?

ronald's picture
Submitted by ronald on Mon, 02/08/2010 - 14:59 Pro Licensee

I cant really speak for hescominsoon, the OP.
I thought Id just chim in to promote execution mode switch availability in the GPL version.
For me it is working now though.

Joe's picture
Submitted by Joe on Tue, 02/09/2010 - 01:17 Pro Licensee

Jamie, this ticket isn't about httpd with suexec compiled for /home. It is about the ability to choose the PHP execution mode for virtual servers within Virtualmin, which is currently a Pro-only feature (so, technically, it is not about suexec, at all, but about PHP and the way PHP is executed; because CGI scripts are already executed under suexec under Virtualmin GPL, by default).

Right now the way to do suexec PHP in Virtualmin GPL is to set it up system-wide; there is a stickied thread about it in the Virtualmin forum. It takes five-ten minutes, and only needs to be done once.

It probably should be moved into GPL, but it's code that is currently tightly tied to the Install Scripts feature (though it probably doesn't need to be), so moving it down isn't necessarily trivial.

rpm command gives: httpd-2.2.3-22.el5.1vm

The thread is not very informative..it's fragmented..and not self-evident for non-cli system admins like myself. I use virtualm to keep me away form the cli for things i don't know how to do..and virt was one of those things. I've spent hours trying to understand that thread and finally had to use the apache apache solution i talked about in that thread. It's not the best but it allows my scripts to run without errors. Jopw is correct about the execution mode but he's not correct about it being trivial and non-technical. If you are a cli hound yeah it's great...if your not it's a disjointed, incomplete, thread.

Joe - we could certainly port the PHP suexec feature to the GPL version. It isn't even that closely tied to script installation..

is this coming to gpl or is it going to remain pro only? If pro only that's fine..:)

It may be in the GPL 3.78 release ..

wow kewlies!..if not it's ok..i know there has to be some commercial deviation..:)

Look for this in the 3.78 GPL release ..

kewlies!...:)

Automatically closed -- issue fixed for 2 weeks with no activity.