Re: LC Server on OSX Mojave - Local host & sites

2019-04-06 Thread Rick Harrison via use-livecode
Hi Bob and Keith,

I found that Part 3, although it said for Mojave
was really Sierra.  When I tried to use their
setup. I discovered that the paths were incorrect.
Once I compensated for the wrong paths I found.
the solution worked for setting up SSL fine.

https://getgrav.org/blog/macos-mojave-apache-ssl

The other problem I found with their setup was that
it didn’t use Apple’s recommended mod_secure_transport
plug-in but instead used mod_ssl.

It works for now! 

I guess we will have to wait for someone to work out 
exactly how to use Apple’s mod_secure_transport plug-in
before we can move onto using that.

Any takers up to the challenge?

Good luck,

Rick


> On Apr 4, 2019, at 6:29 AM, bob--- via use-livecode 
>  wrote:
> 
> ...
> Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently 
> as Jan 2019)
> https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions
> 
> Hope this might help you,
> Bob H.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Server on OSX Mojave - Local host & sites

2019-04-05 Thread Keith Clarke via use-livecode
Thanks Bob - those articles are much more recent than those I was referencing, 
so it looks like I have a weekend of experimentation lined up!
Best
Keith

> On 4 Apr 2019, at 11:29, bob--- via use-livecode 
>  wrote:
> 
> There are changes in how things work in 10.14.x of Mac OS. When I setup my 
> system for full stack dev (iMac 27” Late 2014) I did a mashup of the 
> following 2 posts. Not sure that you should start right in with these but 
> maybe there’s something in the text that will help you get the configuration 
> you need.
> 
> You will see that there’s a PHP focus in the setups. Once you are able to get 
> the php info page working you should be good to get LC server running. The 
> second link is a 3 part article. I’ve included a link to the first post.
> 
> The Perfect Web Development Environment for Your New Mac (Not updated 
> recently but a good reference)
> https://mallinson.ca/posts/5/the-perfect-web-development-environment-for-your-new-mac
>  
> 
> 
> Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently 
> as Jan 2019)
> https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions
> 
> Hope this might help you,
> Bob H.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Server on OSX Mojave - Local host & sites

2019-04-04 Thread bob--- via use-livecode
There are changes in how things work in 10.14.x of Mac OS. When I setup my 
system for full stack dev (iMac 27” Late 2014) I did a mashup of the following 
2 posts. Not sure that you should start right in with these but maybe there’s 
something in the text that will help you get the configuration you need.

You will see that there’s a PHP focus in the setups. Once you are able to get 
the php info page working you should be good to get LC server running. The 
second link is a 3 part article. I’ve included a link to the first post.

The Perfect Web Development Environment for Your New Mac (Not updated recently 
but a good reference)
https://mallinson.ca/posts/5/the-perfect-web-development-environment-for-your-new-mac
 


Part 1: macOS 10.14 Mojave Web Development Environment (updated as recently as 
Jan 2019)
https://getgrav.org/blog/macos-mojave-apache-multiple-php-versions

Hope this might help you,
Bob H.

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Server on OSX Mojave - Local host & sites

2019-04-03 Thread Keith Clarke via use-livecode
Rick - thanks for sharing. That all sounds extremely frustrating and I was 
hoping to avoid opening the SSL can-of-worms for a desktop-based MALM 
(Mac-Apache-LiveCode-Maria) dev server installation!

JJS - I’m just trying to recover the old Mac Sites web server functionality in 
Mojave to get back my desktop web-dev playground - but it’s failing before I 
get to testing LC Server. 

I have followed (pre-Mojave) online setup advice regarding httpd.conf, 
httpd-user.conf and keith.conf files that should recover this service and 
apachectl configtest passes OK, but I’m getting permission errors at any page 
URLs for http://localhost/keith/Sites and below.

Best,
Keith

