[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.dna Download the http://www.webdna.us/download/WebCatalogEngine.zip and move = it to your /cgi-bin The /WebCatalog directory does not exist anymore. Everything is inside = /WebCatalogEngine Move the WebDNA.fcgi you want inside the WebCatalogEngine folder. Chmod = 755. Mac OSX intel 64bits. http://www.webdna.us/download/WebDNA-OSX.zip Linux glibcv2 32bits for RH, Fedora, and Centos http://www.webdna.us/download/WebDNA-centos386.zip Linux glibcv2 64bits for RH, Fedora, and Centos http://www.webdna.us/download/WebDNA-centos64.zip Linux glibcv3 for OpenSuse, Ubuntu http://www.webdna.us/download/WebDNA-glibcv3-x86_64.zip FreeBSD 64 bits http://www.webdna.us/download/WebDNA-freebsd64.zip 1.- If your page keeps requesting a login and password, though you are = using the default admin / admin This is a redirect problem solved by adding this to you httpd.conf (of course, the rewrite module must be active) #--------------------------------- RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] #--------------------------------- 2.- If your webdna administration page does not load the images This 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 +ExecCGI AddHandler fcgid-script .dna FCGIWrapper /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 = =20 Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20 Options +ExecCGI = =20 FCGIWrapper /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 1 Action webdna-fastcgi /cgi-bin/WebCatalogEngine/WebDNA.fcgi AddHandler webdna-fastcgi .dna .tpl .zarc RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] #----------------------- 5.- SuExec If 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.2 Mod FCGID 5.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 .dna Then 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 install Here 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.2 Mod FCGID 6.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/WebDNA Make 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.conf Put the following text into both files: FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna 6.6.- Execute the following command as root: /scripts/ensure_vhost_includes --all-users 6.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=3D WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Candidate versions release (christophe.billiottet@webdna.us 2010)
  2. Re: [WebDNA] Candidate versions release (Kenneth Grome 2010)
  3. Re: [WebDNA] Candidate versions release (christophe.billiottet@webdna.us 2010)
  4. Re: [WebDNA] Candidate versions release (Rich Kwas 2010)
  5. Re: [BULK] Re: [WebDNA] Candidate versions release (christophe.billiottet@webdna.us 2010)
  6. Re: [BULK] Re: [WebDNA] Candidate versions release (Palle Bo Nielsen 2010)
  7. Re: [BULK] Re: [WebDNA] Candidate versions release (Palle Bo Nielsen 2010)
  8. [BULK] Re: [WebDNA] Candidate versions release (Palle Bo Nielsen 2010)
  9. [WebDNA] Candidate versions release (christophe.billiottet@webdna.us 2010)
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.dna Download the http://www.webdna.us/download/WebCatalogEngine.zip and move = it to your /cgi-bin The /WebCatalog directory does not exist anymore. Everything is inside = /WebCatalogEngine Move the WebDNA.fcgi you want inside the WebCatalogEngine folder. Chmod = 755. Mac OSX intel 64bits. http://www.webdna.us/download/WebDNA-OSX.zip Linux glibcv2 32bits for RH, Fedora, and Centos http://www.webdna.us/download/WebDNA-centos386.zip Linux glibcv2 64bits for RH, Fedora, and Centos http://www.webdna.us/download/WebDNA-centos64.zip Linux glibcv3 for OpenSuse, Ubuntu http://www.webdna.us/download/WebDNA-glibcv3-x86_64.zip FreeBSD 64 bits http://www.webdna.us/download/WebDNA-freebsd64.zip 1.- If your page keeps requesting a login and password, though you are = using the default admin / admin This is a redirect problem solved by adding this to you httpd.conf (of course, the rewrite module must be active) #--------------------------------- RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] #--------------------------------- 2.- If your webdna administration page does not load the images This 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 +ExecCGI AddHandler fcgid-script .dna FCGIWrapper /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 = =20 Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20 Options +ExecCGI = =20 FCGIWrapper /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 1 Action webdna-fastcgi /cgi-bin/WebCatalogEngine/WebDNA.fcgi AddHandler webdna-fastcgi .dna .tpl .zarc RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] #----------------------- 5.- SuExec If 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.2 Mod FCGID 5.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 .dna Then 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 install Here 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.2 Mod FCGID 6.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/WebDNA Make 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.conf Put the following text into both files: FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna 6.6.- Execute the following command as root: /scripts/ensure_vhost_includes --all-users 6.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=3D WebDNA Software Corporation 16192 Coastal Highway Lewes, 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