Hi,

   Thank you for the reply.

    ok, two questions here.


- I have only copied the baculum directory from the bacula-gui-7.0.5 source directory and to the /var/www/html/baculum directory. -- first question, am I supposed to copy the full bacula-gui directory or was this correct.

        - my current virtualhost config is as follows:

<VirtualHost *:80>
        DocumentRoot /var/www/html/baculum/
        serveralias <##### hashed out info #### >
        ServerName <##### hashed out info #### >
        <Directory /var/www/html/baculum>
                RewriteEngine On
                AllowOverride All
                AuthType Basic
                AuthName MyPrivateFile
                AuthUserFile /var/www/html/baculum/passwords
                Require valid-user
        </Directory>
</VirtualHost>


This is the only site that will be running on the server so I have placed this virtualhost in the default file.

If I need to put a rewrite rule in, then my second question is what would it look like as I dont know how to write rewrite_rules at all.

Regards



On 05/08/2014 14:20, Marcin Haba wrote:
Hello,

It looks that your "DocumentRoot" option from VirtualHost does not indicate to directory with Baculum files.

The most probably is that you used subdirectory for storing Baculum files.

For example, if you are storing Baculum files in location:

/some/dir/bacula-gui/baculum

then according Apache configuration file part can look like below:

<VirtualHost *:80>
        DocumentRoot /some/dir/bacula-gui/baculum
        ServerName somehost.example.com <http://somehost.example.com>
<Directory /some/dir/bacula-gui/baculum>
                AllowOverride All
                AuthType Basic
                AuthName MyPrivateFile
                AuthUserFile /etc/apache2/some_password_file
                Require valid-user
        </Directory>
</VirtualHost>

In other words, Baculum files need to be located on top location of your web server document root. From this reason access to Baculum is by:

http://yourhost/

but NOT by:

http://yourhost/baculum/

I believe that this problem is easy to skip by modifing mod_rewrite rules.

Best regards.
Marcin

2014-08-05 10:30 GMT+02:00 Machiel <mach...@integrat.co.za <mailto:mach...@integrat.co.za>>:

    Hi Guys

         Thank you for the response on this matter.
         I have now followed the instructions for installing baculum
    as per the INSTALL file, however now I a getting the following
    when I go to the web interface:

    The requested URL /wizard/ was not found on this server.

            I have done some web searches and everyone is noting that
    the authorisation needs to be configured and that mod_rewrite
    needs to be enabled.

            Both these have been done, however still getting that message.



            Any ideas on what might be wrong or how to fix this? I am
    by no means an apache or php expert.

    Regards



    On 31/07/2014 17:52, Marcin Haba wrote:
    2014-07-31 15:05 GMT+02:00 Machiel<mach...@integrat.co.za>  
<mailto:mach...@integrat.co.za>:
    Hi Guys

          I have installed bacula7.0.5 from source as well as bacula-web
    today without any issues.

          I am however trying to install bacula-gui-7.0.5 , but when I run
    the configure script I get the following:


    ./configure --with-bacula=/installs/bacula-7.0.5/
    configuring for Bacula source 7.0.5
    01Jan13
    29Feb12
    4.8.4 (28 July 2014)
    checking for true... /bin/true
    checking for false... /bin/false
    checking for gawk... gawk
    checking for gawk... /usr/bin/gawk
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for mv... /bin/mv
    checking for rm... /bin/rm
    checking for cp... /bin/cp
    checking for echo... /bin/echo
    checking for ar... /usr/bin/ar
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for Operating System Distribution... done
    configure: creating ./config.status
    config.status: creating autoconf/Make.common
    sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
    config.status: creating Makefile
    sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
    config.status: creating bimagemgr/Makefile
    config.status: error: cannot find input file: bimagemgr/Makefile.in


          I tried the same on another machine running 7.0.4 and got the exact
    same thing. (thought it might be a big with the latest version).

          I am currently running ubuntu 14.04 LTS server and need to get this
    up and running soon.

          Any help would be greatly appreciated.

    Hello,

    In bacula-gui archive there is one webGUI tool named Baculum. Script
    "../configure" is not used for Baculum installation.

    For installing Baculum please look in next file:

    bacula-gui-7.0.5/baculum/INSTALL

    There is description about how to install Baculum.

    Best regards.
    Marcin Haba


--



--
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus

--
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to