Re: [WebDNA] New Mountain Lion OSX Server

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110227
interpreted = N
texte = --Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Sorry about the confusion, here is MY old submission :) from the Talk = archives... To whom it might interest. WebDNA 6.2 (CICADA) is compatible with Mac OS X Mountain Lion Server = (v10.8) In the Terminal while doing a WebDNA v6.2 install: Enter the Default Web Server CGI directory: =20 ( default is /Library/WebServer/CGI-Executables ) Enter the following: /Library/Server/Web/Data/CGI-Executables Enter the Apache configuration directory (contains the default = httpd.conf file): =20 ( default is /etc/apache2 ) Enter the following: /Library/Server/Web/Config/apache2 Enter the apache user name: =20 Press ENTEAR to select default: ( default is _www ) -- When the installation process has ended, then navigate (using normal UI) = to the following path /library/server/web/Config/apache2/) and open the = Apache/Apple configuration file named [httpd_server_app.conf]. Navigate = to the end of the file and enter the following...: Include = /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/webdna.conf Within the same file, do a basic text search for and = add the the relevant suffixes which are right for you. As an example of = how I use it...: DirectoryIndex index.html index.php index.tpl index.dna default.tpl = default.dna In the Server App (included with Mountain Lion) I have created a website = (webdna.domain_name_example.com) which points directly to the = /WebCatalog/ folder (WebDNA settings page) for the ease of it all. The = path is (/library/Server/Web/Data/Sites/WebCatalog/). Well, hope it helps those of you for whom it's relevant... /Palle On 02/03/2013, at 08.37, christophe.billiottet@webdna.us wrote: > Hi Lawrence! >=20 > there is a mix between your last WebDNA server version (CICADA 6.x) = and the FastCGI version. The fastCGI version does not have any .tpl file = in its administration. >=20 > The best would be to remove entirely CICADA and the fastCGI and then = reinstall the fastCGI following our ReadMe file or Palle's instructions. >=20 > - chris >=20 > On Mar 2, 2013, at 1:49, Banahan wrote: >=20 >> Hi Chris >>=20 >> I went through the lion instructions and I get the following? >> Not Found >> The requested URL /WebDNA/WebDNA.fcgi/index.tpl was not found on this = server. >> Maybe I didn't uninstall all the files from Cicada, what should be = removed from Cicada? >>=20 >> I make this try with the website in the webserver Document folder. >> But I have my websites on a separate disk, I also tried with changing = the path to that hard drive, I had the same result. >> What is best to do... >>=20 >> Thanks >> Lawrence >>=20 >> --=20 >> Lawrence Banahan >> Mobile: 06.80.71.99.02 >> Skype: lbanahan >>=20 >> christophe.billiottet@webdna.us a =E9crit : >>> No, httpd.conf is different between 10.6 and 10.8. Do not upload = your 10.6 httpd.conf to a 10.8 box, it would make a mess with the new = apache configuration. What you have to do on a 10.8 is >>>=20 >>> - just upload mod_fastcgi.so (we have a copy if you need it) in = /usr/libexec/apache2/ with the same UID:GID and permissions as the other = modules you will find inside this directory >>>=20 >>> and if it is a new install, just follow the instructions (Lion and = Mountain Lion have the same procedure) in the ReadMe file that comes = with the FastCGI. I did this several times so far (regular 10.8 and 10.8 = server) without any problem, it just takes few minutes to do. >>>=20 >>> - chris >>>=20 >>>=20 >>>=20 >>> On Feb 28, 2013, at 10:32, Banahan=20 >>> >>> wrote: >>>=20 >>>=20 >>>> Using the Webdna 7 on 10.6, so this means we just need to upload = the httpd.conf? >>>> Lawrence >>>>=20 >>>>=20 >>>>=20 >>>> christophe.billiottet@webdna.us >>>> a =E9crit : >>>>=20 >>>>> On my side, i was using 10.6 and directly upgraded to 10.8. The = only thing i had to do to make my WeDNA.fcgi run back has been to add = the mod_fastcgi.so (which had been removed by Apple since 10.7). It was = straight and easy to do. >>>>>=20 >>>>> - chris >>>>>=20 >>>>> On Feb 28, 2013, at 4:40, Tom Duke=20 >>>>>=20 >>>>> >>>>>=20 >>>>> wrote: >>>>>=20 >>>>>=20 >>>>>=20 >>>>>> Lawrence, >>>>>>=20 >>>>>> Hi - it is possible. I installed v.7 on my MacBook Pro - then = removed it and installed v6.2 so I could have a development environment = to match our production server. >>>>>>=20 >>>>>> My notes are rough - I never got a chance to write them up = properly - the main issue initially was to re-enable to web server in = Lion. Apple have left the software in place but have essentially = deactivated the web server. >>>>>>=20 >>>>>> Happy to share my notes if you would like them. >>>>>>=20 >>>>>> - Tom >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> =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=3D=3D=3D=3D=3D=3D >>>>>> Digital Revolutionaries >>>>>> 1st Floor, Castleriver House >>>>>> 14-15 Parliament Street >>>>>> Temple Bar,Dublin 2 >>>>>> Ireland >>>>>> ---------------------------------------------- >>>>>> [t]: ++ 353 1 440 3907 >>>>>> [e]:=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>>=20 >>>>>> [w]:=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>>=20 >>>>>> =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=3D=3D=3D=3D=3D=3D >>>>>>=20 >>>>>>=20 >>>>>> On 27 February 2013 22:11, Banahan=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>> wrote: >>>>>> Hi, >>>>>>=20 >>>>>> I'm trying to setup a new server on Mac OSX. >>>>>> As I bought a MacMini it comes with Montain Lion (not server) >>>>>> I tried to set it up with the above details, but it's not = working... >>>>>> I'm wonder if some body did an install of Webdna on a non server = 10.8 >>>>>>=20 >>>>>> I'm now considering getting the MacMini to 10.6 as it looks like = a lot faster to install (My server should already be running...) >>>>>> What's you opinion? What is the benefit of using 10.8 ou 10.7 = compared to 10.6 >>>>>>=20 >>>>>> Thanks in advance fot your tips >>>>>> Lawrence >>>>>>=20 >>>>>> --=20 >>>>>> Lawrence Banahan >>>>>> Mobile: 06.80.71.99.02 >>>>>> Skype: lbanahan >>>>>> Courriel:=20 >>>>>>=20 >>>>>> lawrence@banahan.fr >>>>>> www.banahan.fr >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Brian Wachter a =E9crit : >>>>>>=20 >>>>>>=20 >>>>>>> Steve, >>>>>>>=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:=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://support.apple.com/kb/DL1421 and = http://support.apple.com/kb/HT5267 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> 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:%{ >>>>>>>=20 >>>>>>>=20 >>>>>>> HTTP:Authorization >>>>>>>=20 >>>>>>>=20 >>>>>>> },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=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://www.domain1.com/WebDNA/Admin/AdminPrefs.dna >>>>>>>=20 >>>>>>>=20 >>>>>>> to manage site1, >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://www.domain2.com/WebDNA/Admin/AdminPrefs.dna >>>>>>>=20 >>>>>>>=20 >>>>>>> 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 >>>>>> --------------------------------------------------------- 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 >>>>>>=20 >>>>>>=20 >>>>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives:=20 >>>>>>=20 >>>>>> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list=20 >>>>>=20 >>>>> >>>>>=20 >>>>> . >>>>> To unsubscribe, E-mail to:=20 >>>>>=20 >>>>> >>>>>=20 >>>>>=20 >>>>> archives:=20 >>>>>=20 >>>>> http://mail.webdna.us/list/talk@webdna.us >>>>>=20 >>>>>=20 >>>>> Bug Reporting:=20 >>>>>=20 >>>>> support@webdna.us >>>> --------------------------------------------------------- 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=20 >>> >>> . >>> To unsubscribe, E-mail to:=20 >>> >>>=20 >>> archives:=20 >>> http://mail.webdna.us/list/talk@webdna.us >>>=20 >>> Bug Reporting:=20 >>> support@webdna.us >> --------------------------------------------------------- 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 --Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Sorry about the confusion, here is MY old submission :) from the = Talk archives...

