Yaakov Chaikin wrote:
> Allen,
> 
> In that blog, he the user for the Apache server (in httpd.conf)  is
> the SAME as the user for the BackupPC server (in config.pl).
> 
> Yes, that works for me too. However, I am trying to separate the user
> that runs Apache and the user that runs BackupPC.
> 
> The docs seem to say that all I need to do is make the CGI script
> below to the group that the Apache server belongs to. I did that and
> it still doesn't work.
> 

Mod_perl runs a perl interpreter embedded in the httpd process.  Thus 
they must run under the same uid since it's the same process.  If you 
want to run under different uids, you must remove the httpd.conf 
configuration that uses mod_perl and run it with the CGI interface. That 
has the disadvantage of starting a new process for every page, but 
normally you don't spend that much time in backuppc's web interface anyway.

As an alternative, you can run two instances of httpd on the same 
machine if you make them listen on different ports or IP addresses. With 
that approach you could run one instance that does nothing but backuppc 
and execute as user backuppc while the other runs as apache.

-- 
   Les Mikesell
    [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to