[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:

HELP WITH DATES (1997) Hiding HTML and page breaks (1997) Deleting Orders (1997) TXT (2003) WC2.0 Memory Requirements (1997) Resume Catalog ? (1997) X etc.... (1999) Multiple Pulldowns (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Emailer (WebCat2) (1997) WebCatalog2 Feature Feedback (1996) serial number generation (1997) Finding max value for a field (1997) Exclamation point (1997) Problem (1997) Separate SSL Server (1997) international time (1997) Searching multiple fields (1997) Multiple Pulldowns (1997) Need relative path explanation (1997)