RE: [linux] Multiple sites and URL on a single Apache server

2021-07-16 Thread dpatte
I run several apps with different domain names or subdomain names, and in all 
cases the domains point to the same ip on my own server.The apps run on their 
own ports but the ports are not accessible from the outsideWould this type of 
setup work for you?Sent from my Galaxy
 Original message From: jean-Francois Messier  
Date: 2021-07-16  15:01  (GMT-05:00) To: Linux-Ottawa  
Subject: [linux] Multiple sites and URL on a single Apache server Can someone 
explain or point me to a site that explains how I can havemultiple apps or 
sites on a single Apache server, using the same mainhostname, followed by 
different subdirs- https://vps.messier.ca/app1 that would point to 
/var/www/app1- https://vps.messier.ca/app2 that would point to /var/www/app2- 
https://vps.messier.ca/app3 that would point to /var/www/app3or different 
hostnames that would point to different locations on theserver (all hostnames 
would point to the same IP)- vps1.messier.ca that would point to /var/www/app1- 
vps2. messier.ca that would point to /var/www/app2- vps3.messier.ca that would 
point to /var/www/app3I want to re-use a VPS on multiple small applications, 
and I do not wantto use strange port numbers.Thanks :-)Jean-Francois MessierTo 
unsubscribe send a blank message to linux+unsubscribe@linux-ottawa.orgTo get 
help send a blank message to linux+help@linux-ottawa.orgTo visit the archives: 
https://lists.linux-ottawa.org

RE: [linux] Multiple sites and URL on a single Apache server

2021-07-16 Thread dpatte
In particular;relativedata.comsnap.relativedata.com andflatwarefinder.comall 
are separate nodejs appsThe DNS in all cases points to my single ip addressMy 
Apache sorts them out to various /var/www/app:port It also handles https for 
each domainI can help you set this up, if this pattern would work for you.Sent 
from my Galaxy
 Original message From: dpatte  Date: 
2021-07-16  16:31  (GMT-05:00) To: jean-Francois Messier , 
Linux-Ottawa  Subject: RE: [linux] Multiple sites and 
URL on a single Apache server I run several apps with different domain names or 
subdomain names, and in all cases the domains point to the same ip on my own 
server.The apps run on their own ports but the ports are not accessible from 
the outsideWould this type of setup work for you?Sent from my Galaxy 
Original message From: jean-Francois Messier  Date: 
2021-07-16  15:01  (GMT-05:00) To: Linux-Ottawa  
Subject: [linux] Multiple sites and URL on a single Apache server Can someone 
explain or point me to a site that explains how I can havemultiple apps or 
sites on a single Apache server, using the same mainhostname, followed by 
different subdirs- https://vps.messier.ca/app1 that would point to 
/var/www/app1- https://vps.messier.ca/app2 that would point to /var/www/app2- 
https://vps.messier.ca/app3 that would point to /var/www/app3or different 
hostnames that would point to different locations on theserver (all hostnames 
would point to the same IP)- vps1.messier.ca that would point to /var/www/app1- 
vps2. messier.ca that would point to /var/www/app2- vps3.messier.ca that would 
point to /var/www/app3I want to re-use a VPS on multiple small applications, 
and I do not wantto use strange port numbers.Thanks :-)Jean-Francois MessierTo 
unsubscribe send a blank message to linux+unsubscribe@linux-ottawa.orgTo get 
help send a blank message to linux+help@linux-ottawa.orgTo visit the archives: 
https://lists.linux-ottawa.org

Re: [linux] Bios crash

2021-07-16 Thread dpatte
Thanks. Tried that, but no luck.The flickering lasts about a second then it 
flashes each half second. The external monitor remains black.I now suspect the 
Cmos battery or related. The laptop is from 2014 and has been running almost 
24/7 every day since then. Actually I'm amazed the HDD has lasted this 
long!Sent from my Galaxy
 Original message From: Tim Forbes  
Date: 2021-07-16  10:57  (GMT-05:00) To: linux@linux-ottawa.org Subject: Re: 
[linux] Bios crash 
You could try connecting an external monitor in case the problem
  is onboard display. If you are seeing some LED flickering due to
  disk activity, that could indicated that you have progressed
  beyond BIOS initialization and are into the OS boot sequence.

