BackupPC-users

Re: [BackupPC-users] images not displayed on the status page

2008-06-03 10:06:19
Subject: Re: [BackupPC-users] images not displayed on the status page
From: "Benedict simon" <simon AT kmun.gov DOT kw>
To: "Adam Goryachev" <adam AT websitemanagers.com DOT au>
Date: Tue, 3 Jun 2008 17:25:57 +0300 (AST)
Thanks adam,,
so nice of you..

jus worked like a charm the moment i changed my doc root to /var/www
instead of /var/www/cgi-bin

but now to start the backuppc server i have to write
http://hostname/cgi-bin/BackupPC_Admin and thats not a problem

its never stuck me i cd change the doc root and accordingly adjust the URL
in my browser.
used to change the doc root n tried but not changing the URL in my browser


thnkss so muc

really apprecite



regards

simon


i start to test the server now for backup


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Benedict simon wrote:
>> 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
>
> This is definitely wrong! your document root should be /var/www
>
>> -r-sr-x--- 1 backuppc apache 3993 Jun  2 23:38 BackupPC_Admin
>> 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 is fine.... once you change the above doc root.
>
>> 4) here below is apache access log
>> [03/Jun/2008:14:40:07 +0300] "GET /BackupPC_Admin HTTP/1.1" 200 4102 "-"
>> "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
>> xx.xx.xx.xx - - [03/Jun/2008:14:40:08 +0300] "GET
>> /html/BackupPC_stnd.css
>> HTTP/1.1" 404 298 "http://xx.xx.xx.xx/BackupPC_Admin"; "Mozilla/4.0
>> (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) "xx.xx.xx.xx -
>> -
>> [03/Jun/2008:14:40:08 +0300] "GET /html/sorttable.js HTTP/1.1" 404 293
>> "http://xx.xx.xx.xx/BackupPC_Admin"; "Mozilla/4.0 (compatible; MSIE 7.0;
>> Windows NT 5.1; .NET CLR 1.1.4322)"
>> xx.xx.xx.xx - - [03/Jun/2008:14:40:08 +0300] "GET /html/logo.gif
>> HTTP/1.1"
>> 404 289 "http://xx.xx.xx.xx/BackupPC_Admin"; "Mozilla/4.0 (compatible;
>> MSIE
>> 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
>>
>> 5) here my apache error log
>>
>> [Tue Jun 03 14:40:08 2008] [error]
>> slurp_filename('/var/www/cgi-bin/html')
>> / opening: (2) No such file or directory at
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm
>> line 540
>> [Tue Jun 03 14:40:08 2008] [error]
>> slurp_filename('/var/www/cgi-bin/html')
>> / opening: (2) No such file or directory at
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm
>> line 540
>> [Tue Jun 03 14:40:08 2008] [error]
>> slurp_filename('/var/www/cgi-bin/html')
>> / opening: (2) No such file or directory at
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm
>> line 540
>>
>>
>> jus wondering from where the ('/var/www/cgi-bin/html') is commin in the
>> logs
>
> Because your docroot is /var/www/cgi-bin and the image URL is /html ...
>
>> really wd apprecite your kind help
>
> BTW, what distro are you using? Maybe I am just spoilt, but I thought
> most distro would setup apache using sensible defaults....
>
> Regards,
> Adam
>
> - --
> Adam Goryachev
> Website Managers
> Ph: +61 2 8304 0000                            adam AT websitemanagers.com 
> DOT au
> Fax: +61 2 8304 0001                            www.websitemanagers.com.au
>
> Please note, all email from me sent after August 2007 will be signed.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIRTeuGyoxogrTyiURAt4TAJwN264hzRYyN8VZkQ3Z/7ZQjRIeLQCgn8cM
> ESgQGnI40FRxnAj3ZNFxrqg=
> =1nfv
> -----END PGP SIGNATURE-----
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


-- 
Network ADMIN
-------------
KUWAIT MUNICIPALITY:

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-------------------------------------------------------------------------
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/
<Prev in Thread] Current Thread [Next in Thread>