Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: kees 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?
-
Hi,
Just posted by Darrell last week or so...
http://forums.contribs.org/index.php?topic=2707.msg9158#msg9158
HFW
-
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.
-
And the root mail dir is that /home/e-smith/Maildir ??
-
Are you sure the twiggi i-bay has cgi enabled?
-
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.
-
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.
-
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.
-
Is it possible to set this up to work with my palm?
-
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.
-
<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.
-
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
-
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
-
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.
-
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
-
I have installed twiggi on two E-Smith servers. Home is 4.1.1 and work is 4.1.2. Home installation in flawless. Work in flawed. When I goto /twiggi at work I see the program code of index.php and not the login screen. So then using my .bash_history file as a guide I tried a re-install. Same problem. Where could the problem be?
-
Maybe at work you do not have the right to execute php-cgi... in that directory
-
I set up both
I have whatever permissions I desire to have
I am root and admin
-
I found the problem with Twiggi. Actually the problem is a known bug in 4.1.2 see link below:
http://www.e-smith.org/bugs/index.php3?op=showBug&bugID=27
Now Twiggi and other php scripts work fine. I think this will also fix the problem with Fernado Puertas's machine.