I'm trying to use Suexec in my computer. I've installed apache with default settings (so Suexec is installed with my emerge Apache , Gentoo) .
My settings on /etc/conf.d/apache2
When I'm restarting my apache, I've the correct line on my log who indicate Suexec is running well :
I create an user
/usr/sbin/useradd evolv -m -s /bin/bash
In /var/www/evolv/public_html folder, I create php file with :
"<?php echo "user: ".exec('whoami');?>"
My vhost below :
SuexecUserGroup is well using because, if I changed anything in this line, I have an error when I'm restarting apache. So, no error on apache restart, but always : "user: apache"! What's wrong ?
Hi,
I am using the below command in
suexec -u webuser /local/Tomcat7//0/tc7u/tomcat7.sh status
But it prompts for the password of executing user.
Let me know if any options available for passwordless or supplying password in script. (0 Replies)
The Apache server suddenly stops. I am running Debian Jessie
Here are some diagnostics:
root@meow:/var/www# apachectl configtest
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress... (4 Replies)
I have running apache2 and I want to enable ssl in my server for that I compile openssl without errorshttp://ubuntuforums.org/images/smilies/icon_lol.gif But when i start Apache it gives following error,,,,,,,http://ubuntuforums.org/images/smilies/confused.gif
Code:
... (1 Reply)
I am running apache2 in my local network and I am learning about the ssl.
I found this document.
It tell me to run the following command (down) in order to generate SSL certificate:
apache2-ssl-certificate
However when I run the command I get the message that there is no such command.
I... (6 Replies)
Hi all,
I am trying to setup apache w/ suexec to avoid permission problems w/ apache user and website user and also to be able to run a second (test) domain on the same server.
So far I got fcgi w/o suexec running perfectly (logs confirm that). But as soon as I enable the suexec statement in the... (0 Replies)
I am using apache2-2.0.49-27.8 supply with suse Enterprise 9 CD, the
installation went fine. But am tring to configure apache2 to
authenticate to LDAP, so added "ldap" to /etc/sysconfig/apache2
APACHE_MODULE="ldap"
and the to /etc/apache2/httpd.conf
LDAPSharedCacheSize 200000
... (0 Replies)
guys here's a section of my program written in perl. This part is used to create directories with 777 mode. Now i know about 777 being a security hole. Could anyone provide me a possible solution to this using suexec?????????
Segment
system mkdir ".$file_folder", 0777 or die "Can't make... (13 Replies)