> On 3 Apr 2019, at 17:55, JJS via use-livecode  
> wrote:
> 
> Is this a local server you are using? because you are having localhost after 
> http://
> 
> 
> So it is not reachable by anyone else on the internet right?
> 
> 
> Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode:
>> Hi Keith,
>> 
>> Unfortunately, Apple, Inc. has really screwed us over with the removal of
>> website control in their newest version of macOS Server.  All they gave us
>> was the macOS-Server-Service-Migration-Guide.pdf which says very little
>> about the most important things like SSL under Mojave. To quote:
>> 
>> “1. The virtual hosts won’t be behind a reverse proxy; they’ll be listening 
>> on
>> standard HTTP ports unless configured otherwise.
>> 2. The SSL certificates will reside in the System.keychain, not in the file 
>> system.
>> 3. The SSL processing will be managed by Apple’s mod_secure_transport
>> plug-in for Apache, not by mod_ssl.”
>> 
>> They give very little in the way of instructions, and instead show a bunch 
>> of diff files
>> that show the differences between the configuration files under old macOS 
>> Server
>> and the way they should look for Mojave.
>> 
>> I managed to work my way through the document making all the changes, and
>> got LC Server to work too!  (I thought that would be a the hard part.  I was
>> wrong to make that assumption.)
>> 
>> When it was time to get my SSL I found I was unable to get it to work, so
>> I thought I would hire an experienced Sectigo SSL guy to do it.  Perhaps
>> he would succeed where I had failed since they do these things all the time.
>> The guy tried 3 times on 3 different days.  He failed, and told me that I 
>> would
>> have to call Apple Support about the matter.  I tried to see if he would call
>> them for me as this problem impacts their business more severely, but he
>> wouldn’t do it.  They did agree to refund my SSL Installation Service money,
>> which I appreciated.
>> 
>> When I called Apple, Inc. support, they bumped the problem up by
>> three levels and then told me they would have to bump it up yet
>> another level.  They wanted $700 to work on the problem!  This is a
>> problem they have caused, and they expect me to pay that much
>> for a fix?  Really?  I told them I would keep it in mind as a last resort.
>> 
>> I tried to look for other solutions.  I looked at VirtualHostX and thought
>> I would try a letsencrypt.org SSL Certificate just in case there was
>> something wrong with my Sectigo SSL Certificate.  I was able to
>> get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux
>> computer inside of my Mac. Emulation slows down the computer and
>> I thought there must still be a pure macOS solution out there.
>> 
>> I decided to give MAMP Pro a try. That didn’t work either!  When I contacted
>> their support people they said:
>> 
>>  "MAMP PRO is mostly intended for local development mostly. You can
>> use it as a live server if you would like, but we cannot provide support
>> for this. At this time we don' have a how-to on setting up a
>> letsencrypt ssl key. If you cannot get this working, and this is
>> why you purchased MAMP PRO, to use it as a live server, then we
>> can offer you a refund.”
>> 
>> That has put me back to square one.
>> 
>> If anyone can work through the SSL problem and get it working under
>> macOS 10.14.4 Mojave, I would be happy to help out getting LC
>> Server to work.
>> 
>> Let me know if you have any suggestions.
>> 
>> Thanks,
>> 
>> Rick
>> 
>> 
>> 
>>> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode 
>>>  wrote:
>>> 
>>> Hi Folks,
>>> Is there a recipe more recent than the LC Server on OSX lesson that covers 
>>> the Mohave Apache environment setup to recognise Sites URLs in localhost - 
>>> now that Apple has hidden point & click web sharing facilities?
>>> 
>>> I have localhost working but get "The requested URL /keith/Sites/test.lc 
>>> was not found on this server.” for http://localhost/keith/Sites/test.lc 
>>> 
>>> 
>>> Any clues gratefully received.
>>> Best,
>>> Keith
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> 

Re: LC Server on OSX Mojave - Local host & sites

2019-04-03 Thread Rick Harrison via use-livecode
I am currently setting up a live internet server.
Before that I was using localhost for my development
and got it working with LC Server.
Keith has his localhost working in general but doesn’t
yet have the LC server responding to .lc inquiries.

Rick

