Re: [webmin-l] Issue with Aliased Domains
John Hinton <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
That seemed to work... well it worked when turning on SSL in Features and Plugins. One server down! :) The monster awaits me. Thanks Jamie! Good to know you know and this is a temp issue. I see that it did add: AddType application/x-httpd-php .php AddType application/x-httpd-php5 .php5 to the VirtualHost entries for those aliased domains, but that was all. No entry for the new 'domains' directory... only those 2 lines. I bet you already know this though. And it did add the /etc/php5/php.ini files to those newly created directories under domains. I expected that. Thanks! John Hinton On 1/26/2017 8:02 PM, Jamie Cameron wrote: > > There is a bug in the current Virtualmin release that can cause this > if you have alias domains that don't have directories. > > The work-around is to create those missing directories > (/var/www/domain.com/domains/aliaseddomain.com in this case). > > On 26/Jan/2017 11:51 John Hinton <[email protected]> wrote .. > >> To be clear, this was the first thing that went wrong on the system >> where the vhost.conf was turned into scrambled eggs. >> >> On 1/26/2017 2:15 PM, John Hinton wrote: >>> Hi Jamie, >>> >>> So, on another system I just tried to turn on SSL in Virtualmin's >>> Features and Plugins. I got this message: >>> >>> >>> Failed to save enabled features : Failed to copy /etc/php.ini >>> to >>> /var/www/domain.com/domains/aliaseddomain.com/etc/php5/php.ini >>> : cp: cannot create regular file >>> `/var/www/domain.com/domains/aliaseddomain.com/etc/php5/php.ini': >>> No such file or directory >>> >>> So something seems to be wrong with it trying to find an aliased >>> domain under /domains and there isn't any directory there and I >>> don't think there should be a directory there. Never was before. >>> Yes, I changed the domain name to domain. >>> >>> John >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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] >>> 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