To whom it might = interest.

WebDNA 6.2 (CICADA) is compatible with Mac OS X = Mountain Lion Server (v10.8)

In the Terminal while doing a WebDNA = v6.2 install:

Enter the Default Web Server CGI directory: =            
( = default is /Library/WebServer/CGI-Executables )
Enter the following: = /Library/Server/Web/Data/CGI-Executables

Enter the Apache = configuration directory (contains the default httpd.conf file): =             ( default is /etc/apache2 )
Enter the following: = /Library/Server/Web/Config/apache2

Enter the apache user name: =             Press ENTEAR to select default: ( default is _www = )

--

When the installation process has ended, then = navigate (using normal UI) to the following path = /library/server/web/Config/apache2/) and open the Apache/Apple = configuration file named [httpd_server_app.conf]. Navigate to the end of = the file and enter the following...:
Include = /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/webdna.conf
<= br>Within the same file, do a basic text search for = <DirectoryIndex> and add the the relevant suffixes which are right = for you. As an example of how I use it...:
DirectoryIndex index.html = index.php index.tpl index.dna default.tpl default.dna

In the = Server App (included with Mountain Lion) I have created a website = (webdna.domain_name_example.com) which points directly to the = /WebCatalog/ folder (WebDNA settings page) for the ease of it all. The = path is (/library/Server/Web/Data/Sites/WebCatalog/).

