Re: NameVirtualHost fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is one assumption, sure. Best to have the user run apachectl -S to confirm. For all we know, they could have defined invalid vhosts.

On Thu, 30 Jun 2022 at 16:54, <freebsd@xxxxxxxxxxxx> wrote:

You are missing something called virtual hosts. You are allowed one host but you can have many virtual hosts. Secondly, you should be using Leap 15.4, it sounds like you are out of date, sorry to say.

 

If you go to your httpd.conf file then you will notice that there is  a enable virtual hosts #include virtual hosts.conf httpd-vhosts.conf so uncomment it remove the #

 

De : jnilles@xxxxxxxx <jnilles@xxxxxxxx>
Envoyé : jeudi 30 juin 2022 16:28
À : users@xxxxxxxxxxxxxxxx
Objet : NameVirtualHost fails

 

I'm using SUSE Leap 15.3 and apache2. I'm trying to get SSL to  work on two hosts with the same IP address. My vhosts.config is set for the two hosts but only one actually runs. When I run systemctl status apache2.service  I get a message that NameVirtualHost has no effect and will be removed. So the configuration only works if I have just one host.

 

What key detail am I missing in the network configuration?

 

Thanks,

 

Jack Nilles

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux