ls -l /home/user/domains/domain.com/public_html/cgi-bin/count/tc.cgi
Please show the first 5 lines of the CGI file (source)I don't understand what you mean with "what the first 5 lines are"
#!/usr/bin/perl
#
################################################ #####################
###
###
<VirtualHost 000.000.000.000:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
ServerAdmin [email protected]
DocumentRoot /home/user/domains/domain.com/public_html
ScriptAlias /cgi-bin/ /home/user/domains/domain.com/public_html/cgi-bin/
UseCanonicalName OFF
#SuexecUserGroup user user
RMode config
RUidGid user user
RGroups apache
CustomLog /var/log/httpd/domains/domain.com.bytes bytes
CustomLog /var/log/httpd/domains/domain.com.log combined
ErrorLog /var/log/httpd/domains/domain.com.error.log
<Directory /home/user/domains/domain.com/public_html>
Options +Includes -Indexes
php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value open_basedir /home/user/:/tmp:/var/tmp:/usr/local/lib/php/
</Directory>
</VirtualHost>
ls -lah /usr/bin/perl
Also it should be root:root and not root:apacheI think that's it. Thanks!!
chown root:root /usr/bin/perl
That shouldn't really matter; apache has the same permissions under both ownership scenarios.Also it should be root:root and not root:apache
I'm having another issue with a client. He says that after installing mod_ruid2 the emails sent from php forms are now sent from "[email protected]". Do you guys know if this has anything to do with mod_ruid2 and if yes, how to solve it?