Well, hope = it helps those of you for whom it's = relevant...

/Palle




On 02/03/2013, at 08.37, christophe.billiottet@webd= na.us wrote:

Hi Lawrence!

there is a mix between your last = WebDNA server version (CICADA 6.x) and the FastCGI version. The fastCGI = version does not have any .tpl file in its administration.

The = best would be to remove entirely CICADA and the fastCGI and then = reinstall the fastCGI following our ReadMe file or Palle's = instructions.

- chris

On Mar 2, 2013, at 1:49, Banahan = <banahan.l@gmail.com> = wrote:

Hi Chris

I went through = the lion instructions and I get the following?
Not Found
The = requested URL /WebDNA/WebDNA.fcgi/index.tpl was not found on this = server.
Maybe I didn't uninstall all the files from Cicada, what = should be removed from Cicada?

I make this try with the website = in the webserver Document folder.
But I have my websites on a = separate disk, I also tried with changing the path to that hard drive, I = had the same result.
What is best to = do...

Thanks
Lawrence

--
Lawrence = Banahan
Mobile: 06.80.71.99.02
Skype: lbanahan

christophe.billiottet@webd= na.us a =E9crit :
No, httpd.conf is = different between 10.6 and 10.8. Do not upload your 10.6 httpd.conf to a = 10.8 box, it would make a mess with the new apache configuration. What = you have to do on a 10.8 is

- just upload mod_fastcgi.so (we have = a copy if you need it) in /usr/libexec/apache2/ with the same UID:GID = and permissions as the other modules you will find inside this = directory

and if it is a new install, just follow the = instructions (Lion and Mountain Lion have the same procedure) in the = ReadMe file that comes with the FastCGI. I did this several times so far = (regular 10.8 and 10.8 server) without any problem, it just takes few = minutes to do.

- chris



On Feb 28, 2013, at 10:32, = Banahan
<banahan.l@gmail.com>
= wrote:


Using the Webdna 7 on 10.6, = so this means we just need to upload the = httpd.conf?
Lawrence



christophe.billiottet@webd= na.us
a =E9crit :

On my side, i = was using 10.6 and directly upgraded to 10.8. The only thing i had to do = to make my WeDNA.fcgi run back has been to add the mod_fastcgi.so (which = had been removed by Apple since 10.7). It was straight and easy to = do.

- chris

On Feb 28, 2013, at 4:40, Tom Duke =

<tom@revolutionaries.ie>

= wrote:



Lawrence,

Hi - it = is possible.   I installed v.7 on my MacBook Pro - then = removed it and installed v6.2 so I could have a development environment = to match our production server.

My notes are rough - I never got = a chance to write them up properly - the main issue initially was to = re-enable to web server in Lion.   Apple have left the = software in place but have essentially deactivated the web = server.

Happy to share my notes if you would like them.

- = Tom





=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=3D= =3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castleriver = House
14-15 Parliament Street
Temple Bar,Dublin = 2
Ireland
----------------------------------------------
[t]: = ++ 353 1 440 3907
[e]: =

<mailto:tom@revolutionaries.ie>


[w]: =

<http://www.revolutionaries.ie/>


=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=3D=3D=3D=3D=3D=3D


On 27 February = 2013 22:11, Banahan

<banahan.l@gmail.com>

= wrote:
Hi,

I'm trying to setup a new server on Mac OSX.
As = I bought a MacMini it comes with Montain Lion (not server)
I tried to = set it up with the above details, but it's not working...
I'm wonder = if some body did an install of Webdna on a non server 10.8

I'm = now considering getting the MacMini to 10.6  as it looks like a lot = faster to install (My server should already be running...)
What's you = opinion? What is the benefit of using 10.8 ou 10.7 compared to = 10.6

Thanks in advance fot your tips
Lawrence

-- =
Lawrence Banahan
Mobile: 06.80.71.99.02
Skype: = lbanahan
Courriel: =

lawrence@banahan.fr
www.banahan.fr





Brian= Wachter a =E9crit :


Steve,

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!

Regards,
Brian

#---------------------------------= --------------------------------------------------------------------------= -

Here's the WebDNA 7 FastCGI installation process for OSX Lion = SERVER and Mountain Lion SERVER:

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".

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=3Dreado= nly)

STEP 3:
For EACH web site domain (i.e., vhost), place a = copy of the /WebDNA folder = here:
/Library/Server/Web/Data/Sites/<myDomainDirectory>/

