Re: Providing only Gollem

Paul Dorman <[email protected]>
Newsgroups gmane.comp.horde.gollem
Organization SolNet Solutions Limited
Message-ID <[email protected]>
Thanks for your reply Kevin. I tried your suggestions, but I wasn't
happy with the end result.

In the end I did the following, which works perfectly.

I'm using Gollem as a front end to our PureFTPd server, hosted on the
local machine. I am using MySQL as the authentication back end for the
FTP server, and I have a separate web-based admin interface to manage
users, quotas, bandwidth, etc.

For Horde, I am using FTP authentication, so anyone in the PureFTP user
database will be able to log into Horde and Gollem.

I renamed the <path>/horde3/index.php to <path>/horde3/index.php.old and
symlinked <path>/horde3/gollem/manager.php to <path>/horde3/index.php.

I also edited the following files:

<path>/horde3/gollem/config/conf.php: I emptied the list of apps to
display in the menu: $conf['menu']['apps'] = array('');

<path>/horde3/lib/Gollem.php: To get rid of the "Home" menu item I
commented out:
  $menu->add(Util::addParameter(Horde::applicationUrl('manager.php'), 'd
ir', Gollem::getHome()), _("Home"), 'home.png');

<path>/horde3/lib/Gollem.php: To make it so the "Create Folder" and
"Change Folder" are always visible, I commented out the first and last
lines of 
        if (strpos($_SERVER['PHP_SELF'], 'manager.php') !== false) {
            if (Gollem::checkPermissions('backend', PERMS_EDIT)) {
                $menu->add('', _("Create Folder"), 'mkdir.png', null,
'', 'creat
eFolder(); return false;');
            }
            if (Gollem::checkPermissions('backend', PERMS_READ)) {
                $menu->add('', _("Change Folder"), 'cd.png', null, '',
'changeDi
rectory(); return false;');
            }
        }

The end result is so far very pleasing. I have a clean web front end to
our FTP server with no other Horde features at all. I'm going to change
the permissions on most of the Horde php pages so that no one can access
them, add a few extra icons to the Gollem menu bar (using
<path>/horde3/gollem/config/menu.php), and of course put a "Powered by
Horde" credit on the bottom :o)

Thanks again for your help. Hope this comes in handy for someone else
one day.

Regards,
Paul

On Wed, 2005-11-16 at 07:55 -0500, Kevin M. Myer wrote:
> Set the initial application preference to be gollem and set the 
> authentication option to be to let a Horde application handle 
> authentication.
> 
> Horde:Options:Other Information:Display Options:What application should 
> Horde..? for the first (or 'initial_application' in 
> horde/config/prefs.php if you want to set sitewide)
> 
> Horde:Setup:Horde:Authentication for the second, to configure Gollem as 
> the application to use for authentication.
> 
> Kevin
> 
> Quoting Paul Dorman <[email protected]>:
> 
> > Well blow me down if I didn't just discover how to do that nicely.
> > Simply renamed the <path>horde3/index.php to index.php.old and symlinked
> > the <path>horde3/gollem/index.php file in place. Great! The only think I
> > want to do now is get rid of that button, which now appears as soon as
> > the user has authenticated.
> >
> > Cheers,
> > Paul
> >
> >
> 
> 
> 
> -- 
> Kevin M. Myer
> Senior Systems Administrator
> Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org
> 
>

-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDe61rB8Id2hG6URURAg3/AJ9IgKW7MBlA5Lam5+yFQJE/kG/rXQCcC/RE
5Je1+ofT8aQsK7pDcVkaJTU=
=X6QL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.