Tim
On 2021-07-15 10:43 a.m., dpatte wrote:


  
  I appologize in advance if this is the wrong forum
for this request, but there seem to be many experts on this list
- so here goes...
  
  
  My laptop, a Lenovo y50-70 black screened
yesterday, I presume during an automated windows update.
  
  
  It wont boot and I cant even get into the bios to
see what's up. On boot a few leds go on (power, battery) the
disk light flickers for a 1.5 seconds then flashes on and off
each second. No other response.
  
  
  Lenovo doesnt seem to have a copy of the bios code
I could download and reflash my bios with.
  
  
  Any ideas?
  
  
  
  
  I am presuming that the bios is corrupted. Does
anyone have suggestions?  
  
  
  
  
  
  
  
Sent from my
  Galaxy
  
  
  

-- 
Tim Forbes
  




Re: [linux] Multiple sites and URL on a single Apache server

2021-07-16 Thread Dianne Skoll
On Fri, 16 Jul 2021 14:44:28 -0400
jean-Francois Messier  wrote:

> Can someone explain or point me to a site that explains how I can have
> multiple apps or sites on a single Apache server, using the same main
> hostname, followed by different subdirs

> - https://vps.messier.ca/app1 that would point to /var/www/app1
> - https://vps.messier.ca/app2 that would point to /var/www/app2
> - https://vps.messier.ca/app3 that would point to /var/www/app3

That's easy; just put your apps in subdirectories if they support it.

> or different hostnames that would point to different locations on the
> server (all hostnames would point to the same IP)

> - vps1.messier.ca that would point to /var/www/app1
> - vps2. messier.ca that would point to /var/www/app2
> - vps3.messier.ca that would point to /var/www/app3

That's a better way.  You can use Name-Based Virtual Hosts.  If you're
using Apache: https://httpd.apache.org/docs/2.4/vhosts/name-based.html

I don't know how to do it using Nginx, but I'm sure if you google
"Name-based Virtual Hosts Nginx" you'll find something useful.

Regards,

Dianne.

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



[linux] Multiple sites and URL on a single Apache server

2021-07-16 Thread jean-Francois Messier
Can someone explain or point me to a site that explains how I can have
multiple apps or sites on a single Apache server, using the same main
hostname, followed by different subdirs

- https://vps.messier.ca/app1 that would point to /var/www/app1
- https://vps.messier.ca/app2 that would point to /var/www/app2
- https://vps.messier.ca/app3 that would point to /var/www/app3

or different hostnames that would point to different locations on the
server (all hostnames would point to the same IP)

- vps1.messier.ca that would point to /var/www/app1
- vps2. messier.ca that would point to /var/www/app2
- vps3.messier.ca that would point to /var/www/app3

I want to re-use a VPS on multiple small applications, and I do not want
to use strange port numbers.

Thanks :-)

Jean-Francois Messier



To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



Re: [linux] Bios crash

2021-07-16 Thread Tim Forbes
You could try connecting an external monitor in case the problem is 
onboard display. If you are seeing some LED flickering due to disk 
activity, that could indicated that you have progressed beyond BIOS 
initialization and are into the OS boot sequence.


Tim

On 2021-07-15 10:43 a.m., dpatte wrote:
I appologize in advance if this is the wrong forum for this request, 
but there seem to be many experts on this list - so here goes...


My laptop, a Lenovo y50-70 black screened yesterday, I presume during 
an automated windows update.


It wont boot and I cant even get into the bios to see what's up. On 
boot a few leds go on (power, battery) the disk light flickers for a 
1.5 seconds then flashes on and off each second. No other response.


Lenovo doesnt seem to have a copy of the bios code I could download 
and reflash my bios with.


Any ideas?


I am presuming that the bios is corrupted. Does anyone have suggestions?



Sent from my Galaxy


--
Tim Forbes



Re: Desktop settings (was Re: [linux] CentOS alternatives: Devuan)

2021-07-16 Thread Alex Pilon
> I've used a combination of xmodmap and WM options, but I'd really like
> an option to do it at the tty console level...

See kbd package. locate i386/qwerty/us.map.gz, or something the sort.
Ungz. Find the caps lock key. Rename to control. I think it was keycode
58. Can't remember.

For systemd, /etc/vconsole.conf, set KEYMAP=us-capsasctrl, or whatever
you called the file. Put it in the /usr/local hierarchy, not the /usr
one. If the distro built kbd properly, which is most likely, it will
just work.

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



