|
From: RYAN M. v. G. <lu...@co...> - 2006-03-31 00:12:53
|
----- Jamie Cameron <jca...@we...> wrote: > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > First of i am getting really close to making my life alot easier > through > > the uses of your great program. Hoping all the time i put in now > will > > save me time in the near future. > > > > When virtualmin adds a zone it always adds it to the > > /usr/local/etc/named.conf directory this does not work for me i need > it > > to be added to the /usr/local/etc/namedb/webmin/zones.file. I have > made > > the adjustment in the dns server module config by checking the Add > new > > zones to file and adding this to the dialog box > > /usr/local/etc/namedb/webmin/zones.file. > > So is Webmin/Virtualmin doing the right thing after you make this > change? NO the change does not seem to have any effect. It still adds this to the bottom of my /usr/local/etc/named.conf file instead of /usr/local/etc/namedb/webin/zones.file zone "test210.com" { type master; file "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; }; > > > When creating the apache site webmin seems to do a great job adding > the > > apache web directives to to new file > /usr/local/etc/apache/vhost.conf > > but adds the below. I would like to see *:80 rather than an ip > address > > also it seems to leave behind a bunch of these enteries when i > delete > > virtual servers. > > > > <VirtualHost 68.146.204.152:80> > > </VirtualHost> > > <VirtualHost 68.146.204.152:80> > > </VirtualHost> > > > > I have added these directives to the apache directive box is that > the > > best/only way seems alittle messy? can i use a template file or > something. > > Do you mean you added the actual <Virtualhost> lines to the template? > That > is not needed, as they are added automatically .. in fact, adding them > could > cause problems deleting. No or yes you are talking about the Edit Server Template page right? On the Edit Server Template page under the section Directive and settings for new websites sections. I have checked off the apache directives below button, and filled in the box with the following content. # ============ This the ${DOM} virtual host file ========== ServerName ${DOM} ServerAlias www.${DOM} DocumentRoot ${HOME}/public_html ErrorLog ${HOME}/logs/error_log CustomLog ${HOME}/logs/access_log common ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/ <Directory ${HOME}/public_html> Options Indexes IncludesNOEXEC FollowSymLinks allow from all </Directory> # SuexecUserGroup rmvg rmvg # <Directory /home/site.com/public_html/cgi > # Options +ExecCGI +Indexes # AddHandler cgi-script .cgi # </Directory> </VirtualHost> <VirtualHost *:80> ServerName mail.${DOM} ErrorLog ${HOME}/logs/error_log CustomLog ${HOME}/logs/access_log common Redirect permanent / http://www.canmail.org/ </VirtualHost> <VirtualHost *:80> ServerName logs.${DOM} DocumentRoot ${HOME}/public_html/stats ErrorLog ${HOME}/logs/error_log CustomLog ${HOME}/logs/access_log common THEREFORE YES I HAVE ADDED SEVERAL <VirtualHost *:80> ENTERIES BUT LET WEBMIN TAKE CARE OF THE TOP AND BOTTOM ONE. It took me some experementing but i got pretty much the output i want from webmin in vhost.conf file. However it use my ip address rather than a *:80 here is what webmin adds to the vhost.conf file. <VirtualHost 68.146.204.152:80> # ============ This the test209.com virtual host file ========== ServerName test209.com ServerAlias www.test209.com DocumentRoot /home/test209.com/public_html ErrorLog /home/test209.com/logs/error_log CustomLog /home/test209.com/logs/access_log common ScriptAlias /cgi-bin/ /home/test209.com/cgi-bin/ <Directory /home/test209.com/public_html> Options Indexes IncludesNOEXEC FollowSymLinks allow from all </Directory> # SuexecUserGroup rmvg rmvg # <Directory /home/site.com/public_html/cgi > # Options +ExecCGI +Indexes # AddHandler cgi-script .cgi # </Directory> </VirtualHost> <VirtualHost *:80> ServerName mail.test209.com ErrorLog /home/test209.com/logs/error_log CustomLog /home/test209.com/logs/access_log common Redirect permanent / http://www.canmail.org/ </VirtualHost> <VirtualHost *:80> ServerName logs.test209.com DocumentRoot /home/test209.com/public_html/stats ErrorLog /home/test209.com/logs/error_log CustomLog /home/test209.com/logs/access_log common </VirtualHost> I JUST DELETED THE ABOVE SITE AND IT LEFT THE VHOST.CONF FILE CLEAN THIER IS ONE PROBLEM SOLVED ITSELF THANKS WEBMIN. > > > Lastly when the zone file gets created it goes where is should and > > contains some of what it should. However when i add additionally > needed > > records to the dialog box for virtual servers it adds nothing to my > zone > > file. I tried adding zone info into the dns module but it only > allows > > room for two entries and the format of the template file is unclear > to > > me. > > You need to add extra records in the BIND zone file format to the > 'BIND DNS > records for new domains' field in the template, like > > foo IN A ${IP} > I added this line to the 'BIND DNS records for new domains' test IN A ${IP} Here is my newly created zone file the test A record has been added yaaaahah that works too. $ttl 38400 @ IN SOA computerking.ca. root.computerking.ca. ( 2006033000 10800 3600 604800 38400 ) @ IN NS computerking.ca. @ IN A 68.146.204.152 www IN A 68.146.204.152 ftp IN A 68.146.204.152 test IN A 68.146.204.152 > These will then be added to the zone file for a new domain, but only > when it is created. > > - Jamie > In conclusion All i really need solved is having webmin add the zone to the correct file and the * instead of the ipaddress issue in the vhost.conf file. Thanks in adavance Jamie > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |
|
From: RYAN M. v. G. <lu...@co...> - 2006-03-31 04:53:12
|
----- Jamie Cameron <jca...@we...> wrote: > On 30/Mar/2006 18:13 RYAN M. vAN GINNEKEN wrote .. > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > > > First of i am getting really close to making my life alot > easier > > > through > > > > the uses of your great program. Hoping all the time i put in > now > > > will > > > > save me time in the near future. > > > > > > > > When virtualmin adds a zone it always adds it to the > > > > /usr/local/etc/named.conf directory this does not work for me i > need > > > it > > > > to be added to the /usr/local/etc/namedb/webmin/zones.file. I > have > > > made > > > > the adjustment in the dns server module config by checking the > Add > > > new > > > > zones to file and adding this to the dialog box > > > > /usr/local/etc/namedb/webmin/zones.file. > > > > > > So is Webmin/Virtualmin doing the right thing after you make this > > > change? > > > > NO the change does not seem to have any effect. It still adds this > to > > the bottom of my /usr/local/etc/named.conf file instead of > /usr/local/etc/namedb/webin/zones.file > > > > > > zone "test210.com" { > > type master; > > file "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; > > }; > > That looks like a Virtualmin bug.. > I will fix it in the next release though. Really i found a bug lucky me do i win something? hmmmm a workaround for now is to copy and paste into the correct file. That sounds like to much messing around i want this whole thing to be automated that is the point of webmin right? My main problem with adding to the named.conf is that i use views and webmin does not seem to be able to add to the correct view.......................................................................................yep i tested it and might just be me but the 'Create new domains in view' setting does not seem to stick. It seemed to work once but now it is not i even tried restarting webmin. between this and the bug mentioned ealrier in this mail i am unsure how to make this work. Also where are the automatic zone records coming from i have turned them off for now and am just using the below for the template file will webmin still be able to update serial #'s and the like if it has not created the file? What about the slave server how do i add the correct zone entry to the named.conf on the remote slave server? ;========================================================== ; ${DOM} Webmin generated zone file ;========================================================== $TTL 3600 ${DOM}. IN SOA ns1.computerking.ca. root.computerking.ca. ( 2006030501 ; SERIAL 1200 ; SOA REFRESH 120 ; SOA RETRY 1209600 ; SOA EXPIRE 3600 ) ; SOA MINIMUM TTL ;---------------------------------------------------------- ; NAME SERVERS (the name @ is implied) ;---------------------------------------------------------- ${DOM}. IN NS ns1.computerking.ca. ${DOM}. IN NS ns2.computerking.ca. ;---------------------------------------------------------- ; MAIL EXCHANGERS ;---------------------------------------------------------- ${DOM}. IN MX 10 shoemasters.com. ${DOM}. IN MX 20 canmail.org. ${DOM}. IN MX 30 mail1.computerking.ca. ;---------------------------------------------------------- ; ADDRESSES FOR THE CANOCICAL NAMES ( A records) ;---------------------------------------------------------- ${DOM}. IN A 68.146.204.152 ${DOM}. IN A 68.144.188.169 www.${DOM}. IN A 68.146.204.152 www.${DOM}. IN A 68.144.188.169 logs.${DOM}. IN A 68.146.204.152 logs.${DOM}. IN A 68.144.188.169 ftp.${DOM}. IN A 68.146.204.152 ftp.${DOM}. IN A 68.144.188.169 mail.${DOM}. IN A 68.146.204.152 mail.${DOM}. IN A 68.146.204.152 extra.${DOM}. IN A 68.146.204.152 extra.${DOM}. IN A 68.144.188.169 > > > > > > > > When creating the apache site webmin seems to do a great job > adding > > > the > > > > apache web directives to to new file > > > /usr/local/etc/apache/vhost.conf > > > > but adds the below. I would like to see *:80 rather than an ip > > > address > > > > also it seems to leave behind a bunch of these enteries when i > > > delete > > > > virtual servers. > > > > > > > > <VirtualHost 68.146.204.152:80> > > > > </VirtualHost> > > > > <VirtualHost 68.146.204.152:80> > > > > </VirtualHost> > > > > > > > > I have added these directives to the apache directive box is > that > > > the > > > > best/only way seems alittle messy? can i use a template file or > > > something. > > > > > > Do you mean you added the actual <Virtualhost> lines to the > template? > > > That > > > is not needed, as they are added automatically .. in fact, adding > them > > > could > > > cause problems deleting. > > > > No or yes you are talking about the Edit Server Template page right? > On > > the Edit Server Template page under the section Directive and > settings > > for new websites sections. I have checked off the apache directives > below > > button, and filled in the box with the following content. > > > > # ============ This the ${DOM} virtual host file ========== > > > > ServerName ${DOM} > > ServerAlias www.${DOM} > > DocumentRoot ${HOME}/public_html > > ErrorLog ${HOME}/logs/error_log > > CustomLog ${HOME}/logs/access_log common > > ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/ > > <Directory ${HOME}/public_html> > > Options Indexes IncludesNOEXEC FollowSymLinks > > allow from all > > </Directory> > > > > # SuexecUserGroup rmvg rmvg > > # <Directory /home/site.com/public_html/cgi > > > # Options +ExecCGI +Indexes > > # AddHandler cgi-script .cgi > > # </Directory> > > > > </VirtualHost> > > > > <VirtualHost *:80> > > > > ServerName mail.${DOM} > > ErrorLog ${HOME}/logs/error_log > > CustomLog ${HOME}/logs/access_log common > > Redirect permanent / http://www.canmail.org/ > > > > </VirtualHost> > > > > <VirtualHost *:80> > > > > ServerName logs.${DOM} > > DocumentRoot ${HOME}/public_html/stats > > ErrorLog ${HOME}/logs/error_log > > CustomLog ${HOME}/logs/access_log common > > > > THEREFORE YES I HAVE ADDED SEVERAL <VirtualHost *:80> ENTERIES BUT > LET > > WEBMIN TAKE CARE OF THE TOP AND BOTTOM ONE. It took me some > experementing > > but i got pretty much the output i want from webmin in vhost.conf > file. > > However it use my ip address rather than a *:80 here is what webmin > adds > > to the vhost.conf file. > > > > <VirtualHost 68.146.204.152:80> > > # ============ This the test209.com virtual host file ========== > > > > ServerName test209.com > > ServerAlias www.test209.com > > DocumentRoot /home/test209.com/public_html > > ErrorLog /home/test209.com/logs/error_log > > CustomLog /home/test209.com/logs/access_log common > > ScriptAlias /cgi-bin/ /home/test209.com/cgi-bin/ > > <Directory /home/test209.com/public_html> > > Options Indexes IncludesNOEXEC FollowSymLinks > > allow from all > > </Directory> > > > > # SuexecUserGroup rmvg rmvg > > # <Directory /home/site.com/public_html/cgi > > > # Options +ExecCGI +Indexes > > # AddHandler cgi-script .cgi > > # </Directory> > > > > </VirtualHost> > > > > <VirtualHost *:80> > > > > ServerName mail.test209.com > > ErrorLog /home/test209.com/logs/error_log > > CustomLog /home/test209.com/logs/access_log common > > Redirect permanent / http://www.canmail.org/ > > > > </VirtualHost> > > > > <VirtualHost *:80> > > > > ServerName logs.test209.com > > DocumentRoot /home/test209.com/public_html/stats > > ErrorLog /home/test209.com/logs/error_log > > CustomLog /home/test209.com/logs/access_log common > > </VirtualHost> > > > > I JUST DELETED THE ABOVE SITE AND IT LEFT THE VHOST.CONF FILE CLEAN > THIER > > IS ONE PROBLEM SOLVED ITSELF THANKS WEBMIN. > > Ok, I can see why those extra virtual servers aren't being deleted - > putting > them into the template like that is kind of a hack! > Which Apache version do you run there? Whether or not it uses * or the > IP in > the <Virtualhost> depends on the Apache version .. > > - Jamie > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |
|
From: Jamie C. <jca...@we...> - 2006-03-31 07:25:22
|
On 30/Mar/2006 22:53 RYAN M. vAN GINNEKEN wrote .. > > ----- Jamie Cameron <jca...@we...> wrote: > > On 30/Mar/2006 18:13 RYAN M. vAN GINNEKEN wrote .. > > > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > > > > First of i am getting really close to making my life alot > > easier > > > > through > > > > > the uses of your great program. Hoping all the time i put in > > now > > > > will > > > > > save me time in the near future. > > > > > > > > > > When virtualmin adds a zone it always adds it to the > > > > > /usr/local/etc/named.conf directory this does not work for me i > > need > > > > it > > > > > to be added to the /usr/local/etc/namedb/webmin/zones.file. I > > have > > > > made > > > > > the adjustment in the dns server module config by checking the > > Add > > > > new > > > > > zones to file and adding this to the dialog box > > > > > /usr/local/etc/namedb/webmin/zones.file. > > > > > > > > So is Webmin/Virtualmin doing the right thing after you make this > > > > change? > > > > > > NO the change does not seem to have any effect. It still adds this > > to > > > the bottom of my /usr/local/etc/named.conf file instead of > > /usr/local/etc/namedb/webin/zones.file > > > > > > > > > zone "test210.com" { > > > type master; > > > file "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; > > > }; > > > > That looks like a Virtualmin bug.. > > I will fix it in the next release though. > > Really i found a bug lucky me do i win something? hmmmm a workaround for > now is to copy and paste into the correct file. That sounds like to much > messing around i want this whole thing to be automated that is the point > of webmin right? > > My main problem with adding to the named.conf is that i use views and webmin > does not seem to be able to add to the correct view.......................................................................................yep > i tested it and might just be me but the 'Create new domains in view' setting > does not seem to stick. It seemed to work once but now it is not i even > tried restarting webmin. That option is the one you want - if you want to create the zone in a view, you really need to set this to the name of the view, and then Virtualmin will add it to the appropriate file. Are you finding that this option cannot be set properly, or that it is totally ignored when creating a zone? - Jamie |
|
From: RYAN M. v. G. <lu...@co...> - 2006-03-31 07:42:46
|
----- Jamie Cameron <jca...@we...> wrote: > On 30/Mar/2006 22:53 RYAN M. vAN GINNEKEN wrote .. > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > On 30/Mar/2006 18:13 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > > > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > > > > > First of i am getting really close to making my life alot > > > easier > > > > > through > > > > > > the uses of your great program. Hoping all the time i put > in > > > now > > > > > will > > > > > > save me time in the near future. > > > > > > > > > > > > When virtualmin adds a zone it always adds it to the > > > > > > /usr/local/etc/named.conf directory this does not work for > me i > > > need > > > > > it > > > > > > to be added to the /usr/local/etc/namedb/webmin/zones.file. > I > > > have > > > > > made > > > > > > the adjustment in the dns server module config by checking > the > > > Add > > > > > new > > > > > > zones to file and adding this to the dialog box > > > > > > /usr/local/etc/namedb/webmin/zones.file. > > > > > > > > > > So is Webmin/Virtualmin doing the right thing after you make > this > > > > > change? > > > > > > > > NO the change does not seem to have any effect. It still adds > this > > > to > > > > the bottom of my /usr/local/etc/named.conf file instead of > > > /usr/local/etc/namedb/webin/zones.file > > > > > > > > > > > > zone "test210.com" { > > > > type master; > > > > file > "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; > > > > }; > > > > > > That looks like a Virtualmin bug.. > > > I will fix it in the next release though. > > > > Really i found a bug lucky me do i win something? hmmmm a workaround > for > > now is to copy and paste into the correct file. That sounds like to > much > > messing around i want this whole thing to be automated that is the > point > > of webmin right? > > > > My main problem with adding to the named.conf is that i use views > and webmin > > does not seem to be able to add to the correct > view.......................................................................................yep > > i tested it and might just be me but the 'Create new domains in > view' setting > > does not seem to stick. It seemed to work once but now it is not i > even > > tried restarting webmin. > > That option is the one you want - if you want to create the zone in a > view, > you really need to set this to the name of the view, and then > Virtualmin will add > it to the appropriate file. > > Are you finding that this option cannot be set properly, or that it is > totally > ignored when creating a zone? > Yes this option is not being applied properly everytime i set it and click save it reverts back to the top of zone setting. Somehow i got it to work once not sure why but it will not work anymore. > - Jamie > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |
|
From: Jamie C. <jca...@we...> - 2006-03-31 07:52:13
|
On 31/Mar/2006 01:42 RYAN M. vAN GINNEKEN wrote .. > > ----- Jamie Cameron <jca...@we...> wrote: > > On 30/Mar/2006 22:53 RYAN M. vAN GINNEKEN wrote .. > > > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > > On 30/Mar/2006 18:13 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > > > > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > > > > > > First of i am getting really close to making my life alot > > > > easier > > > > > > through > > > > > > > the uses of your great program. Hoping all the time i put > > in > > > > now > > > > > > will > > > > > > > save me time in the near future. > > > > > > > > > > > > > > When virtualmin adds a zone it always adds it to the > > > > > > > /usr/local/etc/named.conf directory this does not work for > > me i > > > > need > > > > > > it > > > > > > > to be added to the /usr/local/etc/namedb/webmin/zones.file. > > I > > > > have > > > > > > made > > > > > > > the adjustment in the dns server module config by checking > > the > > > > Add > > > > > > new > > > > > > > zones to file and adding this to the dialog box > > > > > > > /usr/local/etc/namedb/webmin/zones.file. > > > > > > > > > > > > So is Webmin/Virtualmin doing the right thing after you make > > this > > > > > > change? > > > > > > > > > > NO the change does not seem to have any effect. It still adds > > this > > > > to > > > > > the bottom of my /usr/local/etc/named.conf file instead of > > > > /usr/local/etc/namedb/webin/zones.file > > > > > > > > > > > > > > > zone "test210.com" { > > > > > type master; > > > > > file > > "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; > > > > > }; > > > > > > > > That looks like a Virtualmin bug.. > > > > I will fix it in the next release though. > > > > > > Really i found a bug lucky me do i win something? hmmmm a workaround > > for > > > now is to copy and paste into the correct file. That sounds like to > > much > > > messing around i want this whole thing to be automated that is the > > point > > > of webmin right? > > > > > > My main problem with adding to the named.conf is that i use views > > and webmin > > > does not seem to be able to add to the correct > > view.......................................................................................yep > > > i tested it and might just be me but the 'Create new domains in > > view' setting > > > does not seem to stick. It seemed to work once but now it is not i > > even > > > tried restarting webmin. > > > > That option is the one you want - if you want to create the zone in a > > view, > > you really need to set this to the name of the view, and then > > Virtualmin will add > > it to the appropriate file. > > > > Are you finding that this option cannot be set properly, or that it is > > totally > > ignored when creating a zone? > > > Yes this option is not being applied properly everytime i set it and click > save it reverts back to the top of zone setting. Somehow i got it to work > once not sure why but it will not work anymore. I just tested this, and on my system I was able to select a view from the menu and save it with no problems (in the default template). Are your existing views actually appearing in the list? - Jamie |
|
From: RYAN M. v. G. <lu...@co...> - 2006-04-02 05:13:38
|
> I just tested this, and on my system I was able to select a view from > the menu > and save it with no problems (in the default template). Are your > existing views > actually appearing in the list? > > - Jamie I have been using a new template that i created, However i get this when i try to change the default template. Failed to save server template : Cannot write to directory |
|
From: Jamie C. <jca...@we...> - 2006-04-02 06:44:01
|
On 1/Apr/2006 23:13 RYAN M. vAN GINNEKEN wrote .. > > > I just tested this, and on my system I was able to select a view from > > the menu > > and save it with no problems (in the default template). Are your > > existing views > > actually appearing in the list? > > > > - Jamie > > I have been using a new template that i created, However i get this when > i try to change the default template. > > Failed to save server template : Cannot write to directory Hmm, I can't see where that could be coming from! Did you install Virtualmin from www.webmin.com , or from some other source, such as the Debian package? - Jamie |
|
From: RYAN M. v. G. <lu...@co...> - 2006-04-02 09:09:22
|
----- Jamie Cameron <jca...@we...> wrote: > On 1/Apr/2006 23:13 RYAN M. vAN GINNEKEN wrote .. > > > > > I just tested this, and on my system I was able to select a view > from > > > the menu > > > and save it with no problems (in the default template). Are your > > > existing views > > > actually appearing in the list? > > > > > > - Jamie > > > > I have been using a new template that i created, However i get this > when > > i try to change the default template. > > > > Failed to save server template : Cannot write to directory > > Hmm, I can't see where that could be coming from! > Did you install Virtualmin from www.webmin.com , or from some other > source, such > as the Debian package? > > - Jamie > > ----- Jamie Cameron <jca...@we...> wrote: > On 1/Apr/2006 23:13 RYAN M. vAN GINNEKEN wrote .. > > > > > I just tested this, and on my system I was able to select a view > from > > > the menu > > > and save it with no problems (in the default template). Are your > > > existing views > > > actually appearing in the list? > > > > > > - Jamie > > > > I have been using a new template that i created, However i get this > when > > i try to change the default template. > > > > Failed to save server template : Cannot write to directory > > Hmm, I can't see where that could be coming from! > Did you install Virtualmin from www.webmin.com , or from some other > source, such > as the Debian package? > > - Jamie I use FreeBSD religously, and installed it from the ports system. I have recently had to use some linux distros "fedora" and there yum stuff is miles behind IMO freebsd is the greatest. Pretty sure that the default page used to work ok as i made some changes to it in the recent past. Wounder if this has to do with my other external view settings not sticking the do seem very related. your not going to believe this (I dont) but i just tried again, and the default template saved fine. WTF Including the external zone setting and copying the /etc/skel that i started another post about. Not sure if i should be angry or happy spent alot of time trying to figure that out and now it just works. there was some gobbly gok in my the email template field not sure what it is all about something got scrambled somewhere > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton ----- Jamie Cameron <jca...@we...> wrote: > On 1/Apr/2006 23:13 RYAN M. vAN GINNEKEN wrote .. > > > > > I just tested this, and on my system I was able to select a view > from > > > the menu > > > and save it with no problems (in the default template). Are your > > > existing views > > > actually appearing in the list? > > > > > > - Jamie > > > > I have been using a new template that i created, However i get this > when > > i try to change the default template. > > > > Failed to save server template : Cannot write to directory > > Hmm, I can't see where that could be coming from! > Did you install Virtualmin from www.webmin.com , or from some other > source, such > as the Debian package? > > - Jamie > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |
|
From: Jamie C. <jca...@we...> - 2006-03-31 01:41:14
|
On 30/Mar/2006 18:13 RYAN M. vAN GINNEKEN wrote .. > > ----- Jamie Cameron <jca...@we...> wrote: > > On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote .. > > > First of i am getting really close to making my life alot easier > > through > > > the uses of your great program. Hoping all the time i put in now > > will > > > save me time in the near future. > > > > > > When virtualmin adds a zone it always adds it to the > > > /usr/local/etc/named.conf directory this does not work for me i need > > it > > > to be added to the /usr/local/etc/namedb/webmin/zones.file. I have > > made > > > the adjustment in the dns server module config by checking the Add > > new > > > zones to file and adding this to the dialog box > > > /usr/local/etc/namedb/webmin/zones.file. > > > > So is Webmin/Virtualmin doing the right thing after you make this > > change? > > NO the change does not seem to have any effect. It still adds this to > the bottom of my /usr/local/etc/named.conf file instead of /usr/local/etc/namedb/webin/zones.file > > > zone "test210.com" { > type master; > file "/usr/local/etc/namedb/webmin/pz/test210.com.hosts"; > }; That looks like a Virtualmin bug.. I will fix it in the next release though. > > > > > When creating the apache site webmin seems to do a great job adding > > the > > > apache web directives to to new file > > /usr/local/etc/apache/vhost.conf > > > but adds the below. I would like to see *:80 rather than an ip > > address > > > also it seems to leave behind a bunch of these enteries when i > > delete > > > virtual servers. > > > > > > <VirtualHost 68.146.204.152:80> > > > </VirtualHost> > > > <VirtualHost 68.146.204.152:80> > > > </VirtualHost> > > > > > > I have added these directives to the apache directive box is that > > the > > > best/only way seems alittle messy? can i use a template file or > > something. > > > > Do you mean you added the actual <Virtualhost> lines to the template? > > That > > is not needed, as they are added automatically .. in fact, adding them > > could > > cause problems deleting. > > No or yes you are talking about the Edit Server Template page right? On > the Edit Server Template page under the section Directive and settings > for new websites sections. I have checked off the apache directives below > button, and filled in the box with the following content. > > # ============ This the ${DOM} virtual host file ========== > > ServerName ${DOM} > ServerAlias www.${DOM} > DocumentRoot ${HOME}/public_html > ErrorLog ${HOME}/logs/error_log > CustomLog ${HOME}/logs/access_log common > ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/ > <Directory ${HOME}/public_html> > Options Indexes IncludesNOEXEC FollowSymLinks > allow from all > </Directory> > > # SuexecUserGroup rmvg rmvg > # <Directory /home/site.com/public_html/cgi > > # Options +ExecCGI +Indexes > # AddHandler cgi-script .cgi > # </Directory> > > </VirtualHost> > > <VirtualHost *:80> > > ServerName mail.${DOM} > ErrorLog ${HOME}/logs/error_log > CustomLog ${HOME}/logs/access_log common > Redirect permanent / http://www.canmail.org/ > > </VirtualHost> > > <VirtualHost *:80> > > ServerName logs.${DOM} > DocumentRoot ${HOME}/public_html/stats > ErrorLog ${HOME}/logs/error_log > CustomLog ${HOME}/logs/access_log common > > THEREFORE YES I HAVE ADDED SEVERAL <VirtualHost *:80> ENTERIES BUT LET > WEBMIN TAKE CARE OF THE TOP AND BOTTOM ONE. It took me some experementing > but i got pretty much the output i want from webmin in vhost.conf file. > However it use my ip address rather than a *:80 here is what webmin adds > to the vhost.conf file. > > <VirtualHost 68.146.204.152:80> > # ============ This the test209.com virtual host file ========== > > ServerName test209.com > ServerAlias www.test209.com > DocumentRoot /home/test209.com/public_html > ErrorLog /home/test209.com/logs/error_log > CustomLog /home/test209.com/logs/access_log common > ScriptAlias /cgi-bin/ /home/test209.com/cgi-bin/ > <Directory /home/test209.com/public_html> > Options Indexes IncludesNOEXEC FollowSymLinks > allow from all > </Directory> > > # SuexecUserGroup rmvg rmvg > # <Directory /home/site.com/public_html/cgi > > # Options +ExecCGI +Indexes > # AddHandler cgi-script .cgi > # </Directory> > > </VirtualHost> > > <VirtualHost *:80> > > ServerName mail.test209.com > ErrorLog /home/test209.com/logs/error_log > CustomLog /home/test209.com/logs/access_log common > Redirect permanent / http://www.canmail.org/ > > </VirtualHost> > > <VirtualHost *:80> > > ServerName logs.test209.com > DocumentRoot /home/test209.com/public_html/stats > ErrorLog /home/test209.com/logs/error_log > CustomLog /home/test209.com/logs/access_log common > </VirtualHost> > > I JUST DELETED THE ABOVE SITE AND IT LEFT THE VHOST.CONF FILE CLEAN THIER > IS ONE PROBLEM SOLVED ITSELF THANKS WEBMIN. Ok, I can see why those extra virtual servers aren't being deleted - putting them into the template like that is kind of a hack! Which Apache version do you run there? Whether or not it uses * or the IP in the <Virtualhost> depends on the Apache version .. - Jamie |