Re: [webmin-l] Strange things

Kimberly <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
OK.  understand.  as I said, I am not an apache knowledgeable.  The GUI 
in Virtualmin does not show an entry for changing the Default Server Any 
to an IP; so where do I do this.  And changing the 433 Virtual server 
caused it to present a directory list.

Plus, all this was working with those two in the list.

I have a felling to really fix this mess will mean a server redo.


On 2/28/2017 3:30 PM, Joe Cooper wrote:
> Virtualmin didn't create them. The apache package did (Virtualmin has 
> code to detect and remove them during install, but it seems like they 
> come back on upgrades or something, or maybe something has changed and 
> we don't detect this config correctly).
>
> You could delete them, but I'd recommend you do what I suggested 
> earlier...make them IP:port instead of *:port. That will fix the 
> problem and I would hope future apache upgrades wouldn't overwrite 
> modified files with the broken default config.
>
> On Feb 28, 2017 12:18 PM, Kimberly <[email protected]> wrote:
>
>     When Virtualmin was installed it did create two Any entries;
>     Default Server with Any Address and Any Port pointing to
>     /var/www/html and Virtual Server Any Address and Port 433 pointing
>     to /var/www/html
>
>     Are you saying I need to delete those two entries from the
>     Existing virtual hosts?  All of the virtual servers I installed I
>     specified the IP address.  Plus, I use
>     /home/virtual_server_name/public_html to hold any site.
>
>     On 2/28/2017 3:06 PM, Joe Cooper wrote:
>
>         Check all of them. All virtual hosts need to be IP:port or
>         you'll get the behavior you are seeing. Any *:port causes the
>         non virtual mode of apache to kick in.
>
>         On Feb 28, 2017 11:59 AM, Kimberly <[email protected]>
>         <mailto:[email protected]> wrote:
>
>             For the domain that no longer works but goes to the
>             default server
>
>             <VirtualHost xxx.xxx.xxx.xxx:80>
>             SuexecUserGroup "#xxx" "#xxx"
>             ServerName domain.tld
>             ServerAlias www.domain.tld <http://www.domain.tld>
>
>
>             and so forth where xxx is actual ip or user group numerals.
>
>
>
>
>             On 2/28/2017 2:45 PM, Maxwell Smart wrote:
>
>             No, Joe is correct. It's not DNS related it's related to
>             the virtual hosts.
>
>             The virtual host that your trying to serve is
>             misconfigured.  It probably says:
>
>             Address  Any
>             Port            80
>
>             and it should say:
>
>             Address 192.168.0.1
>             Port            80
>
>             Using your IP instead of the example.
>
>
>
>             On 02/28/2017 11:37 AM, Kimberly wrote:
>
>                 Thanks for your help but that is not the problem.  I have domains that
>                 have vhosts entries that were working that now goes to the default
>                 website on the server.  No changes in DNS; so this has to be some
>                 problem with Virtualmin.  It is also showing a virtual server listed
>                 together with another virtual server when the two virtual servers are
>                 not the same owner and group..
>
>                 On 2/28/2017 2:15 PM, Dave Stevens wrote:
>
>                     On Tue, 28 Feb 2017 14:06:23 -0500
>                     Kimberly<[email protected]>
>                     <mailto:[email protected]>  wrote:
>
>                         Another domain on the system is no longer working as well; now going
>                         to the default website on the server.  This mess started when I tried
>                         to change the domain name associated with a sub virtual server which
>                         had the expired certificate with it.  I changed the domain name
>                         associated with that sub virtual server back, and then created a new
>                         virtual server for the new domain name.
>                         Looking at the Apache httpd.conf shows no problem that I can see;
>                         although I am not an Apache person, I prefer working with Nginx.
>                         Any suggestion on fixing this mess or does it mean wiping the server
>                         and rebuilding it?
>
>                     see here:
>                     https://support.enclave365.net/2017/02/28/how-to-enable-ssl-for-a-virtualmin
>                     -virtual-server/
>
>                     Dave
>
>                             ------------------------------------------------------------------------------
>                             Check out the vibrant tech community on one of the world's most
>                             engaging tech sites, SlashDot.org!http://sdm.link/slashdot
>                             -
>                             Forwarded by the Webmin mailing list at
>                             [email protected]
>                             <mailto:[email protected]>  To remove yourself from this
>                             list, go to
>                             http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>                         ------------------------------------------------------------------------------
>                         Check out the vibrant tech community on one of the world's most
>                         engaging tech sites, SlashDot.org!http://sdm.link/slashdot
>                         -
>                         Forwarded by the Webmin mailing list at
>                         [email protected]
>                         <mailto:[email protected]>  To remove yourself from this
>                         list, go tohttp://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>                 ------------------------------------------------------------------------------
>                 Check out the vibrant tech community on one of the world's most
>                 engaging tech sites, SlashDot.org!http://sdm.link/slashdot
>                 -
>                 Forwarded by the Webmin mailing list [email protected]
>                 <mailto:[email protected]>
>                 To remove yourself from this list, go to
>                 http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>
>             -- 
>
>
>             ------------------------------------------------------------------------------
>             Check out the vibrant tech community on one of the world's most
>             engaging tech sites, SlashDot.org!http://sdm.link/slashdot
>
>
>
>             -
>             Forwarded by the Webmin mailing list [email protected]
>             <mailto:[email protected]>
>             To remove yourself from this list, go to
>             http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>
>
>
>
>         ------------------------------------------------------------------------------
>         Check out the vibrant tech community on one of the world's most
>         engaging tech sites, SlashDot.org!http://sdm.link/slashdot
>
>
>
>         -
>         Forwarded by the Webmin mailing list [email protected]
>         <mailto:[email protected]>
>         To remove yourself from this list, go to
>         http://lists.sourceforge.net/lists/listinfo/webadmin-list
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
> -
> Forwarded by the Webmin mailing list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-list

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.