Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work -

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114087
interpreted = N
texte = 1689 --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Okay, so you convinced me to take the native Apache route within macOS = High Sierra. So I installed a fresh copy of WebDNA Server (most recent = version) and I figured our that the default Apache install wa based on = port 8080 which was why it dit not work initially. Anyhow i get WebDNA = to work when assigning a .dna but I need some guidance on the = following=E2=80=A6 So Apache is per default installed here=E2=80=A6: /etc/apache2/ WebDNA Server is installed here=E2=80=A6: /Library/Server/Web/Data/CGI-Executables/ and /Library/Server/Web/Data/Sites/Default/WebCatalog/ /Library/Server/Web/Data/Sites/Default/WebDNA/ So when looking into Apache httpd.conf DocumentRoot "/Library/WebServer/Documents" I need to direct it to where my Site and WebDNA root is located. Should = the above point to the =E2=80=9CLibrary/Sever=E2=80=A6=E2=80=9D = directory or should I keep the =E2=80=9C/Library/WebServer=E2=80=A6=E2=80=9D= .. I case off the latter then how can I open the Web Admin interface in = my webbrowser as it is located elsewhere? /Palle > On 16 Mar 2018, at 03.38, Brian Harrington = wrote: >=20 > u need to remember... everything is in there that u need but apple is = fighting you to get this running as they see it as a security risk to = their OS and reputation! >=20 > I've seen Apple have the wrong allow/deny and their are other = variations sometimes.... apachectl configtest will tell you if they are = wrong but u will need to figure out what is correct! > It's not easy running your own mac web server!!!=20 > =20 > > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > >=20 > On Fri, Mar 16, 2018 at 2:20 AM, Brian Harrington = > wrote: > the sever (apache) may not start or stay running if u have syntax = errors!!! use "apachectl configtest" > plug away at the errors... >=20 >=20 > On Fri, Mar 16, 2018 at 2:11 AM, Brian Harrington = > wrote: > Terminal window.... u need to see "Syntax OK" > ----------------------------------------------------------- > apachectl configtest > Last login: Wed Mar 14 06:06:49 on console > You have mail. > Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl configtest > httpd: Could not reliably determine the server's fully qualified = domain name, using Brian-Harringtons-Mac-Pro.local for ServerName > Syntax OK > Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl start > This operation requires root. > Brian-Harringtons-Mac-Pro:~ bharrington$ Sudo su - > Password: > Brian-Harringtons-Mac-Pro:~ root# apachectl start > org.apache.httpd: Already loaded > Brian-Harringtons-Mac-Pro:~ root#=20 > ----------------------------------------------------------- >=20 > On Fri, Mar 16, 2018 at 2:05 AM, Brian Harrington = > wrote: > terminal window app is inside applications/Utiliteis >=20 > first type: Sudo su - > enter pasword... >=20 > then type: apachectl start > or > apachectl restart >=20 > apachectl stop > --------------------- > type this... apachectl configtest > it will help you locate problems!!! >=20 > On Thu, Mar 15, 2018 at 9:50 PM, Stuart Tremain > wrote: > Palle >=20 > Don=E2=80=99t be afraid of the CLI. >=20 > Restart Apache is so very easy >=20 > Open terminal and then type the following: >=20 > To start httpd: >=20 > sudo /usr/sbin/apachectl start > To stop httpd: >=20 > sudo /usr/sbin/apachectl stop > To restart httpd: >=20 > sudo /usr/sbin/apachectl restart > If you leave terminal open, all you have to do is hit the up arrow key = and the last command you typed into terminal will appear again, just hit = enter to execute it again. >=20 >=20 >=20 >=20 >=20 > Kind regards >=20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >=20 >> On 16 Mar 2018, at 05:23, Palle Bo Nielsen > wrote: >>=20 >> I hear you loud and clear and I will try it out as well. But I need = some easy (UI) way to start/stop the Apache which is not CLI >>=20 >> /Palle >>=20 >>=20 >>=20 >>> On 15 Mar 2018, at 03.19, Brian Harrington > wrote: >>>=20 >>> also... u DON'T need MAMP!!! >>>=20 >>> apache is right there to edit manually!!! shift command g >>> folder /private >>> then open etc folder or go directly to it /etc >>> inside etc is apache2 folder... >>> GUI's from my exp don't work on mac regardless what THEY tell you!!! >>>=20 >>>=20 >>> On Thu, Mar 15, 2018 at 2:09 AM, Brian Harrington = > wrote: >>> if u gonna run SSL"s... I create index on file index.tpl and create = files index.htm & index.html and put [include file=3Dindex.tpl] as u = will not b able to use the same file name in vhost an sslhost.... >>>=20 >>> On Thu, Mar 15, 2018 at 2:02 AM, Brian Harrington = > wrote: >>> why r u moving things around and why r u using index.dna makes no = sense to me... u r just creating problems! >>>=20 >>> On Thu, Mar 15, 2018 at 1:58 AM, Brian Harrington = > wrote: >>> u need to set .dna in webdna .config and prefs >>>=20 >>> ValidTemplateExtensions.html .htm .tpl .dna .txt >>>=20 >>> AddHandler webcatalog2-handler .html .htm .tpl .dna .txt >>>=20 >>> apache... >>> >>> DirectoryIndex index.html index.htm index.tpl >>> >>>=20 >>> note i don't use .dna LOL so not in apache but u will need to add = it.... >>>=20 >>> On Wed, Mar 14, 2018 at 6:07 PM, Palle Bo Nielsen = > wrote: >>> Hi all >>>=20 >>> This is a new thread with a mission to get WebDNA to work with MAMP = Pro. >>>=20 >>> Prerequisites=E2=80=A6: >>>=20 >>> - MacOS High Sierra 10.13.3 (not running "Apple Server App=E2=80=9D) >>> - WebDNA Server 8.5.1 >>> - MAMP Pro 4.4.1 >>>=20 >>>=20 >>> DIRECTORIES >>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 >>>=20 >>> o MAMP Location: >>> /Applications/MAMP/ >>>=20 >>> o Site Root: >>> /Applications/MAMP/htdocs/ >>>=20 >>> o WebDNA: >>> /Applications/MAMP/htdocs/WebCatalog >>> /Applications/MAMP/htdocs/WebDNA >>> /Applications/MAMP/cgi-bin/WebCatalogEngine >>>=20 >>> o Apache: >>> /Applications/MAMP/conf/apache/ >>>=20 >>>=20 >>> APACHE CONFIGURATION >>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 >>>=20 >>> /Applications/MAMP/conf/apache/httpd.conf >>>=20 >>> Added the following=E2=80=A6 >>> Include /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf >>>=20 >>> Within the webdna.conf file which is located here, i... >>> /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf >>>=20 >>> =E2=80=A6I modified the path to the WebDNA module >>> LoadModule webcatalog2_module = /Applications/MAMP/cgi-bin/WebCatalogEngine/mod_WebDNA_apache2.4.so = >>>=20 >>> Within this directory I create an index.dna file to test if WebDNA = parses >>> /Applications/MAMP/htdocs/index.dna >>>=20 >>> When trying to load the following on my local network it fails. = Actually it downloads the index.dna file in stead of parsing it. >>> 192.168.1.144/index.dna >>>=20 >>> Doing the same with a normal index.html with no WebDNA expectations = (just a plain html) it loads just fine. >>>=20 >>>=20 >>> I am missing something. Any clue out there. >>>=20 >>> /Palle >>>=20 >>>=20 >>> --------------------------------------------------------- >>> 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://www.webdna.us/page.dna?numero=3D55 = >>> Bug Reporting: support@webdna.us >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- 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://www.webdna.us/page.dna?numero=3D55 = 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://www.webdna.us/page.dna?numero=3D55 = 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://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us >=20 >=20 >=20 > --------------------------------------------------------- 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://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Okay,= so you convinced me to take the native Apache route within macOS High = Sierra. So I installed a fresh copy of WebDNA Server (most recent = version) and I figured our that the default Apache install wa based on = port 8080 which was why it dit not work initially. Anyhow i get WebDNA = to work when assigning a .dna but I need some guidance on the = following=E2=80=A6

