Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: versa on February 26, 2008, 11:51:27 PM
-
The install went fine, and all seems to work ok, however I would like to use the sitemanager for the website, but no matter what I do I end up with.
Header file not found. Either your path to eGroupWare in the config.inc.php file is bad, or you have not setup eGroupWare.
I moved the contents of sitemgr-site to the root directory of the webserver and defined the new site in egroupware sitemgr settings to:
Filesystem path to sitemgr-site directory:
/home/e-smith/files/ibays/Primary/html
URL to sitemgr-site:
/
and the config.inc.php in the root directory is
<?php
/**************************************************************************\
* eGroupWare SiteMgr - Web Content Management *
* http://www.egroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id: config.inc.php 22966 2006-12-10 00:45:57Z omgs $ */
/**************************************************************\
* Edit the values in the following array to configure SiteMgr, *
* to run in a differen directory/URL as sitemgr/sitemgr-site. *
\**************************************************************/
$GLOBALS['sitemgr_info'] = array(
'egw_path' => '/opt/egroupware/',
'htaccess_rewrite' => False,
);
// uncomment the next line if sitemgr should use a eGW domain different from the first one defined in your header.inc.php
// and of cause change the name accordingly ;-)
//$GLOBALS['egw_info']['user']['domain'] = $GLOBALS['egw_info']['server']['default_domain'] = 'other';
I know I'm doing something stupid but can anybody help me?
Please
-
versa
Your config.inc.php disagrees with the new location you defined.
Filesystem path to sitemgr-site directory:
/home/e-smith/files/ibays/Primary/html
URL to sitemgr-site:
/
and the config.inc.php in the root directory is
'egw_path' => '/opt/egroupware/',
-
Thanks Ray
However I have tried various combinations ( as you can guess I am not too hot on a lot of this) and seem to be getting nowhere and I may even be going around it all in the wrong way, I am hopefull someone else might be using egroupware on SME for there site and can tell me what I am doing wrong..
-
versa
Sorry I can't understand what the issue is that you are having.
Please rephrase it more clearly & succinctly.
-
Hi Ray
I installed the egroupware contrib http://wiki.contribs.org/Egroupware
All went well there
I want to use the site-manager module as my website as in http://www.mycompany.com or even http://10.7.90.1 from my lan
I following the instructions: http://www.egroupware.org/index.php?page_name=wiki&wikipage=SiteMgrFAQs
* How can I move the generated website in the docroot?
copy the sitemgr-site directory to your docroot, eg. cd egroupware/sitemgr/sitemgr-site; cp -r * ../../..
edit the copied config.inc.php file in the docroot and change phpgw_path to point to your eGW install dir, eg. 'egroupware'
go to SiteMgr -> define website and edit the existing website (or create a new one) to use the URL '/' or 'http://mydomain/' and as path use the path to the docroot
So I copy the sitemgr-site directory to /home/e-smith/files/ibays/Primary/html
I edit the config.inc.php file to 'egw_path' => '/opt/egroupware/',
Then in egroupware i define my new site:
Filesystem path to sitemgr-site directory:
/home/e-smith/files/ibays/Primary/html
URL to sitemgr-site:
/
Thats where I have my problem
At tha stage I get "Header file not found. Either your path to eGroupWare in the config.inc.php file is bad, or you have not setup eGroupWare."
Im just not sure where to go from here.
I know its not an sme prob but I hope you can understand a bit better... or that others may be using egroupware for this purpose
regards
versa
-
versa
I still don't understand you but is this right ?
You have installed egroupware to /opt/egroupware (as done automatically by the rpm)
You want to access egroupware using a domain name eg www.mycompany.com
and would like to know how to configure your server to do this ?
You would be best (easiest) to move (with the mv command) the installed application from /opt/egroupware to /home/e-smith/files/ibays/Primary/html
or
move it to an ibay eg /home/e-smith/files/ibays/egroupware/html
Then in the Domains panel configure the domain to point to the Primary ibay or the egroupware ibay.
The choice will depend on whether you only have one domain configured on the server or more.
You will also need to edit the config.inc.php file to suit, and also edit any httpd.conf template for egroupware, also to suit
eg
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/xxxxxxx
then do
expand-template /etc/httpd/conf/httpd.conf
svc -h /service/httpd-e-smith
Alternatively see
http://wiki.contribs.org/Web_Application_RPM
the Webserver Templates section and onwards