> On Apr 3, 2019, at 12:55 PM, JJS via use-livecode 
>  wrote:
> 
> Is this a local server you are using? because you are having localhost after 
> http://
> 
> 
> So it is not reachable by anyone else on the internet right?
> 
> 
> Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode:
>> Hi Keith,
>> 
>> Unfortunately, Apple, Inc. has really screwed us over with the removal of
>> website control in their newest version of macOS Server.  All they gave us
>> was the macOS-Server-Service-Migration-Guide.pdf which says very little
>> about the most important things like SSL under Mojave. To quote:
>> 
>> “1. The virtual hosts won’t be behind a reverse proxy; they’ll be listening 
>> on
>> standard HTTP ports unless configured otherwise.
>> 2. The SSL certificates will reside in the System.keychain, not in the file 
>> system.
>> 3. The SSL processing will be managed by Apple’s mod_secure_transport
>> plug-in for Apache, not by mod_ssl.”
>> 
>> They give very little in the way of instructions, and instead show a bunch 
>> of diff files
>> that show the differences between the configuration files under old macOS 
>> Server
>> and the way they should look for Mojave.
>> 
>> I managed to work my way through the document making all the changes, and
>> got LC Server to work too!  (I thought that would be a the hard part.  I was
>> wrong to make that assumption.)
>> 
>> When it was time to get my SSL I found I was unable to get it to work, so
>> I thought I would hire an experienced Sectigo SSL guy to do it.  Perhaps
>> he would succeed where I had failed since they do these things all the time.
>> The guy tried 3 times on 3 different days.  He failed, and told me that I 
>> would
>> have to call Apple Support about the matter.  I tried to see if he would call
>> them for me as this problem impacts their business more severely, but he
>> wouldn’t do it.  They did agree to refund my SSL Installation Service money,
>> which I appreciated.
>> 
>> When I called Apple, Inc. support, they bumped the problem up by
>> three levels and then told me they would have to bump it up yet
>> another level.  They wanted $700 to work on the problem!  This is a
>> problem they have caused, and they expect me to pay that much
>> for a fix?  Really?  I told them I would keep it in mind as a last resort.
>> 
>> I tried to look for other solutions.  I looked at VirtualHostX and thought
>> I would try a letsencrypt.org SSL Certificate just in case there was
>> something wrong with my Sectigo SSL Certificate.  I was able to
>> get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux
>> computer inside of my Mac. Emulation slows down the computer and
>> I thought there must still be a pure macOS solution out there.
>> 
>> I decided to give MAMP Pro a try. That didn’t work either!  When I contacted
>> their support people they said:
>> 
>>  "MAMP PRO is mostly intended for local development mostly. You can
>> use it as a live server if you would like, but we cannot provide support
>> for this. At this time we don' have a how-to on setting up a
>> letsencrypt ssl key. If you cannot get this working, and this is
>> why you purchased MAMP PRO, to use it as a live server, then we
>> can offer you a refund.”
>> 
>> That has put me back to square one.
>> 
>> If anyone can work through the SSL problem and get it working under
>> macOS 10.14.4 Mojave, I would be happy to help out getting LC
>> Server to work.
>> 
>> Let me know if you have any suggestions.
>> 
>> Thanks,
>> 
>> Rick
>> 
>> 
>> 
>>> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode 
>>>  wrote:
>>> 
>>> Hi Folks,
>>> Is there a recipe more recent than the LC Server on OSX lesson that covers 
>>> the Mohave Apache environment setup to recognise Sites URLs in localhost - 
>>> now that Apple has hidden point & click web sharing facilities?
>>> 
>>> I have localhost working but get "The requested URL /keith/Sites/test.lc 
>>> was not found on this server.” for http://localhost/keith/Sites/test.lc 
>>> 
>>> 
>>> Any clues gratefully received.
>>> Best,
>>> Keith
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode 

Re: LC Server on OSX Mojave - Local host & sites

2019-04-03 Thread JJS via use-livecode
Is this a local server you are using? because you are having localhost 
after http://



So it is not reachable by anyone else on the internet right?


Op 3-4-2019 om 16:09 schreef Rick Harrison via use-livecode:

Hi Keith,

Unfortunately, Apple, Inc. has really screwed us over with the removal of
website control in their newest version of macOS Server.  All they gave us
was the macOS-Server-Service-Migration-Guide.pdf which says very little
about the most important things like SSL under Mojave. To quote:

“1. The virtual hosts won’t be behind a reverse proxy; they’ll be listening on
standard HTTP ports unless configured otherwise.
2. The SSL certificates will reside in the System.keychain, not in the file 
system.
3. The SSL processing will be managed by Apple’s mod_secure_transport
plug-in for Apache, not by mod_ssl.”

They give very little in the way of instructions, and instead show a bunch of 
diff files
that show the differences between the configuration files under old macOS Server
and the way they should look for Mojave.

I managed to work my way through the document making all the changes, and
got LC Server to work too!  (I thought that would be a the hard part.  I was
wrong to make that assumption.)

When it was time to get my SSL I found I was unable to get it to work, so
I thought I would hire an experienced Sectigo SSL guy to do it.  Perhaps
he would succeed where I had failed since they do these things all the time.
The guy tried 3 times on 3 different days.  He failed, and told me that I would
have to call Apple Support about the matter.  I tried to see if he would call
them for me as this problem impacts their business more severely, but he
wouldn’t do it.  They did agree to refund my SSL Installation Service money,
which I appreciated.

When I called Apple, Inc. support, they bumped the problem up by
three levels and then told me they would have to bump it up yet
another level.  They wanted $700 to work on the problem!  This is a
problem they have caused, and they expect me to pay that much
for a fix?  Really?  I told them I would keep it in mind as a last resort.

I tried to look for other solutions.  I looked at VirtualHostX and thought
I would try a letsencrypt.org SSL Certificate just in case there was
something wrong with my Sectigo SSL Certificate.  I was able to
get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux
computer inside of my Mac. Emulation slows down the computer and
I thought there must still be a pure macOS solution out there.

I decided to give MAMP Pro a try. That didn’t work either!  When I contacted
their support people they said:

  "MAMP PRO is mostly intended for local development mostly. You can