So = Apache is per default installed here=E2=80=A6:
/etc/apache2/

WebDNA Server is installed here=E2=80=A6:

/Library/Server/Web/Data/CGI-Executables/
and
/Library/Server/Web/Data/Sites/Default/WebCatalog/
/Library/Server/Web/Data/Sites/Default/WebDNA/

So when looking into = Apache httpd.conf

DocumentRoot = "/Library/WebServer/Documents"
<Directory = "/Library/WebServer/Documents">

I need to direct it to where my Site = and WebDNA root is located. Should the above point to the = =E2=80=9CLibrary/Sever=E2=80=A6=E2=80=9D directory or should I keep the = =E2=80=9C/Library/WebServer=E2=80=A6=E2=80=9D. I case off the latter = then how can I open the Web Admin interface in my webbrowser as it is = located elsewhere?

/Palle








On 16 Mar 2018, at 03.38, Brian Harrington <autoglasswny@gmail.com> wrote:

u need to remember... everything is in there that u need but = apple is fighting you to get this running as they see it as a security = risk to their OS and reputation!

I've seen Apple have the wrong allow/deny and their are other = variations sometimes.... apachectl configtest will tell you if they are wrong but u = will need to figure out what is correct!
It's not easy running your own = mac web server!!! 
 
<Directory = "/Library/WebServer">
    Options = Indexes FollowSymLinks MultiViews
    = AllowOverride None
    Order = allow,deny
    Allow from all
