[BULK] Re: [WebDNA] WebDNA Snow Leopard Server installation process

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106853
interpreted = N
texte = Hi Christophe, The WebDNA 7 installations seems to have one file missing from the = webdna/admin/sercurity folder. It's used when passwords er unencrypted in the users.db by mistake. Can you confirm this error or is this just me doing wring...? Palle On 01/07/2011, at 22.03, christophe.billiottet@webdna.us wrote: > Installation process on a Snow Leopard OSX server >=20 >=20 >=20 > Move the /WebDNA folder inside = /Library/WebServer/Documents/www.domain1.com/ > as well as in /Library/WebServer/Documents/www.domain2.com/ and as = many vhosts you need. >=20 > Move WebDNA.fcgi executable inside /WebDNA >=20 > chmod 755 WebDNA.fcgi >=20 > Then open your httpd.conf (/private/etc/apache2/httpd.conf) and check = both of these modules are loaded: >=20 > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so >=20 > - If you are using the server admin, you can also enable mod_fastcgi = by clicking the check box for it (open OSX admin tool, go to web, go to = settings, then modules, enable fastcgi_module) >=20 > - create your virtual host(s) >=20 > - enable your virtual host(s) >=20 > - edit /etc/apache2/httpd.conf, add these lines above the line that = reads "#### The following Include directive is essential for the virtual = hosts to be usable." >=20 > #----------------------- > > Action webdna-fastcgi /WebDNA/WebDNA.fcgi > AddHandler webdna-fastcgi .dna > FastCGIServer = /Library/WebServer/Documents/www.domain1.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > FastCGIServer = /Library/WebServer/Documents/www.domain2.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > > #----------------------- >=20 > Note it is very important to use "-processes 1" because if a website = open several instances accessing the same databases, there will be = conflicts. >=20 > And if you had a 3rd one, you'd add: > FastCGIServer = /Library/WebServer/Documents/www.domain3.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > and so forth. >=20 > To hide some specific files, just add these lines in the httpd.conf >=20 > #----------------------- > > Deny from all = =20 > > #----------------------- >=20 > Finally, if you want the [protect] context to properly work, you will = need the following lines INSIDE the vhost.conf, for every single site on = your server. > Open the virtualhost config in /etc/apache2/sites/www.domain1.com.conf > and add >=20 > #----------------------- > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > > #----------------------- >=20 >=20 > Restart apache (there is no need to start WebDNA, it is automatically = done with the first WebDNA request apache receives. This is also the = reason wht we do not need anymore the WebDNAMonitor from the previous = versions) >=20 > connect your browser to = http://www.domain1.com/WebDNA/Admin/AdminPrefs.dna to manage site1, > http://www.domain2.com/WebDNA/Admin/AdminPrefs.dna to manage site2 = etc... >=20 > login and pass admin/admin >=20 > That's it! >=20 >=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 > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
Hi Christophe, The WebDNA 7 installations seems to have one file missing from the = webdna/admin/sercurity folder. It's used when passwords er unencrypted in the users.db by mistake. Can you confirm this error or is this just me doing wring...? Palle On 01/07/2011, at 22.03, christophe.billiottet@webdna.us wrote: > Installation process on a Snow Leopard OSX server >=20 >=20 >=20 > Move the /WebDNA folder inside = /Library/WebServer/Documents/www.domain1.com/ > as well as in /Library/WebServer/Documents/www.domain2.com/ and as = many vhosts you need. >=20 > Move WebDNA.fcgi executable inside /WebDNA >=20 > chmod 755 WebDNA.fcgi >=20 > Then open your httpd.conf (/private/etc/apache2/httpd.conf) and check = both of these modules are loaded: >=20 > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so >=20 > - If you are using the server admin, you can also enable mod_fastcgi = by clicking the check box for it (open OSX admin tool, go to web, go to = settings, then modules, enable fastcgi_module) >=20 > - create your virtual host(s) >=20 > - enable your virtual host(s) >=20 > - edit /etc/apache2/httpd.conf, add these lines above the line that = reads "#### The following Include directive is essential for the virtual = hosts to be usable." >=20 > #----------------------- > > Action webdna-fastcgi /WebDNA/WebDNA.fcgi > AddHandler webdna-fastcgi .dna > FastCGIServer = /Library/WebServer/Documents/www.domain1.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > FastCGIServer = /Library/WebServer/Documents/www.domain2.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > > #----------------------- >=20 > Note it is very important to use "-processes 1" because if a website = open several instances accessing the same databases, there will be = conflicts. >=20 > And if you had a 3rd one, you'd add: > FastCGIServer = /Library/WebServer/Documents/www.domain3.com/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > and so forth. >=20 > To hide some specific files, just add these lines in the httpd.conf >=20 > #----------------------- > > Deny from all = =20 > > #----------------------- >=20 > Finally, if you want the [protect] context to properly work, you will = need the following lines INSIDE the vhost.conf, for every single site on = your server. > Open the virtualhost config in /etc/apache2/sites/www.domain1.com.conf > and add >=20 > #----------------------- > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > > #----------------------- >=20 >=20 > Restart apache (there is no need to start WebDNA, it is automatically = done with the first WebDNA request apache receives. This is also the = reason wht we do not need anymore the WebDNAMonitor from the previous = versions) >=20 > connect your browser to = http://www.domain1.com/WebDNA/Admin/AdminPrefs.dna to manage site1, > http://www.domain2.com/WebDNA/Admin/AdminPrefs.dna to manage site2 = etc... >=20 > login and pass admin/admin >=20 > That's it! >=20 >=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 > Bug Reporting: support@webdna.us 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:

3RD POST Character limit in [Search]? (1998) So what ya working on? (or have you completed?) (2004) WebCatalog can't find database (1997) Math (1997) Questions (1998) Payment Processors (2005) Custom Convertchars Database (2004) writing cart to db (1998) Search Results (1998) VeriSign News (2002) Help- WebCat won't parse pages! (2002) [text show=f&secure=t] or ...? (2000) WebCat2b12 - nesting [tags] (1997) [shownext] and descending order (1997) Append File help needed (2000) What do the &x=5&y=8 mean? (2002) breaking & sorting (2000) Duplicate Cart Numbers (1999) RE:It just Does't add up!!! (1997) [OT] Happy Turkey Day! (2003)