[WebDNA] Candidate versions release
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105364
interpreted = N
texte = You can run one copy per vhost on a server. We did not test yet under =cPanel, but you will find explanations below to experiment by yourself. =The administration URL will be http://your =domain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna or =http://localhost/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dnaDownload the http://www.webdna.us/download/WebCatalogEngine.zip and move =it to your /cgi-binThe /WebCatalog directory does not exist anymore. Everything is inside =/WebCatalogEngineMove the WebDNA.fcgi you want inside the WebCatalogEngine folder. Chmod =755.Mac OSX intel 64bits.http://www.webdna.us/download/WebDNA-OSX.zipLinux glibcv2 32bits for RH, Fedora, and Centoshttp://www.webdna.us/download/WebDNA-centos386.zipLinux glibcv2 64bits for RH, Fedora, and Centoshttp://www.webdna.us/download/WebDNA-centos64.zipLinux glibcv3 for OpenSuse, Ubuntuhttp://www.webdna.us/download/WebDNA-glibcv3-x86_64.zipFreeBSD 64 bitshttp://www.webdna.us/download/WebDNA-freebsd64.zip1.- If your page keeps requesting a login and password, though you are =using the default admin / adminThis is a redirect problem solved by adding this to you httpd.conf(of course, the rewrite module must be active)#---------------------------------
RewriteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]#---------------------------------2.- If your webdna administration page does not load the imagesThis problem is due to the ScriptAlias, that makes apache consider all =the files in /cgi-bin as script.ScriptAlias is not needed anymore if you move your cgi-bin inside the =vhost hierarchy.3.- you can add this for security purpose; it will disallow apache =display some files#---------------------------------
Deny from all = =20=20#---------------------------------4.- These are several configuration suggestions:4.1.- httpd.conf will load the FastCGI module with this line#---------------------------------LoadModule fcgid_module modules/mod_fcgid.so#---------------------------------4.2.- you will also have had to add this line for a CentOS:#---------------------------------SocketPath run/mod_fcgid#---------------------------------Here the .htaccess on a CentOS server:#---------------------------------Options All +ExecCGIAddHandler fcgid-script .dnaFCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi .dna#---------------------------------4.3.- you will have this line in a FreeBSD:#---------------------------------AllowOverrride All#---------------------------------Here the .htaccess on a FreeBSD server:#---------------------------------AddHandler fcgid-script .dna = =20Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20Options +ExecCGI = =20FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi .dna#---------------------------------4.5- OSX will just need this in the httpd.conf#-----------------------
FastCGIServer =/Library/WebServer/CGI-Executables/WebCatalogEngine/WebDNA.fcgi =-idle-timeout 60 -processes 1Action webdna-fastcgi /cgi-bin/WebCatalogEngine/WebDNA.fcgiAddHandler webdna-fastcgi .dna .tpl .zarcRewriteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]#-----------------------5.- SuExecIf your server runs more than a single copy, then you should use SuExec =to secure your installation: SuExec will make each WebDNA copy run under =the UID:GID of the vhost it is installed in, and therefore, will have =limited permissions.Here an example of how to setup suexec under cPanel; It might be a =matter of doing this:5.1.- Install WebDNA on the server in some location such as /opt/WebDNA =. Make sure it is readable and executable by all users.5.2.- Go into EasyApache in WHM. Click the button to "Start customizing =based on profile". Be sure the following two options are selected, and =then rebuild Apache:Apache 2.2Mod FCGID5.3.- Go into Apache Configuration in WHM. Click on "PHP and SuExec =Configuration". Make sure that Apache suEXEC is set to "On".5.4.- Go into Apache Configuration in WHM. Click on "Include Editor". =Click "I wish to edit the Post VirtualHost configuration for" and then ="All versions". Add the following line:FcgidWrapper /opt/WebDNA/WebDNA.fcgi .dnaThen click Update.5.5.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".That might be it, although we have not tested yet.6.- cPanel vhost installHere if you want to run one copy per vhost:6.1.- Go into EasyApache in WHM. Click the button to "Start customizing =based on profile". Be sure the following two options are selected, and =then rebuild Apache:Apache 2.2Mod FCGID6.2.- Go into Apache Configuration in WHM. Click on "PHP and SuExec =Configuration". Make sure that Apache suEXEC is set to "On".6.3.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".6.4.) Install WebDNA on the server in the home directory of the user who =wants to use it. As an example, if this is for user "testuser" who owns ="testdomain.com", we would install it in:/home/testuser/WebDNAMake sure the files are owned by "testuser".6.5.- As root, create two new files called:=/usr/local/apache/conf/userdata/std/2/testuser/testdomain.com/webdna.conf=/usr/local/apache/conf/userdata/ssl/2/testuser/testdomain.com/webdna.confPut the following text into both files:FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna6.6.- Execute the following command as root:/scripts/ensure_vhost_includes --all-users6.7.- Repeat steps 4-6 for any additional users who want to use WebDNA.********************************************************************DISCLAIMER: these informations are provided for testing purpose. They =are not intended for a production environment.********************************************************************- chris=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3DWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
You can run one copy per vhost on a server. We did not test yet under =cPanel, but you will find explanations below to experiment by yourself. =The administration URL will be http://your =domain/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dna or =http://localhost/cgi-bin/WebCatalogEngine/Admin/AdminPrefs.dnaDownload the http://www.webdna.us/download/WebCatalogEngine.zip and move =it to your /cgi-binThe /WebCatalog directory does not exist anymore. Everything is inside =/WebCatalogEngineMove the WebDNA.fcgi you want inside the WebCatalogEngine folder. Chmod =755.Mac OSX intel 64bits.http://www.webdna.us/download/WebDNA-OSX.zipLinux glibcv2 32bits for RH, Fedora, and Centoshttp://www.webdna.us/download/WebDNA-centos386.zipLinux glibcv2 64bits for RH, Fedora, and Centoshttp://www.webdna.us/download/WebDNA-centos64.zipLinux glibcv3 for OpenSuse, Ubuntuhttp://www.webdna.us/download/WebDNA-glibcv3-x86_64.zipFreeBSD 64 bitshttp://www.webdna.us/download/WebDNA-freebsd64.zip1.- If your page keeps requesting a login and password, though you are =using the default admin / adminThis is a redirect problem solved by adding this to you httpd.conf(of course, the rewrite module must be active)#---------------------------------
RewriteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]#---------------------------------2.- If your webdna administration page does not load the imagesThis problem is due to the ScriptAlias, that makes apache consider all =the files in /cgi-bin as script.ScriptAlias is not needed anymore if you move your cgi-bin inside the =vhost hierarchy.3.- you can add this for security purpose; it will disallow apache =display some files#---------------------------------
Deny from all = =20=20#---------------------------------4.- These are several configuration suggestions:4.1.- httpd.conf will load the FastCGI module with this line#---------------------------------LoadModule fcgid_module modules/mod_fcgid.so#---------------------------------4.2.- you will also have had to add this line for a CentOS:#---------------------------------SocketPath run/mod_fcgid#---------------------------------Here the .htaccess on a CentOS server:#---------------------------------Options All +ExecCGIAddHandler fcgid-script .dnaFCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi .dna#---------------------------------4.3.- you will have this line in a FreeBSD:#---------------------------------AllowOverrride All#---------------------------------Here the .htaccess on a FreeBSD server:#---------------------------------AddHandler fcgid-script .dna = =20Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20Options +ExecCGI = =20FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi .dna#---------------------------------4.5- OSX will just need this in the httpd.conf#-----------------------
FastCGIServer =/Library/WebServer/CGI-Executables/WebCatalogEngine/WebDNA.fcgi =-idle-timeout 60 -processes 1Action webdna-fastcgi /cgi-bin/WebCatalogEngine/WebDNA.fcgiAddHandler webdna-fastcgi .dna .tpl .zarcRewriteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]#-----------------------5.- SuExecIf your server runs more than a single copy, then you should use SuExec =to secure your installation: SuExec will make each WebDNA copy run under =the UID:GID of the vhost it is installed in, and therefore, will have =limited permissions.Here an example of how to setup suexec under cPanel; It might be a =matter of doing this:5.1.- Install WebDNA on the server in some location such as /opt/WebDNA =. Make sure it is readable and executable by all users.5.2.- Go into EasyApache in WHM. Click the button to "Start customizing =based on profile". Be sure the following two options are selected, and =then rebuild Apache:Apache 2.2Mod FCGID5.3.- Go into Apache Configuration in WHM. Click on "PHP and SuExec =Configuration". Make sure that Apache suEXEC is set to "On".5.4.- Go into Apache Configuration in WHM. Click on "Include Editor". =Click "I wish to edit the Post VirtualHost configuration for" and then ="All versions". Add the following line:FcgidWrapper /opt/WebDNA/WebDNA.fcgi .dnaThen click Update.5.5.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".That might be it, although we have not tested yet.6.- cPanel vhost installHere if you want to run one copy per vhost:6.1.- Go into EasyApache in WHM. Click the button to "Start customizing =based on profile". Be sure the following two options are selected, and =then rebuild Apache:Apache 2.2Mod FCGID6.2.- Go into Apache Configuration in WHM. Click on "PHP and SuExec =Configuration". Make sure that Apache suEXEC is set to "On".6.3.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".6.4.) Install WebDNA on the server in the home directory of the user who =wants to use it. As an example, if this is for user "testuser" who owns ="testdomain.com", we would install it in:/home/testuser/WebDNAMake sure the files are owned by "testuser".6.5.- As root, create two new files called:=/usr/local/apache/conf/userdata/std/2/testuser/testdomain.com/webdna.conf=/usr/local/apache/conf/userdata/ssl/2/testuser/testdomain.com/webdna.confPut the following text into both files:FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna6.6.- Execute the following command as root:/scripts/ensure_vhost_includes --all-users6.7.- Repeat steps 4-6 for any additional users who want to use WebDNA.********************************************************************DISCLAIMER: these informations are provided for testing purpose. They =are not intended for a production environment.********************************************************************- chris=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3DWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b15MacPlugin - showing [math] (1997)
[WebDNA] SENDMAIL (2017)
webdelivery not working (1998)
WebCatalog2 for NT Beta Request (1997)
DIsplaying Search Result Relevance (2000)
Almost a there but..bye bye NetCloak (1997)
off topic - dna snipets (1997)
Line Feed Character Appended (1998)
Forumulas.db & Variables (2002)
Email encryption (1998)
Running 2 two WebCatalog.acgi's (1996)
WebCat Emailer & Liststar (1997)
Preventing code execution (2003)
Appending Record Prob (2001)
[OT] Mail Error code 573?? (2006)
Summing fields (1997)
WebCat2 - [format thousands] (1997)
Drop Down Menus (2002)
Stumpted Again (1997)
off topic