</Directory>

On Fri, = Mar 16, 2018 at 2:20 AM, Brian Harrington <autoglasswny@gmail.com> wrote:
the sever (apache) may not start or stay running if u have = syntax errors!!! use "apachectl configtest"
plug away at the = errors...


On Fri, Mar 16, 2018 at 2:11 AM, Brian Harrington = <autoglasswny@gmail.com> = wrote:
Terminal window.... u need to see "Syntax = OK"
-----------------------------------------------------------
apachectl = configtest
Last login: Wed Mar 14 06:06:49 on = console
You have mail.
Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl = configtest
httpd: Could not reliably determine the = server's fully qualified domain name, using = Brian-Harringtons-Mac-Pro.local for ServerName
Syntax OK
Brian-Harringtons-Mac-Pro:~ = bharrington$ apachectl start
This operation = requires root.
Brian-Harringtons-Mac-Pro:~ = bharrington$ Sudo su -
Password:
Brian-Harringtons-Mac-Pro:~ root# apachectl start
org.apache.httpd: Already loaded
Brian-Harringtons-Mac-Pro:~ root# 
-----------------------------------------------------------

On Fri, Mar 16, 2018 at 2:05 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
terminal window app is inside applications/Utiliteis

first type: Sudo su = -
enter pasword...

then type: apachectl = start
or
apachectl restart

apachectl stop
---------------------
type = this... apachectl configtest
it will help you = locate problems!!!

On Thu, = Mar 15, 2018 at 9:50 PM, Stuart Tremain <webdna@idfk.com.au> wrote:
Palle

Don=E2=80=99t be afraid of the CLI.

Restart Apache is so very = easy

Open = terminal and then type the following:

To start httpd:

sudo /usr/sbin/apachectl =start

To stop httpd:

sudo /usr/sbin/apachectl stop

To restart httpd:

sudo /usr/sbin/apachectl =restart
If you leave terminal open, all you = have to do is hit the up arrow key and the last command you typed into = terminal will appear again, just hit enter to execute it = again.





Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA






On 16 Mar 2018, at 05:23, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

I hear you loud and clear and I will try it = out as well. But I need some easy (UI) way to start/stop the Apache = which is not CLI

