Re: [WebDNA] Installing WebDNA 7 on OSX Mavericks Server - Instructions
This WebDNA talk-list message is from 2014
It keeps the original formatting.
numero = 111111
interpreted = N
texte = --Apple-Mail=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9CContent-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=windows-1252Hi Brian,How to you do configure STEP 4+7 if you do not have internet domain name =but are only using the server for development and as such only have a =local IP-address (192.168.x.x) ?Basically I can not get my Maverick Server running with WebDNA even =though you have written an excellent walk through=85 It just might be =the domain vs ip issue./PalleOn 04/01/2014, at 23.48, Brian Wachter
wrote:> I just went through the process of upgrading my Mac Mini server from =OS X 10.8 Mtn Lion Server to 10.9 Mavericks Server, which broke my =WebDNA installation, so I wanted to bring this to the attention of =anyone else who may be wanting to do the same thing. The two main =culprits were:> My Java Runtime installation was deleted with the Mavericks =installation> My mod_fastcgi.so file got deleted with the Mavericks installation>=20> I created detailed instructions for installing WebDNA 7 FastCGI under =OSX 10.9 Mavericks Server, which are posted below. Please note that this =applies specifically to Mavericks SERVER. The process is similar if =you=92re using client, but the apache config files names and locations =are a bit different. Hopefully this information is helpful to someone.>=20> Brian Wachter>=20> =--------------------------------------------------------------------------=-------------> Date: January 4, 2014> Topic: WebDNA 7 FastCGI installation process for OSX Mavericks SERVER:>=20> Step 1:> If you=92re UPGRADING from an earlier version of OSX, first copy =mod_fastcgi.so located at /usr/libexec/apache2 since the Mavericks =install will delete this file if it exists.>=20> Step 2:> Install mod_fastcgi.so by placing a copy of the file 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:> Install JAVA for OS X 2013-005> This is Java Runtime Edition 6 (v1.6.0_65)> Verify the install by typing =93java -version=94 at the terminal =command line> More information at: http://support.apple.com/kb/DL1572> NOTE: At the time of this writing, Java Runtime 7 Update 45 is the =latest version available from the Oracle web site. However, this did not =work and I reverted to version 6. I=92m not sure why, but I suspect it =is an issue with where Java is installed.>=20> Step 4:> For EACH web site domain (i.e., virtual host), place a copy of the =/WebDNA folder here:> /Library/Server/Web/Data/Sites//>=20> Step 5:> Place a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders> chmod 755 WebDNA.fcgi>=20> Step 6:> Open your httpd_server_app.conf =(/Library/Server/Web/Config/apache2/httpd_server_app.conf) and make sure =that both of the following 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>=20> LoadModule rewrite_module libexec/apache2/mod_rewrite.so> LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so>=20> Step 7:> Open your httpd_server_app.conf and add these 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> > #----------------------->=20> =85 I did this just after the following directive:>=20> > =85> >=20> Step 8:> To hide some specific WebDNA-related files, add these lines in the =httpd_server_app.conf, just below the lines you added in Step 7.>=20> #-----------------------> > Deny from all = =20> > #----------------------->=20> Step 9:> Create a file to be included by your virtual hosts. To do this, follow =these steps:> 1. Create a directory called =93webdna_includes=94 located at =/Library/Server/Web/Config/apache2/> 2. Set permissions on this directory to be =system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly> 3. Create a plain text file named =93webdna_vhost.conf=94 inside this =directory with the following contents:>=20> > Action webdna-fastcgi /WebDNA/WebDNA.fcgi> AddHandler webdna-fastcgi .dna> AddHandler webdna-fastcgi .html> >=20> > RewriteEngine on> RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]> >=20> NOTE: The reason you make the include file rather than put the =directives directly in your virtual host configuration file is that =Server.app will sometimes wipe these directives when reconfiguring web =services. If you use the include file, Server.app will not touch the =include call.>=20> Step 10:> Edit each configuration file for your virtual hosts to include the =call to the file you created in Step 9. The virtual host config files =are located at /Library/Server/Web/Config/apache2/Sites/ and they take =the form shown below for non-SSL sites and SSL-enabled sites, =respectively.>=20> 0000_X.X.X.X_80_.conf> 0000_X.X.X.X_443_.conf>=20> So, open the virtual host config file and add the following line at =the very end just before the closing tag.>=20> Include =/Library/Server/Web/Config/apache2/webdna_includes/webdna_vhost.conf>=20> Step 11:> Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host. Do this in Mavericks by opening =Server.app, selecting Websites under Services in the left-side pane, =open 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 12:> Make sure =93dna=94 is included in your MIME types. To do this, edit =the file =93mime.types=94 located at /private/etc/apache2/ and add the =following line:>=20> application/vnd.dna dna>=20> Step 13:> Restart apache by toggling the Websites service Off/On or by typing =the following command in terminal.app>=20> apachectl restart>=20> Step 14:> 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> The default login is =93admin=94 and the default password is =93admin=94=>=20> If the login fails, verify that you have the following lines in your =virtual host configuration file (either directly or via an include =file):>=20> > RewriteEngine on> RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]> >=20> That should do it.>=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=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9CContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=windows-1252Hi Brian,
How to you =do configure STEP 4+7 if you do not have internet domain name but are =only using the server for development and as such only have a local =IP-address (192.168.x.x) ?
Basically I can not =get my Maverick Server running with WebDNA even though you have written =an excellent walk through=85 It just might be the domain vs ip =issue.
/Palle
=
Installing WebDNA 7 on OSX Mavericks Server - =InstructionsI just went through the process of upgrading my =Mac Mini server from OS X 10.8 Mtn Lion Server to 10.9 Mavericks Server, =which broke my WebDNA installation, so I wanted to bring this to the =attention of anyone else who may be wanting to do the same thing. The =two main culprits were:
- My Java Runtime installation was =deleted with the Mavericks installation
- My mod_fastcgi.so file got deleted =with the Mavericks installation
I created detailed instructions for installing WebDNA 7 FastCGI under =OSX 10.9 Mavericks Server, which are posted below. Please note that this =applies specifically to Mavericks SERVER. The process is similar if =you=92re using client, but the apache config files names and locations =are a bit different. Hopefully this information is helpful to =someone.
Brian Wachter
=--------------------------------------------------------------------------=-------------
Date: January 4, 2014
Topic: WebDNA 7 FastCGI installation process for OSX Mavericks =SERVER:
Step 1:
If you=92re UPGRADING from an earlier version of OSX, first copy =mod_fastcgi.so located at /usr/libexec/apache2 since the Mavericks =install will delete this file if it exists.
Step 2:
Install mod_fastcgi.so by placing a copy of the file 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)
Step 3:
Install JAVA for OS X 2013-005
This is Java Runtime Edition 6 (v1.6.0_65)
Verify the install by typing =93java -version=94 at the terminal command =line
More information at: http://support.apple.com/kb/DL=1572
NOTE: At the time of this writing, Java Runtime 7 Update 45 is the =latest version available from the Oracle web site. However, this did not =work and I reverted to version 6. I=92m not sure why, but I suspect it =is an issue with where Java is installed.
Step 4:
For EACH web site domain (i.e., virtual host), place a copy of the =/WebDNA folder here:
/Library/Server/Web/Data/Sites/<myDomainDirectory>/
Step 5:
Place a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders
chmod 755 WebDNA.fcgi
Step 6:
Open your httpd_server_app.conf =(/Library/Server/Web/Config/apache2/httpd_server_app.conf) and make sure =that both of the following 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
LoadModule rewrite_module = libexec/apache2/mod_rewrite.so
LoadModule fastcgi_module = libexec/apache2/mod_fastcgi.so
Step 7:
Open your httpd_server_app.conf and add these 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
</IfModule>
#-----------------------
=85 I did this just after the following directive:
<IfModule mime_module>
=85
</IfDefine>
Step 8:
To hide some specific WebDNA-related files, add these lines in the =httpd_server_app.conf, just below the lines you added in Step 7.
#-----------------------
<FilesMatch ".*\.(db|inc|conf|ini)$">
Deny from all = &n=bsp; &nbs=p; = &n=bsp; &nbs=p;
</FilesMatch>
#-----------------------
Step 9:
Create a file to be included by your virtual hosts. To do this, follow =these steps:
1. Create a directory called =93webdna_includes=94 located at =/Library/Server/Web/Config/apache2/
2. Set permissions on this directory to be =system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly
3. Create a plain text file named =93webdna_vhost.conf=94 inside this =directory with the following contents:
<IfModule mod_fastcgi.c>
Action webdna-fastcgi =/WebDNA/WebDNA.fcgi
AddHandler =webdna-fastcgi .dna
AddHandler =webdna-fastcgi .html
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
NOTE: The reason you make the include file rather than put the =directives directly in your virtual host configuration file is that =Server.app will sometimes wipe these directives when reconfiguring web =services. If you use the include file, Server.app will not touch the =include call.
Step 10:
Edit each configuration file for your virtual hosts to include the call =to the file you created in Step 9. The virtual host config files are =located at /Library/Server/Web/Config/apache2/Sites/ and they take the =form shown below for non-SSL sites and SSL-enabled sites, =respectively.
0000_X.X.X.X_80_<myDomainDirectory>.conf
0000_X.X.X.X_443_<myDomainDirectory>.conf
So, open the virtual host config file and add the following line at the =very end just before the closing </VirtualHost> tag.
Include =/Library/Server/Web/Config/apache2/webdna_includes/webdna_vhost.conf
Step 11:
Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host. Do this in Mavericks by opening =Server.app, selecting Websites under Services in the left-side pane, =open 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 12:
Make sure =93dna=94 is included in your MIME types. To do this, edit the =file =93mime.types=94 located at /private/etc/apache2/ and add the =following line:
application/vnd.dna dna
Step 13:
Restart apache by toggling the Websites service Off/On or by typing the =following command in terminal.app
apachectl restart
Step 14:
Connect your browser to http://www.dom=ain1.com/WebDNA/Admin/AdminPrefs.dna to manage site1,
http://www.dom=ain2.com/WebDNA/Admin/AdminPrefs.dna to manage site2 etc...
The default login is =93admin=94 and the default password is =93admin=94
If the login fails, verify that you have the following lines in your =virtual host configuration file (either directly or via an include =file):
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
That should do it.
=--------------------------------------------------------------------------=------------- ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9C--
Associated Messages, from the most recent to the oldest:
--Apple-Mail=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9CContent-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=windows-1252Hi Brian,How to you do configure STEP 4+7 if you do not have internet domain name =but are only using the server for development and as such only have a =local IP-address (192.168.x.x) ?Basically I can not get my Maverick Server running with WebDNA even =though you have written an excellent walk through=85 It just might be =the domain vs ip issue./PalleOn 04/01/2014, at 23.48, Brian Wachter wrote:> I just went through the process of upgrading my Mac Mini server from =OS X 10.8 Mtn Lion Server to 10.9 Mavericks Server, which broke my =WebDNA installation, so I wanted to bring this to the attention of =anyone else who may be wanting to do the same thing. The two main =culprits were:> My Java Runtime installation was deleted with the Mavericks =installation> My mod_fastcgi.so file got deleted with the Mavericks installation>=20> I created detailed instructions for installing WebDNA 7 FastCGI under =OSX 10.9 Mavericks Server, which are posted below. Please note that this =applies specifically to Mavericks SERVER. The process is similar if =you=92re using client, but the apache config files names and locations =are a bit different. Hopefully this information is helpful to someone.>=20> Brian Wachter>=20> =--------------------------------------------------------------------------=-------------> Date: January 4, 2014> Topic: WebDNA 7 FastCGI installation process for OSX Mavericks SERVER:>=20> Step 1:> If you=92re UPGRADING from an earlier version of OSX, first copy =mod_fastcgi.so located at /usr/libexec/apache2 since the Mavericks =install will delete this file if it exists.>=20> Step 2:> Install mod_fastcgi.so by placing a copy of the file 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:> Install JAVA for OS X 2013-005> This is Java Runtime Edition 6 (v1.6.0_65)> Verify the install by typing =93java -version=94 at the terminal =command line> More information at: http://support.apple.com/kb/DL1572> NOTE: At the time of this writing, Java Runtime 7 Update 45 is the =latest version available from the Oracle web site. However, this did not =work and I reverted to version 6. I=92m not sure why, but I suspect it =is an issue with where Java is installed.>=20> Step 4:> For EACH web site domain (i.e., virtual host), place a copy of the =/WebDNA folder here:> /Library/Server/Web/Data/Sites//>=20> Step 5:> Place a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders> chmod 755 WebDNA.fcgi>=20> Step 6:> Open your httpd_server_app.conf =(/Library/Server/Web/Config/apache2/httpd_server_app.conf) and make sure =that both of the following 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>=20> LoadModule rewrite_module libexec/apache2/mod_rewrite.so> LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so>=20> Step 7:> Open your httpd_server_app.conf and add these 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> > #----------------------->=20> =85 I did this just after the following directive:>=20> > =85> >=20> Step 8:> To hide some specific WebDNA-related files, add these lines in the =httpd_server_app.conf, just below the lines you added in Step 7.>=20> #-----------------------> > Deny from all = =20> > #----------------------->=20> Step 9:> Create a file to be included by your virtual hosts. To do this, follow =these steps:> 1. Create a directory called =93webdna_includes=94 located at =/Library/Server/Web/Config/apache2/> 2. Set permissions on this directory to be =system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly> 3. Create a plain text file named =93webdna_vhost.conf=94 inside this =directory with the following contents:>=20> > Action webdna-fastcgi /WebDNA/WebDNA.fcgi> AddHandler webdna-fastcgi .dna> AddHandler webdna-fastcgi .html> >=20> > RewriteEngine on> RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]> >=20> NOTE: The reason you make the include file rather than put the =directives directly in your virtual host configuration file is that =Server.app will sometimes wipe these directives when reconfiguring web =services. If you use the include file, Server.app will not touch the =include call.>=20> Step 10:> Edit each configuration file for your virtual hosts to include the =call to the file you created in Step 9. The virtual host config files =are located at /Library/Server/Web/Config/apache2/Sites/ and they take =the form shown below for non-SSL sites and SSL-enabled sites, =respectively.>=20> 0000_X.X.X.X_80_.conf> 0000_X.X.X.X_443_.conf>=20> So, open the virtual host config file and add the following line at =the very end just before the closing tag.>=20> Include =/Library/Server/Web/Config/apache2/webdna_includes/webdna_vhost.conf>=20> Step 11:> Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host. Do this in Mavericks by opening =Server.app, selecting Websites under Services in the left-side pane, =open 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 12:> Make sure =93dna=94 is included in your MIME types. To do this, edit =the file =93mime.types=94 located at /private/etc/apache2/ and add the =following line:>=20> application/vnd.dna dna>=20> Step 13:> Restart apache by toggling the Websites service Off/On or by typing =the following command in terminal.app>=20> apachectl restart>=20> Step 14:> 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> The default login is =93admin=94 and the default password is =93admin=94=>=20> If the login fails, verify that you have the following lines in your =virtual host configuration file (either directly or via an include =file):>=20> > RewriteEngine on> RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]> >=20> That should do it.>=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=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9CContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=windows-1252Hi Brian,
How to you =do configure STEP 4+7 if you do not have internet domain name but are =only using the server for development and as such only have a local =IP-address (192.168.x.x) ?
Basically I can not =get my Maverick Server running with WebDNA even though you have written =an excellent walk through=85 It just might be the domain vs ip =issue.
/Palle
=
Installing WebDNA 7 on OSX Mavericks Server - =InstructionsI just went through the process of upgrading my =Mac Mini server from OS X 10.8 Mtn Lion Server to 10.9 Mavericks Server, =which broke my WebDNA installation, so I wanted to bring this to the =attention of anyone else who may be wanting to do the same thing. The =two main culprits were:
- My Java Runtime installation was =deleted with the Mavericks installation
- My mod_fastcgi.so file got deleted =with the Mavericks installation
I created detailed instructions for installing WebDNA 7 FastCGI under =OSX 10.9 Mavericks Server, which are posted below. Please note that this =applies specifically to Mavericks SERVER. The process is similar if =you=92re using client, but the apache config files names and locations =are a bit different. Hopefully this information is helpful to =someone.
Brian Wachter
=--------------------------------------------------------------------------=-------------
Date: January 4, 2014
Topic: WebDNA 7 FastCGI installation process for OSX Mavericks =SERVER:
Step 1:
If you=92re UPGRADING from an earlier version of OSX, first copy =mod_fastcgi.so located at /usr/libexec/apache2 since the Mavericks =install will delete this file if it exists.
Step 2:
Install mod_fastcgi.so by placing a copy of the file 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)
Step 3:
Install JAVA for OS X 2013-005
This is Java Runtime Edition 6 (v1.6.0_65)
Verify the install by typing =93java -version=94 at the terminal command =line
More information at: http://support.apple.com/kb/DL=1572
NOTE: At the time of this writing, Java Runtime 7 Update 45 is the =latest version available from the Oracle web site. However, this did not =work and I reverted to version 6. I=92m not sure why, but I suspect it =is an issue with where Java is installed.
Step 4:
For EACH web site domain (i.e., virtual host), place a copy of the =/WebDNA folder here:
/Library/Server/Web/Data/Sites/<myDomainDirectory>/
Step 5:
Place a copy of WebDNA.fcgi executable inside each of the /WebDNA =folders
chmod 755 WebDNA.fcgi
Step 6:
Open your httpd_server_app.conf =(/Library/Server/Web/Config/apache2/httpd_server_app.conf) and make sure =that both of the following 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
LoadModule rewrite_module = libexec/apache2/mod_rewrite.so
LoadModule fastcgi_module = libexec/apache2/mod_fastcgi.so
Step 7:
Open your httpd_server_app.conf and add these 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
</IfModule>
#-----------------------
=85 I did this just after the following directive:
<IfModule mime_module>
=85
</IfDefine>
Step 8:
To hide some specific WebDNA-related files, add these lines in the =httpd_server_app.conf, just below the lines you added in Step 7.
#-----------------------
<FilesMatch ".*\.(db|inc|conf|ini)$">
Deny from all = &n=bsp; &nbs=p; = &n=bsp; &nbs=p;
</FilesMatch>
#-----------------------
Step 9:
Create a file to be included by your virtual hosts. To do this, follow =these steps:
1. Create a directory called =93webdna_includes=94 located at =/Library/Server/Web/Config/apache2/
2. Set permissions on this directory to be =system=3Dread/write,wheel=3Dreadonly,everyone=3Dreadonly
3. Create a plain text file named =93webdna_vhost.conf=94 inside this =directory with the following contents:
<IfModule mod_fastcgi.c>
Action webdna-fastcgi =/WebDNA/WebDNA.fcgi
AddHandler =webdna-fastcgi .dna
AddHandler =webdna-fastcgi .html
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
NOTE: The reason you make the include file rather than put the =directives directly in your virtual host configuration file is that =Server.app will sometimes wipe these directives when reconfiguring web =services. If you use the include file, Server.app will not touch the =include call.
Step 10:
Edit each configuration file for your virtual hosts to include the call =to the file you created in Step 9. The virtual host config files are =located at /Library/Server/Web/Config/apache2/Sites/ and they take the =form shown below for non-SSL sites and SSL-enabled sites, =respectively.
0000_X.X.X.X_80_<myDomainDirectory>.conf
0000_X.X.X.X_443_<myDomainDirectory>.conf
So, open the virtual host config file and add the following line at the =very end just before the closing </VirtualHost> tag.
Include =/Library/Server/Web/Config/apache2/webdna_includes/webdna_vhost.conf
Step 11:
Make sure that you add index.dna as a default index type for each =WebDNA-enabled site you host. Do this in Mavericks by opening =Server.app, selecting Websites under Services in the left-side pane, =open 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 12:
Make sure =93dna=94 is included in your MIME types. To do this, edit the =file =93mime.types=94 located at /private/etc/apache2/ and add the =following line:
application/vnd.dna dna
Step 13:
Restart apache by toggling the Websites service Off/On or by typing the =following command in terminal.app
apachectl restart
Step 14:
Connect your browser to http://www.dom=ain1.com/WebDNA/Admin/AdminPrefs.dna to manage site1,
http://www.dom=ain2.com/WebDNA/Admin/AdminPrefs.dna to manage site2 etc...
The default login is =93admin=94 and the default password is =93admin=94
If the login fails, verify that you have the following lines in your =virtual host configuration file (either directly or via an include =file):
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - =[E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
That should do it.
=--------------------------------------------------------------------------=------------- ---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
=--Apple-Mail=_3DF7AEC9-F5B5-4EE9-B807-69903CB43D9C--
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:
send mail problem? (1997)
[WebDNA] Solaris version? (2008)
[WebDNA] [OT] Apple iPad (2010)
WebMerchant & CC Response (2002)
Help SM: Duplicate cart #'s - still! (2003)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
[shownext max=?] armed (1997)
[WebDNA] Pinterest kinda site? (2013)
Weird Math and SV (1997)
Help! WebCat2 bug (1997)
2 Nt's (1998)
Comments in db? (1997)
dynamic giffing. (2000)
Pixo support? (1998)
More than one db with the same namn (was: WC2f3) (1997)
categories (1997)
wierd [cart] action! (1997)
breaking & sorting (2000)
Typhoon Rev. and PCS store problems (1999)
PROBLEM (1997)