in reply to mod_perl and writing to 755 folders

Is there anything I can do?

Yeah, give permission to apache user/group

  • Comment on Re: mod_perl and writing to 755 folders

Replies are listed 'Best First'.
Re^2: mod_perl and writing to 755 folders
by ultranerds (Hermit) on Jun 14, 2013 at 12:25 UTC
    Hi,

    Thanks for the reply :)

    How do I do that? Here is what I have in the conf:

    ServerName site.org ServerAlias www.site.org DocumentRoot /home/user/public_html ServerAdmin webmaster@site.org UseCanonicalName Off CustomLog /usr/local/apache/domlogs/site.org combined CustomLog /usr/local/apache/domlogs/site.org-bytes_log "%{%s}t %I +.\n%{%s}t %O ." ErrorLog /home/user/error_log ## User user # Needed for Cpanel::ApacheConf UserDir enabled user <IfModule mod_suphp.c> suPHP_UserGroup user user </IfModule> <IfModule !mod_disable_suexec.c> <IfModule !mod_ruid2.c> SuexecUserGroup user user </IfModule> </IfModule> <IfModule mod_ruid2.c> RUidGid user user </IfModule> ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/ PerlRequire /home/user/startup.pl <Directory /home/user/public_html/cgi-bin/links> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Directory> # To customize this VirtualHost use an include file at the followi +ng location # Include "/usr/local/apache/conf/userdata/std/2/user/site.org/*.c +onf" </VirtualHost>


    Would I just add this into my <directory> part?

    SuexecUserGroup user user

    TIA

    Andy

      How do I do that?

      Some form of chmod or chgrp I imagine, but it's been a very long time since I've dealth with this