/Palle



On 15 Mar 2018, at 03.19, Brian Harrington = <autoglasswny@gmail.com> wrote:

also... u DON'T need MAMP!!!

apache is right = there to edit manually!!!  shift command g
folder = /private
then open etc folder or go directly to it = /etc
inside etc is apache2 = folder...
GUI's from my exp don't work on mac = regardless what THEY tell you!!!


On Thu, Mar 15, 2018 at 2:09 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
if u gonna run SSL"s... I create index on file index.tpl and = create files index.htm & index.html and put [include file=3Dindex.tpl]= as u will not b able to use the same file name in vhost an = sslhost....

On Thu, Mar 15, 2018 at 2:02 AM, Brian Harrington = <autoglasswny@gmail.com> = wrote:
why r u moving things around and why r u using index.dna = makes no sense to me... u r just creating problems!
On Thu, Mar 15, 2018 at 1:58 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
u need to set .dna in webdna .config and prefs

ValidTemplateExtensions= .html .htm .tpl .dna .txt

AddHandler webcatalog2-handler .html = ..htm .tpl .dna .txt

apache...
<IfModule dir_module>
  =   DirectoryIndex index.html index.htm index.tpl
</IfModule>

note i don't use .dna LOL so not in = apache but u will need to add it....

On Wed, = Mar 14, 2018 at 6:07 PM, Palle Bo Nielsen <powerpalle@powerpalle.dk> = wrote:
Hi all

This is a new thread with a mission to get WebDNA to work with MAMP = Pro.

Prerequisites=E2=80=A6:

