Home |
Last modified: 16-06-2020 |
Mar 2003: The French company Atrid that developed Mioga went out of business; the web site http://www.mioga.org is no longer maintained. A new site is available at http://www.club-mioga.org
Mioga is a Web-based groupware application like PHPGroupWare and is written in Perl by a French software company called ATRID SYSTEMES with support from a government body called Conseil General des Mines. Currently, it offers calendar, upload/download through WebDAV, to-do lists, and other standard modules. Its main author is Gilles POLART-DONAT <g.polart@atrid.fr>.
Note that a lot of references are embedded in configuration files (DB username and password, location of files, etc.).
make test
Note: As an alternative, look at CPAN's web site or http//www.rpmfind.net to make it easier to install all those modules
HTTPDUser = nobody HTTPDGroup = nobody DBIUser = mioga DBIPassword = mioga DBName = mioga DBDriver = Pg TemplateDir = ./templates WebDir = /opt/Mioga/web BaseURL = /Mioga HomeDir = /opt/Mioga/home HomeURL = /MiogaHome SFBase = /MiogaSharedFolder SFPath = /opt/Mioga/SharedFolder SFFolderName = SharedFolder MessagesPath = /opt/Mioga/messages BinPath = /opt/Mioga/bin ManageGroupList = manageGroupList TimeZone = MET ClipboardName = .clipboard FileNameLength = 80 DateFormat = %d/%m/%Y %H:%M:%S ContextTimeout = 60 FirstOrganizerHour = 8 LastOrganizerHour = 20 TimeResolution = 2 MondayFirst = 1 Language = french TmpPath=/tmp SearchCmd = /cgi-bin/htsearch?config=mioga&restrict=&exclude=&format=short&
PerlModule Apache::Registry Apache::AuthDBI Mioga::apache::ACL
Alias /Mioga /opt/Mioga/web
<Directory /opt/Mioga/web> DirectoryIndex start Options +ExecCGI SetHandler perl-script PerlHandler Apache::Registry AuthType Basic AuthName Mioga PerlAuthenHandler Apache::AuthDBI::authen PerlSetVar Auth_DBI_data_source dbi:Pg:dbname=mioga PerlSetVar Auth_DBI_username mioga PerlSetVar Auth_DBI_password mioga PerlSetVar Auth_DBI_encrypted off PerlSetVar Auth_DBI_pwd_table m_user PerlSetVar Auth_DBI_uid_field ident PerlSetVar Auth_DBI_pwd_field passwd PerlAuthzHandler Mioga::apache::ACL PerlSetVar Mioga_ACL_data_source dbi:Pg:dbname=mioga PerlSetVar Mioga_ACL_username mioga PerlSetVar Mioga_ACL_password mioga PerlSetVar Mioga_ACL_authz_id_group id_group PerlSetVar Mioga_ACL_authz_id_request id_request PerlSetVar Mioga_ACL_authz_id_uri id_uri PerlSetVar Mioga_ACL_authorize m_authorize PerlSetVar Mioga_ACL_usergroup_id_group id_group PerlSetVar Mioga_ACL_usergroup_id_user id_user PerlSetVar Mioga_ACL_user_group m_user_group PerlSetVar Mioga_ACL_user_ident ident PerlSetVar Mioga_ACL_user_rowid rowid PerlSetVar Mioga_ACL_user m_user PerlSetVar Mioga_ACL_request_rowid rowid PerlSetVar Mioga_ACL_request_request request PerlSetVar Mioga_ACL_request m_request PerlSetVar Mioga_ACL_uri_rowid rowid PerlSetVar Mioga_ACL_uri_uri uri PerlSetVar Mioga_ACL_uri m_uri require valid-user </Directory> <Directory /opt/Mioga/web/images> SetHandler default-handler </Directory> DAVLockDB /usr/local/apache/dav/DAVLocks Alias /MiogaHome /opt/Mioga/home <Directory /opt/Mioga/home> Dav On Options +Indexes IndexOptions FancyIndexing NameWidth=* PerlModule Apache::Registry Apache::AuthDBI Mioga::apache::ACL PerlHandler Apache::Registry AuthType Basic AuthName Mioga PerlAuthenHandler Apache::AuthDBI::authen PerlSetVar Auth_DBI_data_source dbi:Pg:dbname=mioga PerlSetVar Auth_DBI_username mioga PerlSetVar Auth_DBI_password mioga PerlSetVar Auth_DBI_encrypted off PerlSetVar Auth_DBI_pwd_table m_user PerlSetVar Auth_DBI_uid_field ident PerlSetVar Auth_DBI_pwd_field passwd PerlAuthzHandler Mioga::apache::ACL PerlSetVar Mioga_ACL_data_source dbi:Pg:dbname=mioga PerlSetVar Mioga_ACL_username mioga PerlSetVar Mioga_ACL_password mioga PerlSetVar Mioga_ACL_authz_id_group id_group PerlSetVar Mioga_ACL_authz_id_request id_request PerlSetVar Mioga_ACL_authz_id_uri id_uri PerlSetVar Mioga_ACL_authorize m_authorize PerlSetVar Mioga_ACL_usergroup_id_group id_group PerlSetVar Mioga_ACL_usergroup_id_user id_user PerlSetVar Mioga_ACL_user_group m_user_group PerlSetVar Mioga_ACL_user_ident ident PerlSetVar Mioga_ACL_user_rowid rowid PerlSetVar Mioga_ACL_user m_user PerlSetVar Mioga_ACL_request_rowid rowid PerlSetVar Mioga_ACL_request_request request PerlSetVar Mioga_ACL_request m_request PerlSetVar Mioga_ACL_uri_rowid rowid PerlSetVar Mioga_ACL_uri_uri uri PerlSetVar Mioga_ACL_uri m_uri require valid-user </Directory> Alias /MiogaSharedFolder /opt/Mioga/SharedFolder <Directory /opt/Mioga/SharedFolder> Dav On Options +Indexes IndexOptions FancyIndexing NameWidth=* PerlModule Apache::Registry Apache::AuthDBI Mioga::apache::ACL PerlHandler Apache::Registry AuthType Basic AuthName Mioga PerlAuthenHandler Apache::AuthDBI::authen PerlSetVar Auth_DBI_data_source dbi:Pg:dbname=mioga PerlSetVar Auth_DBI_username mioga PerlSetVar Auth_DBI_password mioga PerlSetVar Auth_DBI_encrypted off PerlSetVar Auth_DBI_pwd_table m_user PerlSetVar Auth_DBI_uid_field ident PerlSetVar Auth_DBI_pwd_field passwd PerlAuthzHandler Mioga::apache::ACL PerlSetVar Mioga_ACL_data_source dbi:Pg:dbname=mioga PerlSetVar Mioga_ACL_username mioga PerlSetVar Mioga_ACL_password mioga PerlSetVar Mioga_ACL_authz_id_group id_group PerlSetVar Mioga_ACL_authz_id_request id_request PerlSetVar Mioga_ACL_authz_id_uri id_uri PerlSetVar Mioga_ACL_authorize m_authorize PerlSetVar Mioga_ACL_usergroup_id_group id_group PerlSetVar Mioga_ACL_usergroup_id_user id_user PerlSetVar Mioga_ACL_user_group m_user_group PerlSetVar Mioga_ACL_user_ident ident PerlSetVar Mioga_ACL_user_rowid rowid PerlSetVar Mioga_ACL_user m_user PerlSetVar Mioga_ACL_request_rowid rowid PerlSetVar Mioga_ACL_request_request request PerlSetVar Mioga_ACL_request m_request PerlSetVar Mioga_ACL_uri_rowid rowid PerlSetVar Mioga_ACL_uri_uri uri PerlSetVar Mioga_ACL_uri m_uri require valid-user </Directory>
Because Perl expects to find libraries in certain locations. This is shown by running "perl -v", eg. "Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at Makefile.PL line 7."
/usr/src/mioga/bin/qmail_manage_group_list.c
[root@mylinux bin]# gcc -o manageGroupList qmail_manage_group_list.c qmail_manage_group_list.c: In function `main': qmail_manage_group_list.c:58: warning: passing arg 1 of `sprintf' from incompatible pointer type qmail_manage_group_list.c:60: warning: passing arg 1 of `sprintf' from incompatible pointer type qmail_manage_group_list.c:65: warning: passing arg 1 of `sprintf' from incompatible pointer type
bash-2.04$ psql mioga mioga < /tmp/mioga/Mioga-0.50/sql/schema_base.sql ERROR: Relation 'm_user' does not exist ERROR: Relation 'm_user_rowid_seq' does not exist NOTICE: CREATE TABLE will create implicit sequence 'm_user_rowid_seq' for SERIAL column 'm_user.rowid' NOTICE: CREATE TABLE/UNIQUE will create implicit index 'm_user_rowid_key' for table 'm_user' NOTICE: CREATE TABLE/UNIQUE will create implicit index 'm_user_ident_key' for table 'm_user' CREATE etc....
[error] access to /Mioga failed for 127.0.0.1, reason: 2695 Apache::AuthDBI::authen password for user mioga not found
Due to DB or table access prob? Sthing in httpd.conf? Need to create a mioga/mioga user?
mioga=# select * from m_user; rowid | creation | modification | sys_user | ident | passwd | name | email | clipboard | home_dir -------+------------+--------------+----------+---------+---------+----------------+-------+-----------+---------- 1 | 2000-01-01 | 2000-01-01 | t | admin | mioga | Administrateur | | | admin 2 | 2000-01-01 | 2000-01-01 | t | crawler | crawler | Administrateur | | | admin (2 rows)
eg. clicking on Shared Folders | Create, followed by New Folder | Name -> " The server encountered an internal error or misconfiguration and was unable to complete your request." Log sez:
[Mon Jun 4 03:29:26 2001] DOM.pm: Unrecognized escape \d passed through at /usr/lib/perl5/site_perl/5.6.0/XML/DOM.pm line 136. [Mon Jun 4 03:30:10 2001] null: Use of uninitialized value in string at /usr/lib/perl5/site_perl/5.6.0/Mioga/SFMenu.pm line 1408. [Mon Jun 4 03:30:10 2001] [error] Can't call method "GetPath" on an undefined value at /usr/lib/perl5/site_perl/5.6.0/Mioga/SFMenu.pm line 1419.
No trace of /usr/local/apache/dav sub-directory. Should I change the above to /usr/local/apache/dav/DAVLocks and let mioga create it?