Re: [BULK] Re: [WebDNA] Candidate versions release
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105367
interpreted = N
texte = Hi Christophe,Ok, to be sure that we aligned here...The Mac OS X webdna.fcgi works on both the Mac OS X Client and Mac OS X =Server.So what is the difference? Is it that the installation/setup procedure =is tested on the Client version of Mac OS X and that the Server version =of Mac OS X might need some manual additions to the installation/setup? =If this is the case, then how do you intent to close the gap unless I =misunderstand something completely.I look forward to you reply.PalleOn 16/06/2010, at 21.41, christophe.billiottet@webdna.us wrote:> The OSX and OSX server webdna.fcgi version is the same one. The only =difference is the way to setup the webserver.>=20> - chris>=20>=20> On Jun 16, 2010, at 15:31, Palle Bo Nielsen wrote:>=20>> Okay, I will wait until there is a Mac OS X Server release candidate =- i think.>>=20>> As an Apple developer you can download a free time limited mac os x =server @ Apple>>=20>> Palle>>=20>>=20>> On 16/06/2010, at 19.10, christophe.billiottet@webdna.us wrote:>>=20>>> Yes, it will work, but without a OSX server for testing purpose, we =don't know yet what the exact configuration will be.>>>=20>>> - 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>>>=20>>> On Jun 16, 2010, at 14:02, Palle Bo Nielsen wrote:>>>=20>>>> Hi Christophe,>>>>=20>>>> Is the version below to be used on a MAC OS X SERVER 10.6.x (Intel) =?>>>>=20>>>> Best Regards>>>> Palle>>>>=20>>>>=20>>>> On 16/06/2010, at 18.42, christophe.billiottet@webdna.us wrote:>>>>=20>>>>> 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>>>>>=20>>>>>=20>>>>> 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>>>>>=20>>>>> Move the WebDNA.fcgi you want inside the WebCatalogEngine folder. =Chmod 755.>>>>>=20>>>>>=20>>>>> Mac OSX intel 64bits.>>>>> http://www.webdna.us/download/WebDNA-OSX.zip>>>>>=20>>>>> Linux glibcv2 32bits for RH, Fedora, and Centos>>>>> http://www.webdna.us/download/WebDNA-centos386.zip>>>>>=20>>>>> Linux glibcv2 64bits for RH, Fedora, and Centos>>>>> http://www.webdna.us/download/WebDNA-centos64.zip>>>>>=20>>>>> Linux glibcv3 for OpenSuse, Ubuntu>>>>> http://www.webdna.us/download/WebDNA-glibcv3-x86_64.zip>>>>>=20>>>>> FreeBSD 64 bits>>>>> http://www.webdna.us/download/WebDNA-freebsd64.zip>>>>>=20>>>>>=20>>>>>=20>>>>> 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)>>>>>=20>>>>> #--------------------------------->>>>>
>>>>> RewriteEngine on>>>>> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]>>>>> >>>>> #--------------------------------->>>>>=20>>>>> 2.- If your webdna administration page does not load the images>>>>>=20>>>>> 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.>>>>>=20>>>>> 3.- you can add this for security purpose; it will disallow apache =display some files>>>>>=20>>>>> #--------------------------------->>>>>
>>>>> Deny from all = =20>>>>> =20>>>>> #--------------------------------->>>>>=20>>>>> 4.- These are several configuration suggestions:>>>>>=20>>>>>=20>>>>> 4.1.- httpd.conf will load the FastCGI module with this line>>>>>=20>>>>> #--------------------------------->>>>> LoadModule fcgid_module modules/mod_fcgid.so>>>>> #--------------------------------->>>>>=20>>>>> 4.2.- you will also have had to add this line for a CentOS:>>>>>=20>>>>> #--------------------------------->>>>> SocketPath run/mod_fcgid>>>>> #--------------------------------->>>>>=20>>>>> Here the .htaccess on a CentOS server:>>>>> #--------------------------------->>>>> Options All +ExecCGI>>>>> AddHandler fcgid-script .dna>>>>> FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi =.dna>>>>> #--------------------------------->>>>>=20>>>>> 4.3.- you will have this line in a FreeBSD:>>>>> #--------------------------------->>>>> AllowOverrride All>>>>> #--------------------------------->>>>>=20>>>>> Here the .htaccess on a FreeBSD server:>>>>> #--------------------------------->>>>> AddHandler fcgid-script .dna = =20>>>>> Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20=>>>>> Options +ExecCGI = =20=>>>>>=20>>>>> FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi =.dna>>>>> #--------------------------------->>>>>=20>>>>>=20>>>>> 4.5- OSX will just need this in the httpd.conf>>>>>=20>>>>> #----------------------->>>>>
>>>>> 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]>>>>> >>>>> #----------------------->>>>>=20>>>>>=20>>>>>=20>>>>> 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.>>>>>=20>>>>>=20>>>>>=20>>>>> Here an example of how to setup suexec under cPanel; It might be a =matter of doing this:>>>>>=20>>>>> 5.1.- Install WebDNA on the server in some location such as =/opt/WebDNA . Make sure it is readable and executable by all users.>>>>>=20>>>>> 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>>>>>=20>>>>> 5.3.- Go into Apache Configuration in WHM. Click on "PHP and =SuExec Configuration". Make sure that Apache suEXEC is set to "On".>>>>>=20>>>>> 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>>>>>=20>>>>> Then click Update.>>>>>=20>>>>> 5.5.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".>>>>>=20>>>>>=20>>>>> That might be it, although we have not tested yet.>>>>>=20>>>>>=20>>>>>=20>>>>> 6.- cPanel vhost install>>>>>=20>>>>> Here if you want to run one copy per vhost:>>>>>=20>>>>> 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>>>>>=20>>>>> 6.2.- Go into Apache Configuration in WHM. Click on "PHP and =SuExec Configuration". Make sure that Apache suEXEC is set to "On".>>>>>=20>>>>> 6.3.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".>>>>>=20>>>>> 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".>>>>>=20>>>>> 6.5.- As root, create two new files called:>>>>>=20>>>>> =/usr/local/apache/conf/userdata/std/2/testuser/testdomain.com/webdna.conf>>>>> =/usr/local/apache/conf/userdata/ssl/2/testuser/testdomain.com/webdna.conf>>>>>=20>>>>> Put the following text into both files:>>>>>=20>>>>> FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna>>>>>=20>>>>>=20>>>>> 6.6.- Execute the following command as root:>>>>> /scripts/ensure_vhost_includes --all-users>>>>>=20>>>>> 6.7.- Repeat steps 4-6 for any additional users who want to use =WebDNA.>>>>>=20>>>>>=20>>>>>=20>>>>> =********************************************************************>>>>> DISCLAIMER: these informations are provided for testing purpose. =They are not intended for a production environment.>>>>> =********************************************************************>>>>>=20>>>>> - 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>>>>>=20>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list
.>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>> Bug Reporting: =http://forum.webdna.us/eucabb.html?page=3Dtopics&category(8>>>>>=20>>>>=20>>>=20>>>=20>>=20>=20>=20
Associated Messages, from the most recent to the oldest:
Hi Christophe,Ok, to be sure that we aligned here...The Mac OS X webdna.fcgi works on both the Mac OS X Client and Mac OS X =Server.So what is the difference? Is it that the installation/setup procedure =is tested on the Client version of Mac OS X and that the Server version =of Mac OS X might need some manual additions to the installation/setup? =If this is the case, then how do you intent to close the gap unless I =misunderstand something completely.I look forward to you reply.PalleOn 16/06/2010, at 21.41, christophe.billiottet@webdna.us wrote:> The OSX and OSX server webdna.fcgi version is the same one. The only =difference is the way to setup the webserver.>=20> - chris>=20>=20> On Jun 16, 2010, at 15:31, Palle Bo Nielsen wrote:>=20>> Okay, I will wait until there is a Mac OS X Server release candidate =- i think.>>=20>> As an Apple developer you can download a free time limited mac os x =server @ Apple>>=20>> Palle>>=20>>=20>> On 16/06/2010, at 19.10, christophe.billiottet@webdna.us wrote:>>=20>>> Yes, it will work, but without a OSX server for testing purpose, we =don't know yet what the exact configuration will be.>>>=20>>> - 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>>>=20>>> On Jun 16, 2010, at 14:02, Palle Bo Nielsen wrote:>>>=20>>>> Hi Christophe,>>>>=20>>>> Is the version below to be used on a MAC OS X SERVER 10.6.x (Intel) =?>>>>=20>>>> Best Regards>>>> Palle>>>>=20>>>>=20>>>> On 16/06/2010, at 18.42, christophe.billiottet@webdna.us wrote:>>>>=20>>>>> 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>>>>>=20>>>>>=20>>>>> 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>>>>>=20>>>>> Move the WebDNA.fcgi you want inside the WebCatalogEngine folder. =Chmod 755.>>>>>=20>>>>>=20>>>>> Mac OSX intel 64bits.>>>>> http://www.webdna.us/download/WebDNA-OSX.zip>>>>>=20>>>>> Linux glibcv2 32bits for RH, Fedora, and Centos>>>>> http://www.webdna.us/download/WebDNA-centos386.zip>>>>>=20>>>>> Linux glibcv2 64bits for RH, Fedora, and Centos>>>>> http://www.webdna.us/download/WebDNA-centos64.zip>>>>>=20>>>>> Linux glibcv3 for OpenSuse, Ubuntu>>>>> http://www.webdna.us/download/WebDNA-glibcv3-x86_64.zip>>>>>=20>>>>> FreeBSD 64 bits>>>>> http://www.webdna.us/download/WebDNA-freebsd64.zip>>>>>=20>>>>>=20>>>>>=20>>>>> 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)>>>>>=20>>>>> #--------------------------------->>>>> >>>>> RewriteEngine on>>>>> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]>>>>> >>>>> #--------------------------------->>>>>=20>>>>> 2.- If your webdna administration page does not load the images>>>>>=20>>>>> 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.>>>>>=20>>>>> 3.- you can add this for security purpose; it will disallow apache =display some files>>>>>=20>>>>> #--------------------------------->>>>> >>>>> Deny from all = =20>>>>> =20>>>>> #--------------------------------->>>>>=20>>>>> 4.- These are several configuration suggestions:>>>>>=20>>>>>=20>>>>> 4.1.- httpd.conf will load the FastCGI module with this line>>>>>=20>>>>> #--------------------------------->>>>> LoadModule fcgid_module modules/mod_fcgid.so>>>>> #--------------------------------->>>>>=20>>>>> 4.2.- you will also have had to add this line for a CentOS:>>>>>=20>>>>> #--------------------------------->>>>> SocketPath run/mod_fcgid>>>>> #--------------------------------->>>>>=20>>>>> Here the .htaccess on a CentOS server:>>>>> #--------------------------------->>>>> Options All +ExecCGI>>>>> AddHandler fcgid-script .dna>>>>> FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi =.dna>>>>> #--------------------------------->>>>>=20>>>>> 4.3.- you will have this line in a FreeBSD:>>>>> #--------------------------------->>>>> AllowOverrride All>>>>> #--------------------------------->>>>>=20>>>>> Here the .htaccess on a FreeBSD server:>>>>> #--------------------------------->>>>> AddHandler fcgid-script .dna = =20>>>>> Action fcigd-script /cgi-bin/WebCatalogEngine/WebDNA.fcgi = =20=>>>>> Options +ExecCGI = =20=>>>>>=20>>>>> FCGIWrapper /your-path-to/cgi-bin/WebCatalogEngine/WebDNA.fcgi =.dna>>>>> #--------------------------------->>>>>=20>>>>>=20>>>>> 4.5- OSX will just need this in the httpd.conf>>>>>=20>>>>> #----------------------->>>>> >>>>> 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]>>>>> >>>>> #----------------------->>>>>=20>>>>>=20>>>>>=20>>>>> 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.>>>>>=20>>>>>=20>>>>>=20>>>>> Here an example of how to setup suexec under cPanel; It might be a =matter of doing this:>>>>>=20>>>>> 5.1.- Install WebDNA on the server in some location such as =/opt/WebDNA . Make sure it is readable and executable by all users.>>>>>=20>>>>> 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>>>>>=20>>>>> 5.3.- Go into Apache Configuration in WHM. Click on "PHP and =SuExec Configuration". Make sure that Apache suEXEC is set to "On".>>>>>=20>>>>> 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>>>>>=20>>>>> Then click Update.>>>>>=20>>>>> 5.5.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".>>>>>=20>>>>>=20>>>>> That might be it, although we have not tested yet.>>>>>=20>>>>>=20>>>>>=20>>>>> 6.- cPanel vhost install>>>>>=20>>>>> Here if you want to run one copy per vhost:>>>>>=20>>>>> 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>>>>>=20>>>>> 6.2.- Go into Apache Configuration in WHM. Click on "PHP and =SuExec Configuration". Make sure that Apache suEXEC is set to "On".>>>>>=20>>>>> 6.3.- Go into Apache Configuration in WHM. Click on DirectoryIndex =Priority. Click "Add". Type in "index.dna". Then click "Save".>>>>>=20>>>>> 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".>>>>>=20>>>>> 6.5.- As root, create two new files called:>>>>>=20>>>>> =/usr/local/apache/conf/userdata/std/2/testuser/testdomain.com/webdna.conf>>>>> =/usr/local/apache/conf/userdata/ssl/2/testuser/testdomain.com/webdna.conf>>>>>=20>>>>> Put the following text into both files:>>>>>=20>>>>> FcgidWrapper /home/testuser/WebDNA/WebDNA.fcgi .dna>>>>>=20>>>>>=20>>>>> 6.6.- Execute the following command as root:>>>>> /scripts/ensure_vhost_includes --all-users>>>>>=20>>>>> 6.7.- Repeat steps 4-6 for any additional users who want to use =WebDNA.>>>>>=20>>>>>=20>>>>>=20>>>>> =********************************************************************>>>>> DISCLAIMER: these informations are provided for testing purpose. =They are not intended for a production environment.>>>>> =********************************************************************>>>>>=20>>>>> - 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>>>>>=20>>>>> --------------------------------------------------------->>>>> This message is sent to you because you are subscribed to>>>>> the mailing list .>>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us>>>>> old archives: http://dev.webdna.us/TalkListArchive/>>>>> Bug Reporting: =http://forum.webdna.us/eucabb.html?page=3Dtopics&category(8>>>>>=20>>>>=20>>>=20>>>=20>>=20>=20>=20
Palle Bo Nielsen
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:
Webcat no longer supported? (2006)
[taxrate] question (1997)
Formulas.db + Users.db (1997)
Database Structure? (1998)
WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997)
[WebDNA] Unexpected behavior ... (2010)
Photo Album (2000)
[WebDNA] CORRECTION: 60% failure rate using replace in a loop (2010)
Redirect frame targets (1998)
Still can't interpret encrypted templates. (2003)
zip codes (2003)
showif... (2000)
Snake Bites (1997)
Help Wanted (2005)
Runnaway Trigger (2007)
[WebDNA] Error 500 with SUMM=T (2017)
Setting up the server (1997)
PIXO support (1997)
NT vs Mac (1997)
Date or time comparisons have bugs ... (1998)