= STEP 4:
Move a copy of WebDNA.fcgi executable inside each of the = /WebDNA folders
chmod 755 WebDNA.fcgi

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

LoadModule= rewrite_module =     libexec/apache2/mod_rewrite.so
LoadModule = fastcgi_module =     libexec/apache2/mod_fastcgi.so

STEP = 6:
- edit httpd_server_app.conf (10.8) or httpd.conf (10.7) to add = the following = lines...

<#-----------------------
<IfModule = mod_fastcgi.c>
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory1>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory2>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory3>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
Action webdna-fastcgi = /WebDNA/WebDNA.fcgi
AddHandler webdna-fastcgi = .dna
</IfModule>
#-----------------------

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.

Notes for Lion Server (10.7)

I added = the fastcgi directive lines just below the following directive:

= <IfDefine WEBSHARING_ON>
# Multi =    -language error messages
#Include = /private/etc/apache2/extra/httpd-multilang-errordoc.conf
= ...
= #Include /private/etc/apache2/extra/httpd-dav.conf
= </IfDefine>

Be careful that OSX Lion Server = will disable what you have done if WebSharing is not "on":
it will = place your configuration within

<IfDefine = WEBSHARING_ON>
</IfDefine>

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".

Notes for = Mountain Lion Server (10.8)

I added the fastcgi directive = lines just below the following directive:

= <IfModule mime_module>
</IfModule>


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.

#-----------------------
<FilesMatch =  ".*\.(db|inc|conf|ini)$">
Deny from all =             &n= bsp;           &nbs= p;            =             &n= bsp;           &nbs= p; 
</FilesMatch>
#-----------------------

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:

#-----------------------
<IfModule = mod_rewrite.c>
RewriteEngine on
RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{


HTTP:Authorization


},L]</IfModule>
#-----------------------

For Lion Server = (10.7), the configuration files are located = here:
/etc/apache2/sites/0000_X.X.X.X_80_<myDomain>.conf = (non-ssl = domains)
/etc/apache2/sites/0000_X.X.X.X_443_<myDomain>.conf = (ssl domains)

For Mountain Lion Server (10.8), the configuration = files are located = here:
/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_80_<myDo= main>.conf (non-ssl = domains)
/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_443_<= myDomain>.conf (ssl domains)
in the following file for non-SSL = vhosts:


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.

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.

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...

login and pass = admin/admin

If your login fails, verify that STEP 8 has been done = and try again.

That should do = it.
#------------------------------------------------------------------= ------------------------------------------



---= ------------------------------------------------------ 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



-----------------------------------------= ---------------- 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
----------------------------------------= -----------------
This message is sent to you because you are = subscribed to
the mailing list =

<talk@webdna.us>

.
To unsubscribe, E-mail to: =

<talk-leave@webdna.us>


archives: =

http://mail.webdna.us/list/talk@webdna.us


Bug = Reporting: =

support@webdna.us
--------------------------------= ------------------------- 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

------------------------------------= ---------------------
This message is sent to you because you are = subscribed to
the mailing list
<talk@webdna.us>
.
To = unsubscribe, E-mail to:
<talk-leave@webdna.us>

a= rchives:
http://mail.webdna.us/l= ist/talk@webdna.us

Bug Reporting: =
support@webdna.us
------------------------------------= --------------------- This message is sent to you because you are = subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us
---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us

= --Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] New Mountain Lion OSX Server (christophe.billiottet@webdna.us 2013)
  2. Re: [WebDNA] New Mountain Lion OSX Server (Banahan 2013)
  3. Re: [WebDNA] New Mountain Lion OSX Server (Banahan 2013)
  4. Re: [WebDNA] New Mountain Lion OSX Server (Tom Duke 2013)
  5. Re: [WebDNA] New Mountain Lion OSX Server (Palle Bo Nielsen 2013)
  6. Re: [WebDNA] New Mountain Lion OSX Server (christophe.billiottet@webdna.us 2013)
  7. Re: [WebDNA] New Mountain Lion OSX Server (Palle Bo Nielsen 2013)
  8. Re: [WebDNA] New Mountain Lion OSX Server (christophe.billiottet@webdna.us 2013)
  9. Re: [WebDNA] New Mountain Lion OSX Server (Palle Bo Nielsen 2013)
  10. Re: [WebDNA] New Mountain Lion OSX Server (Banahan 2013)
  11. Re: [WebDNA] New Mountain Lion OSX Server (christophe.billiottet@webdna.us 2013)
  12. Re: [WebDNA] New Mountain Lion OSX Server (Banahan 2013)
  13. Re: [WebDNA] New Mountain Lion OSX Server (christophe.billiottet@webdna.us 2013)
  14. Re: [WebDNA] New Mountain Lion OSX Server (Tom Duke 2013)
  15. Re: [WebDNA] New Mountain Lion OSX Server (Brian Fries 2013)
  16. Re: [WebDNA] New Mountain Lion OSX Server (Banahan 2013)
--Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Sorry about the confusion, here is MY old submission :) from the Talk = archives... To whom it might interest. WebDNA 6.2 (CICADA) is compatible with Mac OS X Mountain Lion Server = (v10.8) In the Terminal while doing a WebDNA v6.2 install: Enter the Default Web Server CGI directory: =20 ( default is /Library/WebServer/CGI-Executables ) Enter the following: /Library/Server/Web/Data/CGI-Executables Enter the Apache configuration directory (contains the default = httpd.conf file): =20 ( default is /etc/apache2 ) Enter the following: /Library/Server/Web/Config/apache2 Enter the apache user name: =20 Press ENTEAR to select default: ( default is _www ) -- When the installation process has ended, then navigate (using normal UI) = to the following path /library/server/web/Config/apache2/) and open the = Apache/Apple configuration file named [httpd_server_app.conf]. Navigate = to the end of the file and enter the following...: Include = /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/webdna.conf Within the same file, do a basic text search for and = add the the relevant suffixes which are right for you. As an example of = how I use it...: DirectoryIndex index.html index.php index.tpl index.dna default.tpl = default.dna In the Server App (included with Mountain Lion) I have created a website = (webdna.domain_name_example.com) which points directly to the = /WebCatalog/ folder (WebDNA settings page) for the ease of it all. The = path is (/library/Server/Web/Data/Sites/WebCatalog/). Well, hope it helps those of you for whom it's relevant... /Palle On 02/03/2013, at 08.37, christophe.billiottet@webdna.us wrote: > Hi Lawrence! >=20 > there is a mix between your last WebDNA server version (CICADA 6.x) = and the FastCGI version. The fastCGI version does not have any .tpl file = in its administration. >=20 > The best would be to remove entirely CICADA and the fastCGI and then = reinstall the fastCGI following our ReadMe file or Palle's instructions. >=20 > - chris >=20 > On Mar 2, 2013, at 1:49, Banahan wrote: >=20 >> Hi Chris >>=20 >> I went through the lion instructions and I get the following? >> Not Found >> The requested URL /WebDNA/WebDNA.fcgi/index.tpl was not found on this = server. >> Maybe I didn't uninstall all the files from Cicada, what should be = removed from Cicada? >>=20 >> I make this try with the website in the webserver Document folder. >> But I have my websites on a separate disk, I also tried with changing = the path to that hard drive, I had the same result. >> What is best to do... >>=20 >> Thanks >> Lawrence >>=20 >> --=20 >> Lawrence Banahan >> Mobile: 06.80.71.99.02 >> Skype: lbanahan >>=20 >> christophe.billiottet@webdna.us a =E9crit : >>> No, httpd.conf is different between 10.6 and 10.8. Do not upload = your 10.6 httpd.conf to a 10.8 box, it would make a mess with the new = apache configuration. What you have to do on a 10.8 is >>>=20 >>> - just upload mod_fastcgi.so (we have a copy if you need it) in = /usr/libexec/apache2/ with the same UID:GID and permissions as the other = modules you will find inside this directory >>>=20 >>> and if it is a new install, just follow the instructions (Lion and = Mountain Lion have the same procedure) in the ReadMe file that comes = with the FastCGI. I did this several times so far (regular 10.8 and 10.8 = server) without any problem, it just takes few minutes to do. >>>=20 >>> - chris >>>=20 >>>=20 >>>=20 >>> On Feb 28, 2013, at 10:32, Banahan=20 >>> >>> wrote: >>>=20 >>>=20 >>>> Using the Webdna 7 on 10.6, so this means we just need to upload = the httpd.conf? >>>> Lawrence >>>>=20 >>>>=20 >>>>=20 >>>> christophe.billiottet@webdna.us >>>> a =E9crit : >>>>=20 >>>>> On my side, i was using 10.6 and directly upgraded to 10.8. The = only thing i had to do to make my WeDNA.fcgi run back has been to add = the mod_fastcgi.so (which had been removed by Apple since 10.7). It was = straight and easy to do. >>>>>=20 >>>>> - chris >>>>>=20 >>>>> On Feb 28, 2013, at 4:40, Tom Duke=20 >>>>>=20 >>>>> >>>>>=20 >>>>> wrote: >>>>>=20 >>>>>=20 >>>>>=20 >>>>>> Lawrence, >>>>>>=20 >>>>>> Hi - it is possible. I installed v.7 on my MacBook Pro - then = removed it and installed v6.2 so I could have a development environment = to match our production server. >>>>>>=20 >>>>>> My notes are rough - I never got a chance to write them up = properly - the main issue initially was to re-enable to web server in = Lion. Apple have left the software in place but have essentially = deactivated the web server. >>>>>>=20 >>>>>> Happy to share my notes if you would like them. >>>>>>=20 >>>>>> - Tom >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> =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=3D=3D=3D=3D=3D=3D >>>>>> Digital Revolutionaries >>>>>> 1st Floor, Castleriver House >>>>>> 14-15 Parliament Street >>>>>> Temple Bar,Dublin 2 >>>>>> Ireland >>>>>> ---------------------------------------------- >>>>>> [t]: ++ 353 1 440 3907 >>>>>> [e]:=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>>=20 >>>>>> [w]:=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>>=20 >>>>>> =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=3D=3D=3D=3D=3D=3D >>>>>>=20 >>>>>>=20 >>>>>> On 27 February 2013 22:11, Banahan=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>> wrote: >>>>>> Hi, >>>>>>=20 >>>>>> I'm trying to setup a new server on Mac OSX. >>>>>> As I bought a MacMini it comes with Montain Lion (not server) >>>>>> I tried to set it up with the above details, but it's not = working... >>>>>> I'm wonder if some body did an install of Webdna on a non server = 10.8 >>>>>>=20 >>>>>> I'm now considering getting the MacMini to 10.6 as it looks like = a lot faster to install (My server should already be running...) >>>>>> What's you opinion? What is the benefit of using 10.8 ou 10.7 = compared to 10.6 >>>>>>=20 >>>>>> Thanks in advance fot your tips >>>>>> Lawrence >>>>>>=20 >>>>>> --=20 >>>>>> Lawrence Banahan >>>>>> Mobile: 06.80.71.99.02 >>>>>> Skype: lbanahan >>>>>> Courriel:=20 >>>>>>=20 >>>>>> lawrence@banahan.fr >>>>>> www.banahan.fr >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Brian Wachter a =E9crit : >>>>>>=20 >>>>>>=20 >>>>>>> Steve, >>>>>>>=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:=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://support.apple.com/kb/DL1421 and = http://support.apple.com/kb/HT5267 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> 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:%{ >>>>>>>=20 >>>>>>>=20 >>>>>>> HTTP:Authorization >>>>>>>=20 >>>>>>>=20 >>>>>>> },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=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://www.domain1.com/WebDNA/Admin/AdminPrefs.dna >>>>>>>=20 >>>>>>>=20 >>>>>>> to manage site1, >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> http://www.domain2.com/WebDNA/Admin/AdminPrefs.dna >>>>>>>=20 >>>>>>>=20 >>>>>>> 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 >>>>>> --------------------------------------------------------- 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 >>>>>>=20 >>>>>>=20 >>>>>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives:=20 >>>>>>=20 >>>>>> http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list=20 >>>>>=20 >>>>> >>>>>=20 >>>>> . >>>>> To unsubscribe, E-mail to:=20 >>>>>=20 >>>>> >>>>>=20 >>>>>=20 >>>>> archives:=20 >>>>>=20 >>>>> http://mail.webdna.us/list/talk@webdna.us >>>>>=20 >>>>>=20 >>>>> Bug Reporting:=20 >>>>>=20 >>>>> support@webdna.us >>>> --------------------------------------------------------- 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=20 >>> >>> . >>> To unsubscribe, E-mail to:=20 >>> >>>=20 >>> archives:=20 >>> http://mail.webdna.us/list/talk@webdna.us >>>=20 >>> Bug Reporting:=20 >>> support@webdna.us >> --------------------------------------------------------- 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 --Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Sorry about the confusion, here is MY old submission :) from the = Talk archives...

