Koozali.org: home of the SME Server

twiggi

kees

twiggi
« on: November 08, 2001, 12:01:17 PM »
Has someone already installed the latest version of Twiggi in e-smith? (1.5.14)
What is the <httpd_root> and the <document root> and do I need to configure the php files?

guestFF

Re: twiggi
« Reply #1 on: November 08, 2001, 12:53:21 PM »
Hi,

Just posted by Darrell last week or so...

http://forums.contribs.org/index.php?topic=2707.msg9158#msg9158

HFW

kees

Re: twiggi
« Reply #2 on: November 08, 2001, 01:07:53 PM »
Yes I know. I followed the install instructions but something goes wrong.
I only see when I enter www.mydomain.xxx/twiggi the index.php code.
So I was wondering if someone else could give me the solution.

kees

Re: twiggi
« Reply #3 on: November 08, 2001, 01:09:00 PM »
And the root mail dir is that /home/e-smith/Maildir ??

guestFF

Re: twiggi
« Reply #4 on: November 08, 2001, 03:42:16 PM »
Are you sure the twiggi i-bay has cgi enabled?

kees

Re: twiggi
« Reply #5 on: November 08, 2001, 04:42:45 PM »
No, ectually not. I'll try that. Maybe that's the problem.
I installed it in /home/e-smith/files/primary/html/twiggi
I shall try it with an ibay.
Thanks, I'll let you know if it works.

Brian Leggett

Re: twiggi
« Reply #6 on: November 08, 2001, 05:50:59 PM »
You can keep it in /home/../html/twiggi but you'll need to make a custom httpd.conf template.

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-emithAccess10primary /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

Edit 90e-smithAccess10primary so looks like:


    Options Indexes Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
 

Save. Then run /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

Restart httpd.
You now have PHP in your primary.

Kees

Re: twiggi
« Reply #7 on: November 08, 2001, 10:11:56 PM »
YES YES YES!! It works.
Brian, I didn't edit the HTTPD. I installed everything once again. The user mail dir is $HOME/Mail. Before I was going to edit the e-smith file I checked if it already worked. It works. But eventhough thanks for your reply.

sage

Re: twiggi
« Reply #8 on: November 08, 2001, 11:01:38 PM »
Is it possible to set this up to work with my palm?

sage

error mesages
« Reply #9 on: November 09, 2001, 01:43:46 AM »
Error: Access denied for user: 'www@localhost' (Using password: NO)

when I got to the login page I get the above error 2 times.

After I login I get it about 50 times all over the page, but it does show me email that I have as well as the buttons for changing to other parts.

Harry

Re: error mesages
« Reply #10 on: November 09, 2001, 02:27:37 AM »
<http_user> is www
<DocumentRoot> is /home/e-smith/files/primary/html/
path to user mail folder directory is $HOME/Mail

Also tried an update but.................................... nothing. Access denied.

sage

Re: error mesages
« Reply #11 on: November 09, 2001, 06:46:08 PM »
Harry

I did not change my mail directory and I can see my mail and my folders created.  Try putting it back to the default.

Sage

Ed Form

Re: twiggi
« Reply #12 on: November 15, 2001, 04:22:41 AM »
Try logging in on your windows box as twiggi_admin with the password twig!gi and calling twiggi with the url as before. If your problem is the same as mine the system will hesitate for a while and then put up the password dialogue which will not accept twiggi_admin as the user but will accept any of the standard user names you have created in e-smith.

This program is driving me nuts. I've seen it now, but I simply can't get it to run by following the install instructions. Something about usernames and passwords isn't being set up correctly.

Any chance of a howto for twiggi in e-smith from one of the people who understand it?

Ed Form

kees

Re: twiggi
« Reply #13 on: November 15, 2001, 03:21:30 PM »
You must login with the username from yourself.
You don't need the password twig!gi. It's only a password for the database.
The time of the server and client pc has to be synchronized.

Ed Form

Re: twiggi
« Reply #14 on: November 15, 2001, 09:28:16 PM »
I think you missed my point. If I call the program from a machine where I logged in with my username and password I get the php code displayed - the program doesn't run. If I log in to the same machine with the default twiggi_admin username and the password twig!gi the code runs and I can enter a username and use the facilities of the program.

Having seen the program running now, I've lost interest in Twiggi as a potentially useful program for my clients, it isn't up to the job. My interest is in understanding the e-smith system and the way mysql can be used, and twiggi is a good basis for that.

Ed Form