Re: [linux] Bios crash

2021-07-16 Thread Michael P. Soulier
I once had to clear my CMOS memory or my laptop wouldn't boot, due to a 
corrupted CMOS. As I recall I had to short across a couple of contacts, 
and I found the instructions online.


Mike

On 2021-07-16 5:04 a.m., Kevin Szabo wrote:
I haven't seen a windows update corrupt a bios before, but I imagine 
it's in the realm of possibilities.  Others likely have more experience 
but you may want to pull all your power, unplug your battery, and unplug 
the coin cell that keeps the CMOS settings for the BIOS alive.  Try to 
boot to your BIOS and if you can get in there reset the configuration to 
the default (pulling the battery doesn't normally set to default).  When 
was your laptop manufactured?  Cheap Electrolytic caps have a finite 
lifetime and  if your machine is over 12 years old you may be reaching 
it (or capacitor plague)


Good luck

On Fri, Jul 16, 2021 at 4:45 AM dpatte > wrote:


I appologize in advance if this is the wrong forum for this request,
but there seem to be many experts on this list - so here goes...

My laptop, a Lenovo y50-70 black screened yesterday, I presume
during an automated windows update.

It wont boot and I cant even get into the bios to see what's up. On
boot a few leds go on (power, battery) the disk light flickers for a
1.5 seconds then flashes on and off each second. No other response.

Lenovo doesnt seem to have a copy of the bios code I could download
and reflash my bios with.

Any ideas?


I am presuming that the bios is corrupted. Does anyone have
suggestions?



Sent from my Galaxy



To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org



Re: [linux] Bios crash

2021-07-16 Thread Edward Hong
Hi,

With regards to Lenovo repairs, I have had good results from Nova Networks
 on Woodward Drive.  They were able to help out
with parts replacements, as well as firmware updates, etc.

- Ed

On Fri, Jul 16, 2021 at 8:58 AM Kevin Szabo  wrote:

> Regarding repairs, I like The Trailing Edge (TTE.CA) in Bell's Corners.
> I've sent people to them before and everyone feels treated fairly.  If you
> are senior they have a discount.
>
> - Kevin
>
> On Fri, Jul 16, 2021 at 8:26 AM dpatte  wrote:
>
>> Thanks for any suggestions. I pulled the hard drive  yesterday, and
>> backed up all its data files to my linux box. Phew!
>>
>> I'm primarily looking for suggestions of who does such repairs around
>> ottawa.
>>
>>
>>
>> Sent from my Galaxy
>>
>>
>>  Original message 
>> From: Kevin Szabo 
>> Date: 2021-07-16 05:04 (GMT-05:00)
>> To: dpatte 
>> Cc: "oclinux linux@linux-ottawa.org" 
>> Subject: Re: [linux] Bios crash
>>
>> I haven't seen a windows update corrupt a bios before, but I imagine it's
>> in the realm of possibilities.  Others likely have more experience but you
>> may want to pull all your power, unplug your battery, and unplug the coin
>> cell that keeps the CMOS settings for the BIOS alive.  Try to boot to your
>> BIOS and if you can get in there reset the configuration to the default
>> (pulling the battery doesn't normally set to default).  When was your
>> laptop manufactured?  Cheap Electrolytic caps have a finite lifetime and
>> if your machine is over 12 years old you may be reaching it (or capacitor
>> plague)
>>
>> Good luck
>>
>> On Fri, Jul 16, 2021 at 4:45 AM dpatte  wrote:
>>
>>> I appologize in advance if this is the wrong forum for this request, but
>>> there seem to be many experts on this list - so here goes...
>>>
>>> My laptop, a Lenovo y50-70 black screened yesterday, I presume during an
>>> automated windows update.
>>>
>>> It wont boot and I cant even get into the bios to see what's up. On boot
>>> a few leds go on (power, battery) the disk light flickers for a 1.5 seconds
>>> then flashes on and off each second. No other response.
>>>
>>> Lenovo doesnt seem to have a copy of the bios code I could download and
>>> reflash my bios with.
>>>
>>> Any ideas?
>>>
>>>
>>> I am presuming that the bios is corrupted. Does anyone have
>>> suggestions?
>>>
>>>
>>>
>>> Sent from my Galaxy
>>>
>>>


Re: [linux] Bios crash

2021-07-16 Thread Kevin Szabo
Regarding repairs, I like The Trailing Edge (TTE.CA) in Bell's Corners.
I've sent people to them before and everyone feels treated fairly.  If you
are senior they have a discount.

- Kevin

On Fri, Jul 16, 2021 at 8:26 AM dpatte  wrote:

> Thanks for any suggestions. I pulled the hard drive  yesterday, and backed
> up all its data files to my linux box. Phew!
>
> I'm primarily looking for suggestions of who does such repairs around
> ottawa.
>
>
>
> Sent from my Galaxy
>
>
>  Original message 
> From: Kevin Szabo 
> Date: 2021-07-16 05:04 (GMT-05:00)
> To: dpatte 
> Cc: "oclinux linux@linux-ottawa.org" 
> Subject: Re: [linux] Bios crash
>
> I haven't seen a windows update corrupt a bios before, but I imagine it's
> in the realm of possibilities.  Others likely have more experience but you
> may want to pull all your power, unplug your battery, and unplug the coin
> cell that keeps the CMOS settings for the BIOS alive.  Try to boot to your
> BIOS and if you can get in there reset the configuration to the default
> (pulling the battery doesn't normally set to default).  When was your
> laptop manufactured?  Cheap Electrolytic caps have a finite lifetime and
> if your machine is over 12 years old you may be reaching it (or capacitor
> plague)
>
> Good luck
>
> On Fri, Jul 16, 2021 at 4:45 AM dpatte  wrote:
>
>> I appologize in advance if this is the wrong forum for this request, but
>> there seem to be many experts on this list - so here goes...
>>
>> My laptop, a Lenovo y50-70 black screened yesterday, I presume during an
>> automated windows update.
>>
>> It wont boot and I cant even get into the bios to see what's up. On boot
>> a few leds go on (power, battery) the disk light flickers for a 1.5 seconds
>> then flashes on and off each second. No other response.
>>
>> Lenovo doesnt seem to have a copy of the bios code I could download and
>> reflash my bios with.
>>
>> Any ideas?
>>
>>
>> I am presuming that the bios is corrupted. Does anyone have suggestions?
>>
>>
>>
>> Sent from my Galaxy
>>
>>


Re: [linux] Bios crash

2021-07-16 Thread Kevin Szabo
I haven't seen a windows update corrupt a bios before, but I imagine it's
in the realm of possibilities.  Others likely have more experience but you
may want to pull all your power, unplug your battery, and unplug the coin
cell that keeps the CMOS settings for the BIOS alive.  Try to boot to your
BIOS and if you can get in there reset the configuration to the default
(pulling the battery doesn't normally set to default).  When was your
laptop manufactured?  Cheap Electrolytic caps have a finite lifetime and
if your machine is over 12 years old you may be reaching it (or capacitor
plague)

Good luck

On Fri, Jul 16, 2021 at 4:45 AM dpatte  wrote:

> I appologize in advance if this is the wrong forum for this request, but
> there seem to be many experts on this list - so here goes...
>
> My laptop, a Lenovo y50-70 black screened yesterday, I presume during an
> automated windows update.
>
> It wont boot and I cant even get into the bios to see what's up. On boot a
> few leds go on (power, battery) the disk light flickers for a 1.5 seconds
> then flashes on and off each second. No other response.
>
> Lenovo doesnt seem to have a copy of the bios code I could download and
> reflash my bios with.
>
> Any ideas?
>
>
> I am presuming that the bios is corrupted. Does anyone have suggestions?
>
>
>
> Sent from my Galaxy
>
>


[linux] Bios crash

2021-07-16 Thread dpatte
I appologize in advance if this is the wrong forum for this request, but there 
seem to be many experts on this list - so here goes...My laptop, a Lenovo 
y50-70 black screened yesterday, I presume during an automated windows 
update.It wont boot and I cant even get into the bios to see what's up. On boot 
a few leds go on (power, battery) the disk light flickers for a 1.5 seconds 
then flashes on and off each second. No other response.Lenovo doesnt seem to 
have a copy of the bios code I could download and reflash my bios with.Any 
ideas?I am presuming that the bios is corrupted. Does anyone have suggestions?  
Sent from my Galaxy