To whom it might = interest.

WebDNA 6.2 (CICADA) is compatible with Mac OS X = Mountain Lion Server (v10.8)

In the Terminal while doing a WebDNA = v6.2 install:

Enter the Default Web Server CGI directory: =            
( = default is /Library/WebServer/CGI-Executables )
Enter the following: = /Library/Server/Web/Data/CGI-Executables

Enter the Apache = configuration directory (contains the default httpd.conf file): =             ( default is /etc/apache2 )
Enter the following: = /Library/Server/Web/Config/apache2

Enter the apache user name: =             Press ENTEAR to select default: ( default is _www = )

--

When the installation process has ended, then = navigate (using normal UI) to the following path = /library/server/web/Config/apache2/) and open the Apache/Apple = configuration file named [httpd_server_app.conf]. Navigate to the end of = the file and enter the following...:
Include = /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/webdna.conf
<= br>Within the same file, do a basic text search for = <DirectoryIndex> and add the the relevant suffixes which are right = for you. As an example of how I use it...:
DirectoryIndex index.html = index.php index.tpl index.dna default.tpl default.dna

In the = Server App (included with Mountain Lion) I have created a website = (webdna.domain_name_example.com) which points directly to the = /WebCatalog/ folder (WebDNA settings page) for the ease of it all. The = path is (/library/Server/Web/Data/Sites/WebCatalog/).

