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 = 114097
interpreted = N
texte = 1700 --Apple-Mail=_555F42CD-9BB1-4B23-830A-2E036FFCC55D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 So I removed all things WebDNA and did a clean install of WebDNA Server, = now my result is=E2=80=A6 /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/ /Library/Server/Web/Data/Sites/Default/WebCatalog/ Everything else is gone. Although I notice that you directory paths are = different. When I load y IP/192.168.1.144 in my browser it load and index.dna file = but does not parse the WebDNA and the funny stuff is that it=E2=80=99s = an index.dna located at another directory = ("/Library/WebServer/Documents/index.dna=E2=80=9D) and not relevant to = the above directories. When I load it as (=E2=80=9C192.168.1.144/index.dna= =E2=80=9D) it works, but still from a directory I did not expect being = ("/Library/WebServer/Documents/index.dna=E2=80=9D) although my Apache = conf file states=E2=80=A6 DocumentRoot "/Library/WebServer/Documents" and not the (=E2=80=9CLibrary/Server/Web=E2=80=A6=E2=80=9D) which I just = reinstalled. Does it make sense or am I confusing myself in a was I have not = discovered yes ;) /Palle > On 17 Mar 2018, at 10.56, Palle Bo Nielsen = wrote: >=20 > Hi Michael >=20 > Maybe this can identify the problem=E2=80=A6 Let me walk through where = how my directories has been laid out by the installations. >=20 > /Library/CGI-Executables/WebCatalogEngine= (/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine) > /Library/WebServer/Documents/WebCatalog= (/Library/Server/Web/Data/Sites/ > /Library/WebServer/hosts= (/Library/Server/Web/Data/Sites/index.dna > /Library/WebServer/hosts/www.virtual-01.com =  Not = established yet... > /Library/WebServer/hosts/www.virtual-02.com =  Not = established yet... > /Library/WebServer/hosts/www.virtual-03.com =  Not = established yet... >=20 > So already there we ara talking a different directory setup and in = this case I have not moved anything around. >=20 > /Palle >=20 >=20 >=20 >> On 16 Mar 2018, at 21.07, Michael Davis > wrote: >>=20 >> Palle, >>=20 >> One suggestion might be to leave the WebCatalog directory at = /Library/WebServer/Documents/=20 >> That way any time you want to access the global WebCatalog = preferences, you can do so outside of the virtual hosts you set up, for = instance by IP address. >>=20 >> If it were me, I would leave things where they were installed and = have a directory structure like this: >>=20 >> /Library/CGI-Executables/WebCatalogEngine >> /Library/WebServer/Documents/WebCatalog <- for accessing WebCat = preferences/settings. >> /Library/WebServer/hosts <- make a = directory for your virtual hosts (optional/organizational) >> /Library/WebServer/hosts/www.virtual-01.com = >> /Library/WebServer/hosts/www.virtual-02.com = >> /Library/WebServer/hosts/www.virtual-03.com = >>=20 >>=20 >> Leave the DocumentRoot alone. It's fine at the default. >>=20 >> Then use WebMin's Apache2 module to create your virtual sites. >>=20 >> One question I have is why do you have a WebCatalog and a WebDNA = directory? >>=20 >>=20 >>> On Mar 16, 2018, at 12:03 PM, Palle Bo Nielsen = > wrote: >>>=20 >>> Okay, then please explain how I can access the WebDNA folder with = all its configurations which is located at the other locations = (directories) other than the =E2=80=9CLibrary/WebServer/Documents=E2=80=9D= =E2=80=A6. >>>=20 >>> /Palle >>>=20 >>>=20 >>>=20 >>>> On 16 Mar 2018, at 20.00, Brian Harrington > wrote: >>>>=20 >>>> stop changing the directories!!! >>>>=20 >>>> all u need is /Library/WebServer >>>>=20 >>>> NO data, web, sites=20 >>>>=20 >>>> On Fri, Mar 16, 2018 at 6:57 PM, Brian Harrington = > wrote: >>>> just use /Library/WebServer >>>>=20 >>>>=20 >>>>=20 >>>> On Fri, Mar 16, 2018 at 6:34 PM, Palle Bo Nielsen = > wrote: >>>> 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 >>>>=20 >>>> So Apache is per default installed here=E2=80=A6: >>>> /etc/apache2/ >>>>=20 >>>> WebDNA Server is installed here=E2=80=A6: >>>>=20 >>>> /Library/Server/Web/Data/CGI-Executables/ >>>> and >>>> /Library/Server/Web/Data/Sites/Default/WebCatalog/ >>>> /Library/Server/Web/Data/Sites/Default/WebDNA/ >>>>=20 >>>> So when looking into Apache httpd.conf >>>>=20 >>>> DocumentRoot "/Library/WebServer/Documents" >>>> >>>>=20 >>>> 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? >>>>=20 >>>> /Palle >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> 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 >>>> --------------------------------------------------------- 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 >>>> --------------------------------------------------------- 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=_555F42CD-9BB1-4B23-830A-2E036FFCC55D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 So = I removed all things WebDNA and did a clean install of WebDNA Server, = now my result is=E2=80=A6

/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/
/Library/Server/Web/Data/Sites/Default/WebCatalog/

Everything else is gone. = Although I notice that you directory paths are different.

When I load y = IP/192.168.1.144 in my browser it load and index.dna file but does not = parse the WebDNA and the funny stuff is that it=E2=80=99s an index.dna = located at another directory ("/Library/WebServer/Documents/index.dna=E2=80=9D) and not = relevant to the above directories. When I load it as = (=E2=80=9C192.168.1.144/index.dna=E2=80=9D) it works, but = still from a directory I did not expect = being ("/Library/WebServer/Documents/index.dna=E2=80=9D) although my = Apache conf file states=E2=80=A6

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

and not the = (=E2=80=9CLibrary/Server/Web=E2=80=A6=E2=80=9D) which I just = reinstalled.

Does it make sense or am I confusing myself in a was I have = not discovered yes ;)

/Palle









On 17 Mar 2018, at 10.56, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Hi = Michael

Maybe = this can identify the problem=E2=80=A6 Let me walk through where how my = directories has been laid out by the installations.

/Library/CGI-Executables/WebCatalogEngine= (/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine)
/Library/WebServer/Documents/WebCatalog= (/Library/Server/Web/Data/Sites/
/Library/WebServer/hosts= (/Library/Server/Web/Data/Sites/index.dna
/Library/WebServer/hosts/www.virtual-01.comNot established yet...
/Library/WebServer/hosts/www.virtual-02.comNot established yet...
/Library/WebServer/hosts/www.virtual-03.comNot established = yet...

So already there we ara talking a different directory setup = and in this case I have not moved anything around.

/Palle



On 16 = Mar 2018, at 21.07, Michael Davis <admin@network13.net>= wrote:

Palle,

One suggestion might be = to leave the WebCatalog directory at = /Library/WebServer/Documents/ 
That way any = time you want to access the global WebCatalog preferences, you can do so = outside of the virtual hosts you set up, for instance by IP = address.

If it = were me, I would leave things where they were installed and have a = directory structure like this:

/Library/CGI-Executables/WebCatalogEngine
/Library/WebServer/Documents/WebCatalog    <- = for accessing WebCat preferences/settings.
/Library/WebServer/hosts           =                     =    <- make a directory for your virtual hosts = (optional/organizational)
/Library/WebServer/hosts/www.virtual-01.com
/Library/WebServer/hosts/www.virtual-02.com
/Library/WebServer/hosts/www.virtual-03.com


Leave the DocumentRoot alone.  It's fine at the = default.

Then = use WebMin's Apache2 module to create your virtual sites.

One question I have is = why do you have a WebCatalog and a WebDNA directory?


On Mar 16, 2018, at 12:03 PM, = Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Okay, = then please explain how I can access the WebDNA folder with all its = configurations which is located at the other locations (directories) = other than the =E2=80=9CLibrary/WebServer/Documents=E2=80=9D=E2=80=A6.

/Palle



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

stop changing the directories!!!

all u need is /Library/WebServer

NO data, web, = sites 

On Fri, Mar 16, 2018 at 6:57 PM, = Brian Harrington <autoglasswny@gmail.com> wrote:
just use /Library/WebServer



On Fri, Mar 16, 2018 at 6:34 PM, = Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
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


--------------------------------------------------------- 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=_555F42CD-9BB1-4B23-830A-2E036FFCC55D-- . 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)
1700 --Apple-Mail=_555F42CD-9BB1-4B23-830A-2E036FFCC55D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 So I removed all things WebDNA and did a clean install of WebDNA Server, = now my result is=E2=80=A6 /Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/ /Library/Server/Web/Data/Sites/Default/WebCatalog/ Everything else is gone. Although I notice that you directory paths are = different. When I load y IP/192.168.1.144 in my browser it load and index.dna file = but does not parse the WebDNA and the funny stuff is that it=E2=80=99s = an index.dna located at another directory = ("/Library/WebServer/Documents/index.dna=E2=80=9D) and not relevant to = the above directories. When I load it as (=E2=80=9C192.168.1.144/index.dna= =E2=80=9D) it works, but still from a directory I did not expect being = ("/Library/WebServer/Documents/index.dna=E2=80=9D) although my Apache = conf file states=E2=80=A6 DocumentRoot "/Library/WebServer/Documents" and not the (=E2=80=9CLibrary/Server/Web=E2=80=A6=E2=80=9D) which I just = reinstalled. Does it make sense or am I confusing myself in a was I have not = discovered yes ;) /Palle > On 17 Mar 2018, at 10.56, Palle Bo Nielsen = wrote: >=20 > Hi Michael >=20 > Maybe this can identify the problem=E2=80=A6 Let me walk through where = how my directories has been laid out by the installations. >=20 > /Library/CGI-Executables/WebCatalogEngine= (/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine) > /Library/WebServer/Documents/WebCatalog= (/Library/Server/Web/Data/Sites/ > /Library/WebServer/hosts= (/Library/Server/Web/Data/Sites/index.dna > /Library/WebServer/hosts/www.virtual-01.com =  Not = established yet... > /Library/WebServer/hosts/www.virtual-02.com =  Not = established yet... > /Library/WebServer/hosts/www.virtual-03.com =  Not = established yet... >=20 > So already there we ara talking a different directory setup and in = this case I have not moved anything around. >=20 > /Palle >=20 >=20 >=20 >> On 16 Mar 2018, at 21.07, Michael Davis > wrote: >>=20 >> Palle, >>=20 >> One suggestion might be to leave the WebCatalog directory at = /Library/WebServer/Documents/=20 >> That way any time you want to access the global WebCatalog = preferences, you can do so outside of the virtual hosts you set up, for = instance by IP address. >>=20 >> If it were me, I would leave things where they were installed and = have a directory structure like this: >>=20 >> /Library/CGI-Executables/WebCatalogEngine >> /Library/WebServer/Documents/WebCatalog <- for accessing WebCat = preferences/settings. >> /Library/WebServer/hosts <- make a = directory for your virtual hosts (optional/organizational) >> /Library/WebServer/hosts/www.virtual-01.com = >> /Library/WebServer/hosts/www.virtual-02.com = >> /Library/WebServer/hosts/www.virtual-03.com = >>=20 >>=20 >> Leave the DocumentRoot alone. It's fine at the default. >>=20 >> Then use WebMin's Apache2 module to create your virtual sites. >>=20 >> One question I have is why do you have a WebCatalog and a WebDNA = directory? >>=20 >>=20 >>> On Mar 16, 2018, at 12:03 PM, Palle Bo Nielsen = > wrote: >>>=20 >>> Okay, then please explain how I can access the WebDNA folder with = all its configurations which is located at the other locations = (directories) other than the =E2=80=9CLibrary/WebServer/Documents=E2=80=9D= =E2=80=A6. >>>=20 >>> /Palle >>>=20 >>>=20 >>>=20 >>>> On 16 Mar 2018, at 20.00, Brian Harrington > wrote: >>>>=20 >>>> stop changing the directories!!! >>>>=20 >>>> all u need is /Library/WebServer >>>>=20 >>>> NO data, web, sites=20 >>>>=20 >>>> On Fri, Mar 16, 2018 at 6:57 PM, Brian Harrington = > wrote: >>>> just use /Library/WebServer >>>>=20 >>>>=20 >>>>=20 >>>> On Fri, Mar 16, 2018 at 6:34 PM, Palle Bo Nielsen = > wrote: >>>> 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 >>>>=20 >>>> So Apache is per default installed here=E2=80=A6: >>>> /etc/apache2/ >>>>=20 >>>> WebDNA Server is installed here=E2=80=A6: >>>>=20 >>>> /Library/Server/Web/Data/CGI-Executables/ >>>> and >>>> /Library/Server/Web/Data/Sites/Default/WebCatalog/ >>>> /Library/Server/Web/Data/Sites/Default/WebDNA/ >>>>=20 >>>> So when looking into Apache httpd.conf >>>>=20 >>>> DocumentRoot "/Library/WebServer/Documents" >>>> >>>>=20 >>>> 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? >>>>=20 >>>> /Palle >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> 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 >>>> --------------------------------------------------------- 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 >>>> --------------------------------------------------------- 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=_555F42CD-9BB1-4B23-830A-2E036FFCC55D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 So = I removed all things WebDNA and did a clean install of WebDNA Server, = now my result is=E2=80=A6

/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine/
/Library/Server/Web/Data/Sites/Default/WebCatalog/

Everything else is gone. = Although I notice that you directory paths are different.

When I load y = IP/192.168.1.144 in my browser it load and index.dna file but does not = parse the WebDNA and the funny stuff is that it=E2=80=99s an index.dna = located at another directory ("/Library/WebServer/Documents/index.dna=E2=80=9D) and not = relevant to the above directories. When I load it as = (=E2=80=9C192.168.1.144/index.dna=E2=80=9D) it works, but = still from a directory I did not expect = being ("/Library/WebServer/Documents/index.dna=E2=80=9D) although my = Apache conf file states=E2=80=A6

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

and not the = (=E2=80=9CLibrary/Server/Web=E2=80=A6=E2=80=9D) which I just = reinstalled.

Does it make sense or am I confusing myself in a was I have = not discovered yes ;)

/Palle









On 17 Mar 2018, at 10.56, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Hi = Michael

Maybe = this can identify the problem=E2=80=A6 Let me walk through where how my = directories has been laid out by the installations.

/Library/CGI-Executables/WebCatalogEngine= (/Library/Server/Web/Data/CGI-Executables/WebCatalogEngine)
/Library/WebServer/Documents/WebCatalog= (/Library/Server/Web/Data/Sites/
/Library/WebServer/hosts= (/Library/Server/Web/Data/Sites/index.dna
/Library/WebServer/hosts/www.virtual-01.comNot established yet...
/Library/WebServer/hosts/www.virtual-02.comNot established yet...
/Library/WebServer/hosts/www.virtual-03.comNot established = yet...

So already there we ara talking a different directory setup = and in this case I have not moved anything around.

/Palle



On 16 = Mar 2018, at 21.07, Michael Davis <admin@network13.net>= wrote:

Palle,

One suggestion might be = to leave the WebCatalog directory at = /Library/WebServer/Documents/ 
That way any = time you want to access the global WebCatalog preferences, you can do so = outside of the virtual hosts you set up, for instance by IP = address.

If it = were me, I would leave things where they were installed and have a = directory structure like this:

/Library/CGI-Executables/WebCatalogEngine
/Library/WebServer/Documents/WebCatalog    <- = for accessing WebCat preferences/settings.
/Library/WebServer/hosts           =                     =    <- make a directory for your virtual hosts = (optional/organizational)
/Library/WebServer/hosts/www.virtual-01.com
/Library/WebServer/hosts/www.virtual-02.com
/Library/WebServer/hosts/www.virtual-03.com


Leave the DocumentRoot alone.  It's fine at the = default.

Then = use WebMin's Apache2 module to create your virtual sites.

One question I have is = why do you have a WebCatalog and a WebDNA directory?


On Mar 16, 2018, at 12:03 PM, = Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Okay, = then please explain how I can access the WebDNA folder with all its = configurations which is located at the other locations (directories) = other than the =E2=80=9CLibrary/WebServer/Documents=E2=80=9D=E2=80=A6.

/Palle



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

stop changing the directories!!!

all u need is /Library/WebServer

NO data, web, = sites 

On Fri, Mar 16, 2018 at 6:57 PM, = Brian Harrington <autoglasswny@gmail.com> wrote:
just use /Library/WebServer



On Fri, Mar 16, 2018 at 6:34 PM, = Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:
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


--------------------------------------------------------- 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=_555F42CD-9BB1-4B23-830A-2E036FFCC55D-- . 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:

Protecting Realms (1998) Email notification to one of multiple vendors ? (1997) ' add to cart ' or ' sku ' problem (1998) [WebDNA] EMailer timezone bug? (2015) WC2b15 File Corruption (1997) [WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010) WebCatalog can't find database (1997) Photo Album (2000) [showif] / [hideif] (1997) Webcatalog server support (1997) Price question (1998) Re:my First Ship table (1998) Merchant account (1998) PCS Frames (1997) shipcost (1997) Encryption (2000) Re:2nd WebCatalog2 Feature Request (1996) WebCat with WebTen (1998) Re:need help please (1997) WebCatalog security on NT (2000)