From: John G. <gr...@ag...> - 2008-03-10 18:10:33
|
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 |