Well, hope = it helps those of you for whom it's = relevant...

/Palle




On 02/03/2013, at 08.37, christophe.billiottet@webd= na.us wrote:

Hi Lawrence!

there is a mix between your last = WebDNA server version (CICADA 6.x) and the FastCGI version. The fastCGI = version does not have any .tpl file in its administration.

The = best would be to remove entirely CICADA and the fastCGI and then = reinstall the fastCGI following our ReadMe file or Palle's = instructions.

- chris

On Mar 2, 2013, at 1:49, Banahan = <banahan.l@gmail.com> = wrote:

Hi Chris

I went through = the lion instructions and I get the following?
Not Found
The = requested URL /WebDNA/WebDNA.fcgi/index.tpl was not found on this = server.
Maybe I didn't uninstall all the files from Cicada, what = should be removed from Cicada?

I make this try with the website = in the webserver Document folder.
But I have my websites on a = separate disk, I also tried with changing the path to that hard drive, I = had the same result.
What is best to = do...

Thanks
Lawrence

--
Lawrence = Banahan
Mobile: 06.80.71.99.02
Skype: lbanahan

christophe.billiottet@webd= na.us a =E9crit :
No, httpd.conf is = different between 10.6 and 10.8. Do not upload your 10.6 httpd.conf to a = 10.8 box, it would make a mess with the new apache configuration. What = you have to do on a 10.8 is

- just upload mod_fastcgi.so (we have = a copy if you need it) in /usr/libexec/apache2/ with the same UID:GID = and permissions as the other modules you will find inside this = directory

and if it is a new install, just follow the = instructions (Lion and Mountain Lion have the same procedure) in the = ReadMe file that comes with the FastCGI. I did this several times so far = (regular 10.8 and 10.8 server) without any problem, it just takes few = minutes to do.

- chris



On Feb 28, 2013, at 10:32, = Banahan
<banahan.l@gmail.com>
= wrote:


Using the Webdna 7 on 10.6, = so this means we just need to upload the = httpd.conf?
Lawrence



christophe.billiottet@webd= na.us
a =E9crit :

On my side, i = was using 10.6 and directly upgraded to 10.8. The only thing i had to do = to make my WeDNA.fcgi run back has been to add the mod_fastcgi.so (which = had been removed by Apple since 10.7). It was straight and easy to = do.

- chris

On Feb 28, 2013, at 4:40, Tom Duke =

<tom@revolutionaries.ie>

= wrote:



Lawrence,

Hi - it = is possible.   I installed v.7 on my MacBook Pro - then = removed it and installed v6.2 so I could have a development environment = to match our production server.

My notes are rough - I never got = a chance to write them up properly - the main issue initially was to = re-enable to web server in Lion.   Apple have left the = software in place but have essentially deactivated the web = server.

Happy to share my notes if you would like them.

- = Tom





=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=3D= =3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castleriver = House
14-15 Parliament Street
Temple Bar,Dublin = 2
Ireland
----------------------------------------------
[t]: = ++ 353 1 440 3907
[e]: =

<mailto:tom@revolutionaries.ie>


[w]: =

<http://www.revolutionaries.ie/>


=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=3D=3D=3D=3D=3D=3D


On 27 February = 2013 22:11, Banahan

<banahan.l@gmail.com>

= wrote:
Hi,

I'm trying to setup a new server on Mac OSX.
As = I bought a MacMini it comes with Montain Lion (not server)
I tried to = set it up with the above details, but it's not working...
I'm wonder = if some body did an install of Webdna on a non server 10.8

I'm = now considering getting the MacMini to 10.6  as it looks like a lot = faster to install (My server should already be running...)
What's you = opinion? What is the benefit of using 10.8 ou 10.7 compared to = 10.6

Thanks in advance fot your tips
Lawrence

-- =
Lawrence Banahan
Mobile: 06.80.71.99.02
Skype: = lbanahan
Courriel: =

lawrence@banahan.fr
www.banahan.fr





Brian= Wachter a =E9crit :


Steve,

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!

Regards,
Brian

#---------------------------------= --------------------------------------------------------------------------= -

Here's the WebDNA 7 FastCGI installation process for OSX Lion = SERVER and Mountain Lion SERVER:

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".

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=3Dreado= nly)

