Re: apache2 virtual host

2020-02-03 Thread Russell L. Harris
On Mon, Feb 03, 2020 at 09:10:25AM -0500, Greg Wooledge wrote: On Mon, Feb 03, 2020 at 06:59:55AM +, Russell L. Harris wrote: I receive the following error message when attempting to enable a virtual host (apache2 in Debian 10): root@penelope:/etc/apache2/sites-available# a2ensite domain

Re: apache2 virtual host

2020-02-03 Thread john doe
On 2/3/2020 4:55 PM, Russell L. Harris wrote: > On Mon, Feb 03, 2020 at 07:42:12AM +, Andy Smith wrote: >> Does calling it as: >> >> # /usr/sbin/a2ensite ??? >> >> work? > > root@penelope:/usr/sbin# /usr/sbin/a2ensite > Your choices are: 000-default default-ssl domain1.com domain2.com > Which s

Re: apache2 virtual host

2020-02-03 Thread Russell L. Harris
On Mon, Feb 03, 2020 at 07:42:12AM +, Andy Smith wrote: Does calling it as: # /usr/sbin/a2ensite ??? work? root@penelope:/usr/sbin# /usr/sbin/a2ensite Your choices are: 000-default default-ssl domain1.com domain2.com Which site(s) do you want to enable (wildcards ok)? domain1.com Enabling

Re: apache2 virtual host

2020-02-03 Thread Daryl
On Mon, 3 Feb 2020 07:40:25 + "Russell L. Harris" wrote: > On Mon, Feb 03, 2020 at 08:29:30AM +0100, john doe wrote: > >What is the content of your 'PATH' env? > > > >$ printf "%s\n" "$PATH" > > root@penelope:/usr/sbin# printf "%s\n" "$PATH" > /usr/local/bin:/usr/bin:/bin:/usr/local/games:

Re: apache2 virtual host

2020-02-03 Thread Greg Wooledge
On Mon, Feb 03, 2020 at 06:59:55AM +, Russell L. Harris wrote: > I receive the following error message when attempting to enable a > virtual host (apache2 in Debian 10): > >root@penelope:/etc/apache2/sites-available# a2ensite domain1.com.conf >bash: a2ensite: command not found You use

Re: apache2 virtual host

2020-02-03 Thread Russell L. Harris
On Mon, Feb 03, 2020 at 08:29:30AM +0100, john doe wrote: What is the content of your 'PATH' env? $ printf "%s\n" "$PATH" root@penelope:/usr/sbin# printf "%s\n" "$PATH" /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games I really must turn in for the night, and resume this on the morrow.

Re: apache2 virtual host

2020-02-02 Thread john doe
On 2/3/2020 8:40 AM, Russell L. Harris wrote: > On Mon, Feb 03, 2020 at 08:29:30AM +0100, john doe wrote: >> What is the content of your 'PATH' env? >> >> $ printf "%s\n" "$PATH" > > root@penelope:/usr/sbin# printf "%s\n" "$PATH" > /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > In addi

Re: apache2 virtual host

2020-02-02 Thread Andy Smith
Hi Russell, On Mon, Feb 03, 2020 at 07:11:21AM +, Russell L. Harris wrote: > On Mon, Feb 03, 2020 at 07:05:11AM +, Andy Smith wrote: > >(do these as root, since that seems to be how you are working) > > > ># which a2ensite > ># ls -la /usr/sbin/a2ensite > > root@penelope:/etc/apache2/site

Re: apache2 virtual host

2020-02-02 Thread john doe
On 2/3/2020 8:11 AM, Russell L. Harris wrote: > On Mon, Feb 03, 2020 at 07:05:11AM +, Andy Smith wrote: >> Hi Russell, >> >> On Mon, Feb 03, 2020 at 06:59:55AM +, Russell L. Harris wrote: >>> I receive the following error message when attempting to enable a >>> virtual host (apache2 in Debi

Re: apache2 virtual host

2020-02-02 Thread Russell L. Harris
On Mon, Feb 03, 2020 at 07:05:11AM +, Andy Smith wrote: Hi Russell, On Mon, Feb 03, 2020 at 06:59:55AM +, Russell L. Harris wrote: I receive the following error message when attempting to enable a virtual host (apache2 in Debian 10): root@penelope:/etc/apache2/sites-available# a2ens

Re: apache2 virtual host

2020-02-02 Thread Andy Smith
Hi Russell, On Mon, Feb 03, 2020 at 06:59:55AM +, Russell L. Harris wrote: > I receive the following error message when attempting to enable a > virtual host (apache2 in Debian 10): > >root@penelope:/etc/apache2/sites-available# a2ensite domain1.com.conf >bash: a2ensite: command not f