Re: [BackupPC-users] images not displayed on the status page
2008-06-03 08:49:20
>-----Original Message-----
>From: backuppc-users-bounces AT lists.sourceforge DOT net
>[mailto:backuppc-users-bounces AT lists.sourceforge DOT net] On
>Behalf Of Nils Breunese (Lemonbit)
>Sent: Tuesday, June 03, 2008 3:01 PM
>To: backuppc-users AT lists.sourceforge DOT net
>Subject: Re: [BackupPC-users] images not displayed on the status
page
>
>Benedict simon wrote:
>
>> Thanks Guys and really apprecite for your quick reply actually
under
>> mu cgi-bin director i only have the BackupPC_Admin script which
is
>> installed by the install program.
>> only i had a soft link in my cgi-bin directory to the images
>directory
>> which was under /var/www/images i still have the same problem but
>> diiferent error
>>
>> let me do give u some more details
>>
>> 1) apache runs as user backuppc and group apache
>> document root is /var/www/cgi-bin -- in cgi-bin only
BackupPC_Admin
>>
>> -r-sr-x--- 1 backuppc apache 3993 Jun 2 23:38 BackupPC_Admin
>
>If you're not using mod_perl there is no need to run Apache as
>the backuppc user. Also, the s-bit is not really needed if you
>run Apache as backuppc. I suggest using the plain CGI mode by
>the way as it's easier to setup and since I don't spend a lot
>of time in the web interface I don't really notice the
>difference actually.
>
>> 2) the image directory where images are is /var/www/html and
owner
>> group is backuppc user with only read permission to all images
files
>>
>> 3) in /etc/BackupPC/config.pl file i see the following
>>
>> $Conf{CgiImageDir} = '/var/www/html';
>> and
>> $Conf{CgiImageDirURL} = '/html';
>
>That seems wrong. If /var/www/html is your document root then
>the images should be available at /, not /html.
But he said his DocumentRoot is /var/www/cgi-bin, which is also
probably a *bad* idea.
And furthermore, I think that sym-links in the cgi-bin directory
should *not* work by default.
Benedict: Why not go back to the standard Apache setup :
DocumentRoot /var/www/html
put BackupPC images under /var/www/html/images
then: $Conf{CgiImageDir} = '/var/www/html/images'
$Conf{CgiImageDirURL} = '/images'
--
Micha
>
>Nils Breunese.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|