- MacOS High Sierra 10.13.3 (not running "Apple Server App=E2=80=9D)
- WebDNA Server 8.5.1
- MAMP Pro 4.4.1


DIRECTORIES
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

o MAMP Location:
/Applications/MAMP/

o Site Root:
/Applications/MAMP/htdocs/

o WebDNA:
/Applications/MAMP/htdocs/WebCatalog
/Applications/MAMP/htdocs/WebDNA
/Applications/MAMP/cgi-bin/WebCatalogEngine
=
o Apache:
/Applications/MAMP/conf/apache/


APACHE CONFIGURATION
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

/Applications/MAMP/conf/apache/httpd.conf

Added the following=E2=80=A6
Include /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf

Within the webdna.conf file which is located here, i...
/Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf
=E2=80=A6I modified the path to the WebDNA module
LoadModule webcatalog2_module  =  /Applications/MAMP/cgi-bin/WebCatalogEngine/mod_WebDNA_apache2.4.so

Within this directory I create an index.dna file to test if WebDNA = parses
/Applications/MAMP/htdocs/index.dna

When trying to load the following on my local network it fails. Actually = it downloads the index.dna file in stead of parsing it.
192.168.1.144/index.dna

Doing the same with a normal index.html with no WebDNA expectations = (just a plain html) it loads just fine.


I am missing something. Any clue out there.

/Palle


---------------------------------------------------------
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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Paul Willis 2018)
  2. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Paul Willis 2018)
  3. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  4. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  5. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  6. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  7. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Paul Willis 2018)
  8. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  9. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  10. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  11. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  12. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Paul Willis 2018)
  13. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  14. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  15. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  16. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - assistance needed (christophe.billiottet@webdna.us 2018)
  17. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  18. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Michael Davis 2018)
  19. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  20. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  21. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  22. [BULK] Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - assistance needed (Palle Bo Nielsen 2018)
  23. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Michael Davis 2018)
  24. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  25. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  26. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  27. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  28. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  29. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  30. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  31. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  32. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Stuart Tremain 2018)
  33. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  34. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Michael Davis 2018)
  35. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  36. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Palle Bo Nielsen 2018)
  37. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  38. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  39. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  40. Re: [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (Brian Harrington 2018)
  41. [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - assistance (Palle Bo Nielsen 2018)
1689 --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Okay, so you convinced me to take the native Apache route within macOS = High Sierra. So I installed a fresh copy of WebDNA Server (most recent = version) and I figured our that the default Apache install wa based on = port 8080 which was why it dit not work initially. Anyhow i get WebDNA = to work when assigning a .dna but I need some guidance on the = following=E2=80=A6 So Apache is per default installed here=E2=80=A6: /etc/apache2/ WebDNA Server is installed here=E2=80=A6: /Library/Server/Web/Data/CGI-Executables/ and /Library/Server/Web/Data/Sites/Default/WebCatalog/ /Library/Server/Web/Data/Sites/Default/WebDNA/ So when looking into Apache httpd.conf DocumentRoot "/Library/WebServer/Documents" I need to direct it to where my Site and WebDNA root is located. Should = the above point to the =E2=80=9CLibrary/Sever=E2=80=A6=E2=80=9D = directory or should I keep the =E2=80=9C/Library/WebServer=E2=80=A6=E2=80=9D= .. I case off the latter then how can I open the Web Admin interface in = my webbrowser as it is located elsewhere? /Palle > On 16 Mar 2018, at 03.38, Brian Harrington = wrote: >=20 > u need to remember... everything is in there that u need but apple is = fighting you to get this running as they see it as a security risk to = their OS and reputation! >=20 > I've seen Apple have the wrong allow/deny and their are other = variations sometimes.... apachectl configtest will tell you if they are = wrong but u will need to figure out what is correct! > It's not easy running your own mac web server!!!=20 > =20 > > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > >=20 > On Fri, Mar 16, 2018 at 2:20 AM, Brian Harrington = > wrote: > the sever (apache) may not start or stay running if u have syntax = errors!!! use "apachectl configtest" > plug away at the errors... >=20 >=20 > On Fri, Mar 16, 2018 at 2:11 AM, Brian Harrington = > wrote: > Terminal window.... u need to see "Syntax OK" > ----------------------------------------------------------- > apachectl configtest > Last login: Wed Mar 14 06:06:49 on console > You have mail. > Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl configtest > httpd: Could not reliably determine the server's fully qualified = domain name, using Brian-Harringtons-Mac-Pro.local for ServerName > Syntax OK > Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl start > This operation requires root. > Brian-Harringtons-Mac-Pro:~ bharrington$ Sudo su - > Password: > Brian-Harringtons-Mac-Pro:~ root# apachectl start > org.apache.httpd: Already loaded > Brian-Harringtons-Mac-Pro:~ root#=20 > ----------------------------------------------------------- >=20 > On Fri, Mar 16, 2018 at 2:05 AM, Brian Harrington = > wrote: > terminal window app is inside applications/Utiliteis >=20 > first type: Sudo su - > enter pasword... >=20 > then type: apachectl start > or > apachectl restart >=20 > apachectl stop > --------------------- > type this... apachectl configtest > it will help you locate problems!!! >=20 > On Thu, Mar 15, 2018 at 9:50 PM, Stuart Tremain > wrote: > Palle >=20 > Don=E2=80=99t be afraid of the CLI. >=20 > Restart Apache is so very easy >=20 > Open terminal and then type the following: >=20 > To start httpd: >=20 > sudo /usr/sbin/apachectl start > To stop httpd: >=20 > sudo /usr/sbin/apachectl stop > To restart httpd: >=20 > sudo /usr/sbin/apachectl restart > If you leave terminal open, all you have to do is hit the up arrow key = and the last command you typed into terminal will appear again, just hit = enter to execute it again. >=20 >=20 >=20 >=20 >=20 > Kind regards >=20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >=20 >> On 16 Mar 2018, at 05:23, Palle Bo Nielsen > wrote: >>=20 >> I hear you loud and clear and I will try it out as well. But I need = some easy (UI) way to start/stop the Apache which is not CLI >>=20 >> /Palle >>=20 >>=20 >>=20 >>> On 15 Mar 2018, at 03.19, Brian Harrington > wrote: >>>=20 >>> also... u DON'T need MAMP!!! >>>=20 >>> apache is right there to edit manually!!! shift command g >>> folder /private >>> then open etc folder or go directly to it /etc >>> inside etc is apache2 folder... >>> GUI's from my exp don't work on mac regardless what THEY tell you!!! >>>=20 >>>=20 >>> On Thu, Mar 15, 2018 at 2:09 AM, Brian Harrington = > wrote: >>> if u gonna run SSL"s... I create index on file index.tpl and create = files index.htm & index.html and put [include file=3Dindex.tpl] as u = will not b able to use the same file name in vhost an sslhost.... >>>=20 >>> On Thu, Mar 15, 2018 at 2:02 AM, Brian Harrington = > wrote: >>> why r u moving things around and why r u using index.dna makes no = sense to me... u r just creating problems! >>>=20 >>> On Thu, Mar 15, 2018 at 1:58 AM, Brian Harrington = > wrote: >>> u need to set .dna in webdna .config and prefs >>>=20 >>> ValidTemplateExtensions.html .htm .tpl .dna .txt >>>=20 >>> AddHandler webcatalog2-handler .html .htm .tpl .dna .txt >>>=20 >>> apache... >>> >>> DirectoryIndex index.html index.htm index.tpl >>> >>>=20 >>> note i don't use .dna LOL so not in apache but u will need to add = it.... >>>=20 >>> On Wed, Mar 14, 2018 at 6:07 PM, Palle Bo Nielsen = > wrote: >>> Hi all >>>=20 >>> This is a new thread with a mission to get WebDNA to work with MAMP = Pro. >>>=20 >>> Prerequisites=E2=80=A6: >>>=20 >>> - MacOS High Sierra 10.13.3 (not running "Apple Server App=E2=80=9D) >>> - WebDNA Server 8.5.1 >>> - MAMP Pro 4.4.1 >>>=20 >>>=20 >>> DIRECTORIES >>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 >>>=20 >>> o MAMP Location: >>> /Applications/MAMP/ >>>=20 >>> o Site Root: >>> /Applications/MAMP/htdocs/ >>>=20 >>> o WebDNA: >>> /Applications/MAMP/htdocs/WebCatalog >>> /Applications/MAMP/htdocs/WebDNA >>> /Applications/MAMP/cgi-bin/WebCatalogEngine >>>=20 >>> o Apache: >>> /Applications/MAMP/conf/apache/ >>>=20 >>>=20 >>> APACHE CONFIGURATION >>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 >>>=20 >>> /Applications/MAMP/conf/apache/httpd.conf >>>=20 >>> Added the following=E2=80=A6 >>> Include /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf >>>=20 >>> Within the webdna.conf file which is located here, i... >>> /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf >>>=20 >>> =E2=80=A6I modified the path to the WebDNA module >>> LoadModule webcatalog2_module = /Applications/MAMP/cgi-bin/WebCatalogEngine/mod_WebDNA_apache2.4.so = >>>=20 >>> Within this directory I create an index.dna file to test if WebDNA = parses >>> /Applications/MAMP/htdocs/index.dna >>>=20 >>> When trying to load the following on my local network it fails. = Actually it downloads the index.dna file in stead of parsing it. >>> 192.168.1.144/index.dna >>>=20 >>> Doing the same with a normal index.html with no WebDNA expectations = (just a plain html) it loads just fine. >>>=20 >>>=20 >>> I am missing something. Any clue out there. >>>=20 >>> /Palle >>>=20 >>>=20 >>> --------------------------------------------------------- >>> 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://www.webdna.us/page.dna?numero=3D55 = >>> Bug Reporting: support@webdna.us >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- 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://www.webdna.us/page.dna?numero=3D55 = 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://www.webdna.us/page.dna?numero=3D55 = 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://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us >=20 >=20 >=20 > --------------------------------------------------------- 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://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Okay,= so you convinced me to take the native Apache route within macOS High = Sierra. So I installed a fresh copy of WebDNA Server (most recent = version) and I figured our that the default Apache install wa based on = port 8080 which was why it dit not work initially. Anyhow i get WebDNA = to work when assigning a .dna but I need some guidance on the = following=E2=80=A6

So = Apache is per default installed here=E2=80=A6:
/etc/apache2/

WebDNA Server is installed here=E2=80=A6:

/Library/Server/Web/Data/CGI-Executables/
and
/Library/Server/Web/Data/Sites/Default/WebCatalog/
/Library/Server/Web/Data/Sites/Default/WebDNA/

So when looking into = Apache httpd.conf

DocumentRoot = "/Library/WebServer/Documents"
<Directory = "/Library/WebServer/Documents">

I need to direct it to where my Site = and WebDNA root is located. Should the above point to the = =E2=80=9CLibrary/Sever=E2=80=A6=E2=80=9D directory or should I keep the = =E2=80=9C/Library/WebServer=E2=80=A6=E2=80=9D. I case off the latter = then how can I open the Web Admin interface in my webbrowser as it is = located elsewhere?

/Palle








On 16 Mar 2018, at 03.38, Brian Harrington <autoglasswny@gmail.com> wrote:

u need to remember... everything is in there that u need but = apple is fighting you to get this running as they see it as a security = risk to their OS and reputation!

I've seen Apple have the wrong allow/deny and their are other = variations sometimes.... apachectl configtest will tell you if they are wrong but u = will need to figure out what is correct!
It's not easy running your own = mac web server!!! 
 
<Directory = "/Library/WebServer">
    Options = Indexes FollowSymLinks MultiViews
    = AllowOverride None
    Order = allow,deny
    Allow from all
</Directory>

On Fri, = Mar 16, 2018 at 2:20 AM, Brian Harrington <autoglasswny@gmail.com> wrote:
the sever (apache) may not start or stay running if u have = syntax errors!!! use "apachectl configtest"
plug away at the = errors...


On Fri, Mar 16, 2018 at 2:11 AM, Brian Harrington = <autoglasswny@gmail.com> = wrote:
Terminal window.... u need to see "Syntax = OK"
-----------------------------------------------------------
apachectl = configtest
Last login: Wed Mar 14 06:06:49 on = console
You have mail.
Brian-Harringtons-Mac-Pro:~ bharrington$ apachectl = configtest
httpd: Could not reliably determine the = server's fully qualified domain name, using = Brian-Harringtons-Mac-Pro.local for ServerName
Syntax OK
Brian-Harringtons-Mac-Pro:~ = bharrington$ apachectl start
This operation = requires root.
Brian-Harringtons-Mac-Pro:~ = bharrington$ Sudo su -
Password:
Brian-Harringtons-Mac-Pro:~ root# apachectl start
org.apache.httpd: Already loaded
Brian-Harringtons-Mac-Pro:~ root# 
-----------------------------------------------------------

On Fri, Mar 16, 2018 at 2:05 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
terminal window app is inside applications/Utiliteis

first type: Sudo su = -
enter pasword...

then type: apachectl = start
or
apachectl restart

apachectl stop
---------------------
type = this... apachectl configtest
it will help you = locate problems!!!

On Thu, = Mar 15, 2018 at 9:50 PM, Stuart Tremain <webdna@idfk.com.au> wrote:
Palle

Don=E2=80=99t be afraid of the CLI.

Restart Apache is so very = easy

Open = terminal and then type the following:

To start httpd:

sudo /usr/sbin/apachectl =start

To stop httpd:

sudo /usr/sbin/apachectl stop

To restart httpd:

sudo /usr/sbin/apachectl =restart
If you leave terminal open, all you = have to do is hit the up arrow key and the last command you typed into = terminal will appear again, just hit enter to execute it = again.





Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA






On 16 Mar 2018, at 05:23, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

I hear you loud and clear and I will try it = out as well. But I need some easy (UI) way to start/stop the Apache = which is not CLI

/Palle



On 15 Mar 2018, at 03.19, Brian Harrington = <autoglasswny@gmail.com> wrote:

also... u DON'T need MAMP!!!

apache is right = there to edit manually!!!  shift command g
folder = /private
then open etc folder or go directly to it = /etc
inside etc is apache2 = folder...
GUI's from my exp don't work on mac = regardless what THEY tell you!!!


On Thu, Mar 15, 2018 at 2:09 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
if u gonna run SSL"s... I create index on file index.tpl and = create files index.htm & index.html and put [include file=3Dindex.tpl]= as u will not b able to use the same file name in vhost an = sslhost....

On Thu, Mar 15, 2018 at 2:02 AM, Brian Harrington = <autoglasswny@gmail.com> = wrote:
why r u moving things around and why r u using index.dna = makes no sense to me... u r just creating problems!
On Thu, Mar 15, 2018 at 1:58 AM, = Brian Harrington <autoglasswny@gmail.com> wrote:
u need to set .dna in webdna .config and prefs

ValidTemplateExtensions= .html .htm .tpl .dna .txt

AddHandler webcatalog2-handler .html = ..htm .tpl .dna .txt

apache...
<IfModule dir_module>
  =   DirectoryIndex index.html index.htm index.tpl
</IfModule>

note i don't use .dna LOL so not in = apache but u will need to add it....

On Wed, = Mar 14, 2018 at 6:07 PM, Palle Bo Nielsen <powerpalle@powerpalle.dk> = wrote:
Hi all

This is a new thread with a mission to get WebDNA to work with MAMP = Pro.

Prerequisites=E2=80=A6:

- MacOS High Sierra 10.13.3 (not running "Apple Server App=E2=80=9D)
- WebDNA Server 8.5.1
- MAMP Pro 4.4.1


DIRECTORIES
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

o MAMP Location:
/Applications/MAMP/

o Site Root:
/Applications/MAMP/htdocs/

o WebDNA:
/Applications/MAMP/htdocs/WebCatalog
/Applications/MAMP/htdocs/WebDNA
/Applications/MAMP/cgi-bin/WebCatalogEngine
=
o Apache:
/Applications/MAMP/conf/apache/


APACHE CONFIGURATION
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

/Applications/MAMP/conf/apache/httpd.conf

Added the following=E2=80=A6
Include /Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf

Within the webdna.conf file which is located here, i...
/Applications/MAMP/cgi-bin/WebCatalogEngine/webdna.conf
=E2=80=A6I modified the path to the WebDNA module
LoadModule webcatalog2_module  =  /Applications/MAMP/cgi-bin/WebCatalogEngine/mod_WebDNA_apache2.4.so

Within this directory I create an index.dna file to test if WebDNA = parses
/Applications/MAMP/htdocs/index.dna

When trying to load the following on my local network it fails. Actually = it downloads the index.dna file in stead of parsing it.
192.168.1.144/index.dna

Doing the same with a normal index.html with no WebDNA expectations = (just a plain html) it loads just fine.


I am missing something. Any clue out there.

/Palle


---------------------------------------------------------
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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 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://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_9DAA241F-1419-4290-B293-2FBD841E03D7-- . 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:

[WebDNA] sales tax on shipping (2008) Mass Mail (2000) [WebDNA] Different results for [THISURL] (2018) Re:2nd WebCatalog2 Feature Request (1996) Robust WebDNA Job Manager / Accountant (2006) searchable list archive (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Security (1998) [SHOWIF]s and empty arguments (1997) [delete] problem (2002) form posts expiring instantly... why? (2000) Open Databases on Restart (1999) [GROUPS] followup (1997) Silly Question (1997) [WebDNA] why this error when using [shownext] with a [table]? (2009) WebCat2: multiple currency support (1997) Random Sort Problem (2003) turning every 5th line red (1999) WebCat2b12 - nesting [tags] (1997) Share Bulletin Board? (1998)