Deutsch English
Home
About tdbengine
Newsletter
Download
Helpware
Forum
Chat
Documentation
Basic Course
Function reference
HOWTO...?
Snippets
Projects
Links
Benchmarks
Bug Reporting
Support request
 
Home    Overview    Search    Impressum    Contact    Members
How to use tdbengine on a virtual server managed with PLESK?

 
This tutorial was tested on Plesk 7.5.4 but it mighd work on other versions, too. Anything described here only applies for virtual servers on Linux base.

Generally you have to use SuExec to run CGI application. It has to be activated.

There is a file on the server /usr/sbin/suexec2.saved_by_psa. Copy it to suexec and set the suid-Flag.
cd /usr/sbin/
cp suexec2.saved_by_psa suexec
chmod +s suexec

Let us assume that there is a domain on the server which tdbengine programs should be enabled for. In our example we call it simple
 "domain.de".

Put the tdbengine (the Linux binary) into /var/www/vhosts/domain.de/cgi-bin/ (Rights 755).

The configuration can be set in the file /var/www/vhosts/domain.de/conf/vhost.confIf it does not yet exist create a new one. Insert the following lines:
ScriptAlias /engine/ /var/www/vhosts/domain.de/cgi-bin/
AddHandler prg .prg
Action prg /engine/tdbengine

That' s all. Apache has to be restarted to activate the changes.

If the file vhost.conf has not existed yet Plesk will have to insert it. It will be done automatically if there was made a change to the configurations on the surface of Plesk. Deactivate for example Python or Prel for the domain and immediately reactivate it again. Plesk will rewrite the configuration file and automatically insert vhost.conf. Apache will be restarted, too.





tdbengine Anwendungen im Web:

Open-Source Web CMS


Open-Source Bug-Tracking


Free wiki hosting

Open-Source Wiki-System

Kostenloses Foren-Hosting

Dišt mit tdbengine 8-)

tdbengine chat
irc.tdbengine.org
#tdbengine

   Copyright © 2003-2004 tdb Software Service GmbH
   Alle rechte vorbehalten. / All rights reserved
   Last changed: 22.02.2006
{Fehler für :execmacro{execmacro="sessionspy"}


ranking-charts.de

Programmers Heaven - Where programmers go!