Re: [users@httpd] Cannot get ExecCGI to work with userdir apache 2.4.6

2015-07-27 Thread Aftab Ansari
Hello, The issue of not being able to execute cgi from user dir is also caused due to suexec. You can disable it by following below: # whereis suexec mv /usr/sbin/suexec /usr/sbin/suexec_disabled You can always enable it by renaming the file again. On Mon, Jul 20, 2015 at 7:41 PM, Tucker, Doug

Re: [users@httpd] Cannot get ExecCGI to work with userdir apache 2.4.6

2015-07-20 Thread Yann Ylavic
On Mon, Jul 20, 2015 at 5:09 PM, Tucker, Doug wrote: > > You may also use DirectoryMatch ([1]) to be more precise/restrictive about root paths, by using regular expressions. [1] http://httpd.apache.org/docs/2.4/mod/core.html#directorymatch --

Re: [users@httpd] Cannot get ExecCGI to work with userdir apache 2.4.6

2015-07-20 Thread Tucker, Doug
RESOLVED. Thank you for the reply. My users have different home directory paths that do not all originate from the /home so (in my case) from error you can see in the original post my /users4 is not true for all users, some are /users and others /users5. I wasn't sure how to handle that and

Re: [users@httpd] Cannot get ExecCGI to work with userdir apache 2.4.6

2015-07-20 Thread Marat Khalili
Hello, According to http://httpd.apache.org/docs/2.4/mod/core.html#directory : None of the wildcards match a `/' character, so |"/*/public_html">| will not match |/home/user/public_html|, but || will match. -- With Best Regards, Marat Khalili On 20/07/15 17:11, Tucker, Doug wrote: I'm at

[users@httpd] Cannot get ExecCGI to work with userdir apache 2.4.6

2015-07-20 Thread Tucker, Doug
I'm at my wits end. This same configuration works fine on our old apache 2.2. I have read through the documentation for 2.4 and searched far and wide but cannot seem to solve this. I'm running out of the box apache that came with centos 7. selinux is disabled Main virtual host setting in the