use it as a live server if you would like, but we cannot provide support
for this. At this time we don' have a how-to on setting up a
letsencrypt ssl key. If you cannot get this working, and this is
why you purchased MAMP PRO, to use it as a live server, then we
can offer you a refund.”

That has put me back to square one.

If anyone can work through the SSL problem and get it working under
macOS 10.14.4 Mojave, I would be happy to help out getting LC
Server to work.

Let me know if you have any suggestions.

Thanks,

Rick




On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode 
 wrote:

Hi Folks,
Is there a recipe more recent than the LC Server on OSX lesson that covers the 
Mohave Apache environment setup to recognise Sites URLs in localhost - now that 
Apple has hidden point & click web sharing facilities?

I have localhost working but get "The requested URL /keith/Sites/test.lc was not 
found on this server.” for http://localhost/keith/Sites/test.lc 


Any clues gratefully received.
Best,
Keith


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Server on OSX Mojave - Local host & sites

2019-04-03 Thread Rick Harrison via use-livecode
Hi Keith,

Unfortunately, Apple, Inc. has really screwed us over with the removal of 
website control in their newest version of macOS Server.  All they gave us 
was the macOS-Server-Service-Migration-Guide.pdf which says very little 
about the most important things like SSL under Mojave. To quote:

“1. The virtual hosts won’t be behind a reverse proxy; they’ll be listening on 
standard HTTP ports unless configured otherwise.
2. The SSL certificates will reside in the System.keychain, not in the file 
system.
3. The SSL processing will be managed by Apple’s mod_secure_transport 
plug-in for Apache, not by mod_ssl.”

They give very little in the way of instructions, and instead show a bunch of 
diff files
that show the differences between the configuration files under old macOS Server
and the way they should look for Mojave.

I managed to work my way through the document making all the changes, and
got LC Server to work too!  (I thought that would be a the hard part.  I was
wrong to make that assumption.)

When it was time to get my SSL I found I was unable to get it to work, so
I thought I would hire an experienced Sectigo SSL guy to do it.  Perhaps
he would succeed where I had failed since they do these things all the time.
The guy tried 3 times on 3 different days.  He failed, and told me that I would
have to call Apple Support about the matter.  I tried to see if he would call
them for me as this problem impacts their business more severely, but he
wouldn’t do it.  They did agree to refund my SSL Installation Service money,
which I appreciated.

When I called Apple, Inc. support, they bumped the problem up by
three levels and then told me they would have to bump it up yet
another level.  They wanted $700 to work on the problem!  This is a 
problem they have caused, and they expect me to pay that much
for a fix?  Really?  I told them I would keep it in mind as a last resort.

I tried to look for other solutions.  I looked at VirtualHostX and thought
I would try a letsencrypt.org SSL Certificate just in case there was
something wrong with my Sectigo SSL Certificate.  I was able to
get my SSL working with that, but VirtualHostX sets up a Virtual Debian Linux
computer inside of my Mac. Emulation slows down the computer and
I thought there must still be a pure macOS solution out there. 

I decided to give MAMP Pro a try. That didn’t work either!  When I contacted 
their support people they said:

 "MAMP PRO is mostly intended for local development mostly. You can 
use it as a live server if you would like, but we cannot provide support 
for this. At this time we don' have a how-to on setting up a
letsencrypt ssl key. If you cannot get this working, and this is 
why you purchased MAMP PRO, to use it as a live server, then we 
can offer you a refund.”

That has put me back to square one.

If anyone can work through the SSL problem and get it working under
macOS 10.14.4 Mojave, I would be happy to help out getting LC
Server to work.

Let me know if you have any suggestions.

Thanks,

Rick



> On Apr 2, 2019, at 3:43 PM, Keith Clarke via use-livecode 
>  wrote:
> 
> Hi Folks,
> Is there a recipe more recent than the LC Server on OSX lesson that covers 
> the Mohave Apache environment setup to recognise Sites URLs in localhost - 
> now that Apple has hidden point & click web sharing facilities?
> 
> I have localhost working but get "The requested URL /keith/Sites/test.lc was 
> not found on this server.” for http://localhost/keith/Sites/test.lc 
> 
> 
> Any clues gratefully received.
> Best,
> Keith
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

LC Server on OSX Mojave - Local host & sites

2019-04-02 Thread Keith Clarke via use-livecode
Hi Folks,
Is there a recipe more recent than the LC Server on OSX lesson that covers the 
Mohave Apache environment setup to recognise Sites URLs in localhost - now that 
Apple has hidden point & click web sharing facilities?

I have localhost working but get "The requested URL /keith/Sites/test.lc was 
not found on this server.” for http://localhost/keith/Sites/test.lc 


Any clues gratefully received.
Best,
Keith

 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode