From: Jamie C. <jca...@we...> - 2008-03-11 18:41:49
|
Those options don't really matter for alias domains though - in the default mode (which you are using), aliases are implemented by adding a ServerAlias entry to the target domain's <virtualhost> block. This is done starting at line 41 in feature-web.pl . Also, I re-checked this on my test system, and it worked fine.. - Jamie On 11/Mar/2008 07:21 John Gray wrote .. > I think the real issue here is this: In Apache Webmin Config, there's a > config option: > > "File or directory to add virtual servers to:" > With options of: > httpd.conf > or a user supplied value. > > We have the user supplied option. It does add them there. But it won't > maintain them there. Try making some directory, set this option to > point to it. Add a server. You'll see it in the directory. Now try > deleting and otherwise modify it. Nothing. > > John > > John Gray wrote: > > Yes, that's how its set. > > > > John > > > > Jamie Cameron wrote: > > > >> On the page System Settings -> Server templates -> Default settings -> > >> Apache website, is 'Create alias websites by' set to 'Add serveralias > >> to parent' ? > >> > >> - Jamie > >> > >> On 10/Mar/2008 11:10 John Gray wrote .. > >> > >> > >>> Here's a little more info, looks like setup_web calls get_website_file > >>> which use virt_file config var. There are routines for locking that > >>> call get_website_file too. But nobody else calls get_website_file. > >>> And I believe get_website_file has the proper logic. > >>> > >>> The delete_web calls get_apache_virtual, which doesn't appear to arrive > >>> at the location of the virtual host file that same way. > >>> get_apache_virtual calls get_config_file (in the apache module) which > >>> doesn't use virt_file at all. It seems to go directly to sties-enabled. > >>> > >>> The same goes for most of the others (maybe all of the others). > >>> > >>> John > >>> > >>> John Gray wrote: > >>> > >>> > >>>> The behavior is consistent for a given operation. It seems like its > >>>> using virt_file for some things, and httpd_dir for other things. > >>>> > >>>> virt_file is really a directory which has all the virtual host stanza > >>>> files. That's where I'd like it to be looking for any of virtual host > >>>> operations. > >>>> > >>>> John > >>>> > >>>> Jamie Cameron wrote: > >>>> > >>>> > >>>> > >>>>> On 10/Mar/2008 07:43 Bill Moyers wrote .. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> Hi, we have a minor problem with virtualmin which just requires occasional > >>>>>> hand intervention. For some reason when we create virtual server aliases, > >>>>>> the ServerAlias line in apache's vhosts/<parentdomain>.conf is not updated > >>>>>> with the new alias. When a domain is created it does create the .conf > >>>>>> file, and it seems from tracing through the code that it's just not > >>>>>> looking there when it creates an alias, I'm not sure if maybe it's looking > >>>>>> in apache's httpd.conf. I don't know if this is some idiosyncracy of our > >>>>>> setup, if so sorry to bother you. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> I've haven't seen that one before - does this happen all the time, > >>>>> or just occasionally? > >>>>> > >>>>> - Jamie > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> -- > >>> John Gray gr...@ag... > >>> AgoraNet, Inc. (302) 224-2475 > >>> 314 E. Main Street, Suite 1 (302) 224-2552 (fax) > >>> Newark, De 19711 http://www.agora-net.com > >>> > >>> > >>> ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> - > >>> Forwarded by the Webmin development list at web...@we... > >>> To remove yourself from this list, go to > >>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel > >>> > >>> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2008. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> - > >> Forwarded by the Webmin development list at web...@we... > >> To remove yourself from this list, go to > >> http://lists.sourceforge.net/lists/listinfo/webadmin-devel > >> > >> > >> > > > > > > > > > -- > John Gray gr...@ag... > AgoraNet, Inc. (302) 224-2475 > 314 E. Main Street, Suite 1 (302) 224-2552 (fax) > Newark, De 19711 http://www.agora-net.com > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel |