Hello I will try to give a more complete description of my problem :
What I want to do : to have a Web interface which enable me to make backups, restore and supervise their execution. What I have done : install bweb following the INSTALL instructions. Bweb seems to work fine, i can launch predefined jobs, get status client, etc... But I can't launch restores. In bweb, there is a "Restore" button in the "Job" menu, but when I click on it it opens a window asking me what i want to do with bweb.pl (save it to disk or open it with selected application). I have also installed brestore.pl, but I can't make it work. The server on which brestore, bweb and bacula are installed doesn't have a graphic interface (no X11 server installed), so I can't make brestore work as a Gtk interface. I know brestore is NOT a web interface but a Gtk interface, but it is said it can work with bweb. I have associated the mime type text/brestore with brestore.pl in the file /etc/mime.types (my apache configuration uses this and not magic for mime types). I have absolutely NO error log appearing in /var/log/httpd/error_log when i click on the "Restore" button in the "Job" menu of bweb. The server on which bacula, bweb and brestore are installed is running a smeserver 7 distribution. The client accessing to bweb is using firefox on an opensuse 10.2 My question : how can I make the "Restore" button of bweb work ? May I send this mail to bacula-devel to have an answer from the brestore developpers ? Thanks in advance Jerome Massano Le mardi 03 avril 2007 à 11:51 +0200, Arno Lehmann a écrit : > Hi, > > On 4/3/2007 10:58 AM, Jérôme Massano wrote: > > Thank you for answering. > > > > > > I fear my apache is a bit specific : i think it doesn't use mime_magic. > > Here are the lines in httpd.conf that contains "mime" or "magic" or > > "Magic": > > > > --------- > > > > #LoadModule mime_magic_module modules/mod_mime_magic.so > > LoadModule mime_module modules/mod_mime.so > > > > > > # TypesConfig describes where the mime.types file (or equivalent) is > > # to be found. > > > > TypesConfig /etc/mime.types > > Yes, looks like that one is used. > > > php_flag magic_quotes_gpc off > > This shouldn't matter here, unless I misunderstood the problem. > > > --------- > > > > The last line "php_flag magic_quotes_gpc off" is in a Directory part > > of httpd.conf that is not the Directory for bweb (it is the Directory of > > horde). > > I think the line "TypesConfig /etc/mime.types" means that I only have to > > modify the file /etc/mime.types, which is already done. Maybe I should > > uncomment the line about mime_magic ? > > I wouldn't do that on aserver that is used for other things as well... > > Now is probably the time you come up with a more detailed problem > description :-) > > Like what you do, what sort of output is generated, corresponding log > entries, and so on. After all, you probably need to attract the bweb > developers, and they probably prefer a good problem description... > > > PS : The apache (and bacula) server is on a smeserver 7.0 distro > > I don't know that one. > > > PPS : I somebody want to tell me when I'm not writing correct En > glish, > > it would help me improve myself (Is this sentence correct ?). > > Ermmm... no. > > I'm not a native speaker, but I think you mean "I want somebody to tell > me when I'm not writing corect English." Unfortunately, I don't think a > mailing list is the best way to learn a language - most people have to > limit the time they spend with it, and so prefer to focus on the > contents, not the language. I admit that sometimes I'm tempted to > comment on the language, but I prefer not to start *that* sort of > conversation ;-) > > Arno > > > Regards, > > > > Jerome Massano > > > > Le mardi 03 avril 2007 à 10:20 +0200, Arno Lehmann a écrit : > >> Hi > >> > >> On 4/3/2007 9:24 AM, Jérôme Massano wrote: > >>> Hello > >>> > >>> Thank you for your answer. > >>> Yes, I did read the installation documentation (INSTALL file). Actually, > >>> nothing about apache is written in brestore documentation. There is > >>> something about this in bweb documentation, but it is just to protect > >>> bweb installation : > >> ... > >>> There is also something about mime types (text/brestore must be > >>> associated with brestore.pl), but I think I did it well (modified > >>> file /etc/mime.types - maybe in need to do something else for the mime > >>> types to be really associated with brestore ?) > >> I don't know much about bweb, but a little about apache :-) > >> > >> You probably have to modify apache's own magic file which is usually not > >> in /etc. > >> > >> From the apache manual: > >> > >> MimeMagicFile Directive > >> Description: Enable MIME-type determination based on file contents > >> using > >> the specified magic file > >> Syntax: MimeMagicFile file-path > >> Context: server config, virtual host > >> Status: Extension > >> Module: mod_mime_magic > >> > >> In other words, searcg for 'Magic' in your apache config and modify hat > >> file. > >> > >> Arno > >> > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > IT-Service Lehmann [EMAIL PROTECTED] > Arno Lehmann http://www.its-lehmann.de > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users