Re: [WebDNA] New Mountain Lion OSX Server
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110225
interpreted = N
texte = Sorry, it was the wrong scenario I pasted into my mail. This one =actually isnt mine, it was Brian's. Sorry about that. If if find mine I =will paste this as well./PalleOn 02/03/2013, at 07.26, christophe.billiottet@webdna.us wrote:> Hi Palle! thank you for all these informations. Please note that step =1 is not necessary anymore with WebDNA.fcgi (7.1) as it is not =java-dependant. The idea was to make the fastCGI as independant as =possible from external libraries.>=20> - chris>=20>=20>=20> On Mar 2, 2013, at 9:09, Palle Bo Nielsen
=wrote:>=20>> Hi,>>=20>> I made this post some time ago based on my research... Maybe it can =help also...>>=20>> /Palle>>=20>>=20>> "...I'm not sure this is a DEFINITIVE guide, but it may help. I =started with the WebDNA 7 installation instructions and updated them for =LION SERVER and MOUNTAIN LION SERVER specific instructions. I'll attach =the text file as well as include the text below. Best of luck with your =install and keep us posted!>>=20>> Regards,>> Brian>>=20>> =#-------------------------------------------------------------------------=----------------------------------->>=20>> Here's the WebDNA 7 FastCGI installation process for OSX Lion SERVER =and Mountain Lion SERVER:>>=20>> STEP 1:>> Install JAVA for OS X Lion>> More information at: http://support.apple.com/kb/DL1421 and =http://support.apple.com/kb/HT5267>> To test if Java is installed, open Terminal.app and type "java".>> To check which version of Java is installed, open Terminal.app and =type "java -version".>>=20>> STEP 2:>> Install mod_fastcgi.so>> Lion/MtnLion is missing mod_fastcgi.so>> It can be recovered from Snow Leopard>> Put a copy of mod_fastcgi.so at /usr/libexec/apache2/>> Set permissions on mod_fastcgi.so to be the same as other .so files =in that directory.>> (i.e., system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly)=20>>=20>> STEP 3:>> For EACH web site domain (i.e., vhost), place a copy of the /WebDNA =folder here:>> /Library/Server/Web/Data/Sites//>>=20>> STEP 4:>> Move a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders>> chmod 755 WebDNA.fcgi>>=20>> STEP 5:>> Then open your primary apache2 configuration file and make sure that =both the>> rewrite and fastcgi modules are loaded. The mod_rewrite.so should be =loaded by default,>> but you will need to add the entry for loading mod_fastcgi.so>> For OS X Lion SERVER (10.7), the file to edit is: =/private/etc/apache2/httpd.conf>> For OS X Mtn Lion SERVER (10.8), the file to edit is: =/Library/Server/Web/Config/apache2/httpd_server_app.conf>>=20>> LoadModule rewrite_module libexec/apache2/mod_rewrite.so>> LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so>>=20>> STEP 6:>> - edit httpd_server_app.conf (10.8) or httpd.conf (10.7) to add the =following lines...>>=20>> <#----------------------->> >> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> Action webdna-fastcgi /WebDNA/WebDNA.fcgi>> AddHandler webdna-fastcgi .dna>> >> #----------------------->>=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. Also be sure =to add an entry for each>> WebDNA-enabled vhost web site that you have.>>=20>> Notes for Lion Server (10.7)>>=20>> I added the fastcgi directive lines just below the following =directive:>> =09>> >> # Multi -language error messages>> #Include =/private/etc/apache2/extra/httpd-multilang-errordoc.conf>> ...>> #Include /private/etc/apache2/extra/httpd-dav.conf>> >> =09>> Be careful that OSX Lion Server will disable what you have done =if WebSharing is not "on":>> it will place your configuration within>> =09>> >> >> =09>> and the configuration settings are completely ineffective.>> So, turn it "on" by opening the System Settings, then opening =the "Sharing" control panel>> and checking the box for "Web Sharing".>>=20>> Notes for Mountain Lion Server (10.8)>>=20>> I added the fastcgi directive lines just below the following =directive:>> =09>> >> >>=20>>=20>> STEP 7:>> To hide some specific WebDNA-related files, add these lines in the =httpd.conf or>> httpd_server_app.conf, just below the lines you added in STEP 6.>>=20>> #----------------------->> >> Deny from all = =20>> >> #----------------------->>=20>> STEP 8:>> Finally, if you want the WebDNA [protect] context to properly work, =you will need the>> following lines INSIDE the virtualhost configuration file, for every =single site on your server.>> Open each virtualhost config file and add the following lines:>>=20>> #----------------------->> >> RewriteEngine on>> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]>> >> #----------------------->>=20>> For Lion Server (10.7), the configuration files are located here:>> /etc/apache2/sites/0000_X.X.X.X_80_.conf (non-ssl domains)>> /etc/apache2/sites/0000_X.X.X.X_443_.conf (ssl domains)>>=20>> For Mountain Lion Server (10.8), the configuration files are located =here:>> =/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_80_.conf =(non-ssl domains)>> =/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_443_.conf =(ssl domains)>> in the following file for non-SSL vhosts:>>=20>>=20>> STEP 9:>> Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host.>> Do this in Lion & Mtn Lion SERVER by opening Server.app, selecting =Web (10.7) or Websites (10.8)>> under SERVICES in the left-side pane, select your domain to edit and =then select the "edit" button>> next to "Index Files:". In the drop-down sheet, select + and add ="index.dna" to the list.>>=20>> STEP 10:>> 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 why we do not =need anymore the>> WebDNAMonitor from the previous versions) either with>> apachectl restart>> or using your administration GUI.>>=20>> STEP 11:>> 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>> If your login fails, verify that STEP 8 has been done and try again.>>=20>> That should do it.>> =#-------------------------------------------------------------------------=----------------------------------->>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>> On 18/11/2012, at 22.43, Steve Craig wrote:>>=20>>> Hi>>>=20>>> OK I'm about to set up a new OSX Mountain Lion running server app. =Does anyone have a definitive setup guide that they care to share?>>>=20>>> Just wanting to save a bit of time.>>>=20>>> Cheers>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> Steve Craig - Asylum Interactive Ltd>>> Tel +44 1330 860550 Fax +44 1330 860880>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> http://www.asylumweb.com>>> Email: steve@asylumweb.com>>> Skype: s.craig - iChat: steve.craig>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>=20>>>=20>>>=20>>>=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>>=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>=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:
Sorry, it was the wrong scenario I pasted into my mail. This one =actually isnt mine, it was Brian's. Sorry about that. If if find mine I =will paste this as well./PalleOn 02/03/2013, at 07.26, christophe.billiottet@webdna.us wrote:> Hi Palle! thank you for all these informations. Please note that step =1 is not necessary anymore with WebDNA.fcgi (7.1) as it is not =java-dependant. The idea was to make the fastCGI as independant as =possible from external libraries.>=20> - chris>=20>=20>=20> On Mar 2, 2013, at 9:09, Palle Bo Nielsen =wrote:>=20>> Hi,>>=20>> I made this post some time ago based on my research... Maybe it can =help also...>>=20>> /Palle>>=20>>=20>> "...I'm not sure this is a DEFINITIVE guide, but it may help. I =started with the WebDNA 7 installation instructions and updated them for =LION SERVER and MOUNTAIN LION SERVER specific instructions. I'll attach =the text file as well as include the text below. Best of luck with your =install and keep us posted!>>=20>> Regards,>> Brian>>=20>> =#-------------------------------------------------------------------------=----------------------------------->>=20>> Here's the WebDNA 7 FastCGI installation process for OSX Lion SERVER =and Mountain Lion SERVER:>>=20>> STEP 1:>> Install JAVA for OS X Lion>> More information at: http://support.apple.com/kb/DL1421 and =http://support.apple.com/kb/HT5267>> To test if Java is installed, open Terminal.app and type "java".>> To check which version of Java is installed, open Terminal.app and =type "java -version".>>=20>> STEP 2:>> Install mod_fastcgi.so>> Lion/MtnLion is missing mod_fastcgi.so>> It can be recovered from Snow Leopard>> Put a copy of mod_fastcgi.so at /usr/libexec/apache2/>> Set permissions on mod_fastcgi.so to be the same as other .so files =in that directory.>> (i.e., system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly)=20>>=20>> STEP 3:>> For EACH web site domain (i.e., vhost), place a copy of the /WebDNA =folder here:>> /Library/Server/Web/Data/Sites//>>=20>> STEP 4:>> Move a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders>> chmod 755 WebDNA.fcgi>>=20>> STEP 5:>> Then open your primary apache2 configuration file and make sure that =both the>> rewrite and fastcgi modules are loaded. The mod_rewrite.so should be =loaded by default,>> but you will need to add the entry for loading mod_fastcgi.so>> For OS X Lion SERVER (10.7), the file to edit is: =/private/etc/apache2/httpd.conf>> For OS X Mtn Lion SERVER (10.8), the file to edit is: =/Library/Server/Web/Config/apache2/httpd_server_app.conf>>=20>> LoadModule rewrite_module libexec/apache2/mod_rewrite.so>> LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so>>=20>> STEP 6:>> - edit httpd_server_app.conf (10.8) or httpd.conf (10.7) to add the =following lines...>>=20>> <#----------------------->> >> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> FastCGIServer =/Library/Server/Web/Data/Sites//WebDNA/WebDNA.fcgi =-idle-timeout 60 -processes 1>> Action webdna-fastcgi /WebDNA/WebDNA.fcgi>> AddHandler webdna-fastcgi .dna>> >> #----------------------->>=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. Also be sure =to add an entry for each>> WebDNA-enabled vhost web site that you have.>>=20>> Notes for Lion Server (10.7)>>=20>> I added the fastcgi directive lines just below the following =directive:>> =09>> >> # Multi -language error messages>> #Include =/private/etc/apache2/extra/httpd-multilang-errordoc.conf>> ...>> #Include /private/etc/apache2/extra/httpd-dav.conf>> >> =09>> Be careful that OSX Lion Server will disable what you have done =if WebSharing is not "on":>> it will place your configuration within>> =09>> >> >> =09>> and the configuration settings are completely ineffective.>> So, turn it "on" by opening the System Settings, then opening =the "Sharing" control panel>> and checking the box for "Web Sharing".>>=20>> Notes for Mountain Lion Server (10.8)>>=20>> I added the fastcgi directive lines just below the following =directive:>> =09>> >> >>=20>>=20>> STEP 7:>> To hide some specific WebDNA-related files, add these lines in the =httpd.conf or>> httpd_server_app.conf, just below the lines you added in STEP 6.>>=20>> #----------------------->> >> Deny from all = =20>> >> #----------------------->>=20>> STEP 8:>> Finally, if you want the WebDNA [protect] context to properly work, =you will need the>> following lines INSIDE the virtualhost configuration file, for every =single site on your server.>> Open each virtualhost config file and add the following lines:>>=20>> #----------------------->> >> RewriteEngine on>> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]>> >> #----------------------->>=20>> For Lion Server (10.7), the configuration files are located here:>> /etc/apache2/sites/0000_X.X.X.X_80_.conf (non-ssl domains)>> /etc/apache2/sites/0000_X.X.X.X_443_.conf (ssl domains)>>=20>> For Mountain Lion Server (10.8), the configuration files are located =here:>> =/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_80_.conf =(non-ssl domains)>> =/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_443_.conf =(ssl domains)>> in the following file for non-SSL vhosts:>>=20>>=20>> STEP 9:>> Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host.>> Do this in Lion & Mtn Lion SERVER by opening Server.app, selecting =Web (10.7) or Websites (10.8)>> under SERVICES in the left-side pane, select your domain to edit and =then select the "edit" button>> next to "Index Files:". In the drop-down sheet, select + and add ="index.dna" to the list.>>=20>> STEP 10:>> 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 why we do not =need anymore the>> WebDNAMonitor from the previous versions) either with>> apachectl restart>> or using your administration GUI.>>=20>> STEP 11:>> 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>> If your login fails, verify that STEP 8 has been done and try again.>>=20>> That should do it.>> =#-------------------------------------------------------------------------=----------------------------------->>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>>=20>> On 18/11/2012, at 22.43, Steve Craig wrote:>>=20>>> Hi>>>=20>>> OK I'm about to set up a new OSX Mountain Lion running server app. =Does anyone have a definitive setup guide that they care to share?>>>=20>>> Just wanting to save a bit of time.>>>=20>>> Cheers>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> Steve Craig - Asylum Interactive Ltd>>> Tel +44 1330 860550 Fax +44 1330 860880>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> http://www.asylumweb.com>>> Email: steve@asylumweb.com>>> Skype: s.craig - iChat: steve.craig>>> =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>=20>>>=20>>>=20>>>=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>>=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>=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:
What file? (1997)
Logging purchases (1997)
Multiple Newcarts (1996)
label?! (2005)
test (2002)
[delete] problem (1997)
Date Formats (1997)
Greeting Card System (2000)
Cookies (1999)
OT-JS question (2001)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
emailer w/F2 (1997)
SKU (1997)
Test (2002)
underscore in variable name (2000)
[WebDNA] Asking for trouble? (2011)
Sendmail & Time Issue (2001)
Error Log.db --however (1997)
Webcatalog error, Plug-in for Webstar (1996)
Setting up WebCatalog with Retail Pro data (1996)