STEP 3:
For EACH web site domain (i.e., vhost), place a = copy of the /WebDNA folder = here:
/Library/Server/Web/Data/Sites/<myDomainDirectory>/

= STEP 4:
Move a copy of WebDNA.fcgi executable inside each of the = /WebDNA folders
chmod 755 WebDNA.fcgi

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

LoadModule= rewrite_module =     libexec/apache2/mod_rewrite.so
LoadModule = fastcgi_module =     libexec/apache2/mod_fastcgi.so

STEP = 6:
- edit httpd_server_app.conf (10.8) or httpd.conf (10.7) to add = the following = lines...

<#-----------------------
<IfModule = mod_fastcgi.c>
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory1>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory2>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
FastCGIServer = /Library/Server/Web/Data/Sites/<myDomainDirectory3>/WebDNA/WebDNA.fc= gi -idle-timeout 60 -processes 1
Action webdna-fastcgi = /WebDNA/WebDNA.fcgi
AddHandler webdna-fastcgi = .dna
</IfModule>
#-----------------------

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.

Notes for Lion Server (10.7)

I added = the fastcgi directive lines just below the following directive:

= <IfDefine WEBSHARING_ON>
# Multi =    -language error messages
#Include = /private/etc/apache2/extra/httpd-multilang-errordoc.conf
= ...
= #Include /private/etc/apache2/extra/httpd-dav.conf
= </IfDefine>

Be careful that OSX Lion Server = will disable what you have done if WebSharing is not "on":
it will = place your configuration within

<IfDefine = WEBSHARING_ON>
</IfDefine>

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".

Notes for = Mountain Lion Server (10.8)

I added the fastcgi directive = lines just below the following directive:

= <IfModule mime_module>
</IfModule>


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.

#-----------------------
<FilesMatch =  ".*\.(db|inc|conf|ini)$">
Deny from all =             &n= bsp;           &nbs= p;            =             &n= bsp;           &nbs= p; 
</FilesMatch>
#-----------------------

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:

#-----------------------
<IfModule = mod_rewrite.c>
RewriteEngine on
RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{


HTTP:Authorization


},L]</IfModule>
#-----------------------

For Lion Server = (10.7), the configuration files are located = here:
/etc/apache2/sites/0000_X.X.X.X_80_<myDomain>.conf = (non-ssl = domains)
/etc/apache2/sites/0000_X.X.X.X_443_<myDomain>.conf = (ssl domains)

For Mountain Lion Server (10.8), the configuration = files are located = here:
/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_80_<myDo= main>.conf (non-ssl = domains)
/Library/Server/Web/Config/apache2/sites/0000_X.X.X.X_443_<= myDomain>.conf (ssl domains)
in the following file for non-SSL = vhosts:


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.

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.

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...

login and pass = admin/admin

If your login fails, verify that STEP 8 has been done = and try again.

That should do = it.
#------------------------------------------------------------------= ------------------------------------------



---= ------------------------------------------------------ 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



-----------------------------------------= ---------------- 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
----------------------------------------= -----------------
This message is sent to you because you are = subscribed to
the mailing list =

<talk@webdna.us>

.
To unsubscribe, E-mail to: =

<talk-leave@webdna.us>


archives: =

http://mail.webdna.us/list/talk@webdna.us


Bug = Reporting: =

support@webdna.us
--------------------------------= ------------------------- 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

------------------------------------= ---------------------
This message is sent to you because you are = subscribed to
the mailing list
<talk@webdna.us>
.
To = unsubscribe, E-mail to:
<talk-leave@webdna.us>

a= rchives:
http://mail.webdna.us/l= ist/talk@webdna.us

Bug Reporting: =
support@webdna.us
------------------------------------= --------------------- This message is sent to you because you are = subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us
---------------------------------------------------------
This = message is sent to you because you are subscribed to
the mailing list = <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us

= --Apple-Mail=_2F68D093-8621-4148-B6D6-42C7D64E702A-- 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:

founditem align (1998) Latin Characters (1998) Secure server question (1997) Search minus first found (1999) Connection count (2005) $Replace with [founditems] (1997) Search Command, multiple dbs, etc. --Getting Results Now! (2000) RE: [WebDNA] unix timestamp in WebDNA (2009) X etc.... (1999) Plugin or CGI or both (1997) NT beta ReadMe missing (b12-b15) (1997) 4.5 Upgrade (2003) Generating Report Totals (1997) autosensing lanague selection (1997) WebTEN vs webSTAR (1998) Text limits in NT version? (1997) Sort on time (2003) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Problem with summary on date / inconsequent webcat behaviour (1998) webcat2b12 CGI -- Date comparisons (1997)