You can subscribe to this list here.
2001 |
Jan
(13) |
Feb
(24) |
Mar
(23) |
Apr
(11) |
May
(18) |
Jun
(90) |
Jul
(29) |
Aug
(26) |
Sep
(37) |
Oct
(10) |
Nov
(31) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(45) |
Feb
(18) |
Mar
(12) |
Apr
(7) |
May
(10) |
Jun
(62) |
Jul
(8) |
Aug
(40) |
Sep
(41) |
Oct
(43) |
Nov
(29) |
Dec
(36) |
2003 |
Jan
(25) |
Feb
(9) |
Mar
(11) |
Apr
(13) |
May
(19) |
Jun
(19) |
Jul
(11) |
Aug
(4) |
Sep
(109) |
Oct
(73) |
Nov
(69) |
Dec
(21) |
2004 |
Jan
(21) |
Feb
(33) |
Mar
(31) |
Apr
(25) |
May
(33) |
Jun
(42) |
Jul
(47) |
Aug
(12) |
Sep
(41) |
Oct
(47) |
Nov
(30) |
Dec
(19) |
2005 |
Jan
(6) |
Feb
(23) |
Mar
(21) |
Apr
(26) |
May
(21) |
Jun
(16) |
Jul
(17) |
Aug
(7) |
Sep
(8) |
Oct
(13) |
Nov
(7) |
Dec
(10) |
2006 |
Jan
(10) |
Feb
(3) |
Mar
|
Apr
(2) |
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
2007 |
Jan
(2) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(6) |
Jul
(6) |
Aug
(8) |
Sep
(3) |
Oct
(21) |
Nov
(4) |
Dec
(6) |
2008 |
Jan
(11) |
Feb
(28) |
Mar
(26) |
Apr
(9) |
May
(2) |
Jun
(10) |
Jul
(1) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(4) |
Feb
(10) |
Mar
(1) |
Apr
(24) |
May
(22) |
Jun
(18) |
Jul
(15) |
Aug
(21) |
Sep
(4) |
Oct
(7) |
Nov
(6) |
Dec
|
2010 |
Jan
|
Feb
(2) |
Mar
(13) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
|
2011 |
Jan
(18) |
Feb
(2) |
Mar
(23) |
Apr
(4) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
|
Nov
(5) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(31) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(6) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(7) |
2014 |
Jan
|
Feb
(1) |
Mar
(9) |
Apr
(4) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Paul G. <pa...@ge...> - 2010-03-12 06:00:30
|
Hi folks, I have a DHCP server that i manage through Webmin, and i'd like to bulk-add entries to a particular subnet. Is there a way to access this from a bash script? Thanks, Paul |
From: Jamie C. <jca...@we...> - 2010-03-03 18:13:16
|
Cool, looks good to me! On 03/Mar/2010 00:19 Chris Wik <ch...@an...> wrote .. > I ended up setting a flag if something is changed. Here's the final > version that seems to be working great so far: > > > sub update_apache_vhosts { > my ($site) = @_; > my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; > > my @servernames = split(/\0/, $site->{'servername'}); > > foreign_require("apache"); > $conf = apache::get_config(); > @vhosts = apache::find_directive_struct("VirtualHost", $conf); > foreach $v (@vhosts) { > $sn = apache::find_directive("ServerName", $v->{'members'}); > @includes = apache::find_directive("Include", $v->{'members'}); > my($changed,$match1,$match2) = 0; > foreach $inc(@includes) { > if($inc eq $conf_path) { $match1 = 1; } > } > foreach $servername(@servernames) { > if($servername eq $sn) { $match2 = 1; } > } > # If Include is not present, but servernames match > if($match1 == 0 && $match2 == 1) { > push(@includes, $conf_path); > $changed = 1; > > # If include is present, but no match on servername > } elsif($match1 == 1 && $match2 == 0) { > delete $includes[$inc]; > $changed = 1; > } > apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > if($changed) { flush_file_lines($v->{'file'}); } > } > } > > > On 03.03.10 01:37, Pitchumani Guruswamy wrote: > > Does forcing the loading of the file through file open help? > > > > > > > > ======== > > > > From: Chris Wik <ch...@an... <mailto:ch...@an...>> > > Subject: Re: [webmin-devel] Integrate with Apache module? > > To: Webmin development list <web...@li... > > <mailto:web...@li...>> > > Message-ID: <4B8...@an... <mailto:4B8...@an...>> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > On 02.03.10 22:03, Jamie Cameron wrote: > >> Yes, absolutely - you can use code like this : > >> > >> foreign_require("apache"); > >> $conf = apache::get_config(); > >> @vhosts = apache::find_directive_struct("VirtualHost", $conf); > >> foreach $v (@vhosts) { > >> $sn = apache::find_directive("ServerName", $v->{'members'}); > >> if ($sn eq "whatever.com <http://whatever.com/>") { > >> @includes = apache::find_directive("Include", $v->{'members'}); > >> push(@includes, "/path/to/file.lasso"); > >> apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > >> flush_file_lines($v->{'file'}); > >> } > >> } > > > > I'm stuck, hopefully something stupid you can easily spot.. > > > > I'm getting 'Failed to save Site : flush_file_lines called on non-loaded > > file /etc/httpd/conf.d/ssl.conf' when running: > > > > > > sub update_apache_vhosts { > > my ($site) = @_; > > my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; > > > > # servernames from ui_select (multiple) on edit form > > my @servernames = split(/\0/, $site->{'servername'}); > > > > foreach $servername(@servernames) { > > foreign_require("apache"); > > $conf = apache::get_config(); > > @vhosts = apache::find_directive_struct("VirtualHost", > > $conf); > > foreach $v (@vhosts) { > > $sn = apache::find_directive("ServerName", > > $v->{'members'}); > > @includes = apache::find_directive("Include", > > $v->{'members'}); > > if ($sn eq $servername) { > > push(@includes, $conf_path); > > } else { > > delete $includes[$conf_path]; > > } > > apache::save_directive("Include", \@includes, > > $v->{'members'}, $conf); > > flush_file_lines($v->{'file'}); > > } > > } > > } > > > > Any ideas? > > > > Thanks > > -- > Chris Wik > Anu Internet Services Ltd > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > - > 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 |
From: Chris W. <ch...@an...> - 2010-03-03 08:20:15
|
I ended up setting a flag if something is changed. Here's the final version that seems to be working great so far: sub update_apache_vhosts { my ($site) = @_; my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; my @servernames = split(/\0/, $site->{'servername'}); foreign_require("apache"); $conf = apache::get_config(); @vhosts = apache::find_directive_struct("VirtualHost", $conf); foreach $v (@vhosts) { $sn = apache::find_directive("ServerName", $v->{'members'}); @includes = apache::find_directive("Include", $v->{'members'}); my($changed,$match1,$match2) = 0; foreach $inc(@includes) { if($inc eq $conf_path) { $match1 = 1; } } foreach $servername(@servernames) { if($servername eq $sn) { $match2 = 1; } } # If Include is not present, but servernames match if($match1 == 0 && $match2 == 1) { push(@includes, $conf_path); $changed = 1; # If include is present, but no match on servername } elsif($match1 == 1 && $match2 == 0) { delete $includes[$inc]; $changed = 1; } apache::save_directive("Include", \@includes, $v->{'members'}, $conf); if($changed) { flush_file_lines($v->{'file'}); } } } On 03.03.10 01:37, Pitchumani Guruswamy wrote: > Does forcing the loading of the file through file open help? > > > > ======== > > From: Chris Wik <ch...@an... <mailto:ch...@an...>> > Subject: Re: [webmin-devel] Integrate with Apache module? > To: Webmin development list <web...@li... > <mailto:web...@li...>> > Message-ID: <4B8...@an... <mailto:4B8...@an...>> > Content-Type: text/plain; charset=ISO-8859-1 > > On 02.03.10 22:03, Jamie Cameron wrote: >> Yes, absolutely - you can use code like this : >> >> foreign_require("apache"); >> $conf = apache::get_config(); >> @vhosts = apache::find_directive_struct("VirtualHost", $conf); >> foreach $v (@vhosts) { >> $sn = apache::find_directive("ServerName", $v->{'members'}); >> if ($sn eq "whatever.com <http://whatever.com/>") { >> @includes = apache::find_directive("Include", $v->{'members'}); >> push(@includes, "/path/to/file.lasso"); >> apache::save_directive("Include", \@includes, $v->{'members'}, $conf); >> flush_file_lines($v->{'file'}); >> } >> } > > I'm stuck, hopefully something stupid you can easily spot.. > > I'm getting 'Failed to save Site : flush_file_lines called on non-loaded > file /etc/httpd/conf.d/ssl.conf' when running: > > > sub update_apache_vhosts { > my ($site) = @_; > my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; > > # servernames from ui_select (multiple) on edit form > my @servernames = split(/\0/, $site->{'servername'}); > > foreach $servername(@servernames) { > foreign_require("apache"); > $conf = apache::get_config(); > @vhosts = apache::find_directive_struct("VirtualHost", > $conf); > foreach $v (@vhosts) { > $sn = apache::find_directive("ServerName", > $v->{'members'}); > @includes = apache::find_directive("Include", > $v->{'members'}); > if ($sn eq $servername) { > push(@includes, $conf_path); > } else { > delete $includes[$conf_path]; > } > apache::save_directive("Include", \@includes, > $v->{'members'}, $conf); > flush_file_lines($v->{'file'}); > } > } > } > > Any ideas? > > Thanks -- Chris Wik Anu Internet Services Ltd |
From: Chris W. <ch...@an...> - 2010-03-03 00:16:11
|
On 03.03.10 01:09, Jamie Cameron wrote: > You don't want to call flush_file_lines unless you have actually added to or removed > something from the @includes list. Ah, OK, that makes sense. Thanks. -- Chris Wik Anu Internet Services Ltd |
From: Jamie C. <jca...@we...> - 2010-03-03 00:09:36
|
On 02/Mar/2010 16:04 Chris Wik <ch...@an...> wrote .. > On 02.03.10 22:03, Jamie Cameron wrote: > > Yes, absolutely - you can use code like this : > > > > foreign_require("apache"); > > $conf = apache::get_config(); > > @vhosts = apache::find_directive_struct("VirtualHost", $conf); > > foreach $v (@vhosts) { > > $sn = apache::find_directive("ServerName", $v->{'members'}); > > if ($sn eq "whatever.com") { > > @includes = apache::find_directive("Include", $v->{'members'}); > > push(@includes, "/path/to/file.lasso"); > > apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > > flush_file_lines($v->{'file'}); > > } > > } > > I'm stuck, hopefully something stupid you can easily spot.. > > I'm getting 'Failed to save Site : flush_file_lines called on non-loaded > file /etc/httpd/conf.d/ssl.conf' when running: > > > sub update_apache_vhosts { > my ($site) = @_; > my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; > > # servernames from ui_select (multiple) on edit form > my @servernames = split(/\0/, $site->{'servername'}); > > foreach $servername(@servernames) { > foreign_require("apache"); > $conf = apache::get_config(); > @vhosts = apache::find_directive_struct("VirtualHost", $conf); > foreach $v (@vhosts) { > $sn = apache::find_directive("ServerName", $v->{'members'}); > @includes = apache::find_directive("Include", $v->{'members'}); > if ($sn eq $servername) { > push(@includes, $conf_path); > } else { > delete $includes[$conf_path]; > } > apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > flush_file_lines($v->{'file'}); > } > } > } > > Any ideas? You don't want to call flush_file_lines unless you have actually added to or removed something from the @includes list. - Jamie |
From: Chris W. <ch...@an...> - 2010-03-03 00:04:34
|
On 02.03.10 22:03, Jamie Cameron wrote: > Yes, absolutely - you can use code like this : > > foreign_require("apache"); > $conf = apache::get_config(); > @vhosts = apache::find_directive_struct("VirtualHost", $conf); > foreach $v (@vhosts) { > $sn = apache::find_directive("ServerName", $v->{'members'}); > if ($sn eq "whatever.com") { > @includes = apache::find_directive("Include", $v->{'members'}); > push(@includes, "/path/to/file.lasso"); > apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > flush_file_lines($v->{'file'}); > } > } I'm stuck, hopefully something stupid you can easily spot.. I'm getting 'Failed to save Site : flush_file_lines called on non-loaded file /etc/httpd/conf.d/ssl.conf' when running: sub update_apache_vhosts { my ($site) = @_; my $conf_path = $site->{'directory'} . '/lasso/fastcgi.conf'; # servernames from ui_select (multiple) on edit form my @servernames = split(/\0/, $site->{'servername'}); foreach $servername(@servernames) { foreign_require("apache"); $conf = apache::get_config(); @vhosts = apache::find_directive_struct("VirtualHost", $conf); foreach $v (@vhosts) { $sn = apache::find_directive("ServerName", $v->{'members'}); @includes = apache::find_directive("Include", $v->{'members'}); if ($sn eq $servername) { push(@includes, $conf_path); } else { delete $includes[$conf_path]; } apache::save_directive("Include", \@includes, $v->{'members'}, $conf); flush_file_lines($v->{'file'}); } } } Any ideas? Thanks -- Chris Wik Anu Internet Services Ltd |
From: Chris W. <ch...@an...> - 2010-03-02 22:06:11
|
Thanks for the quick response. Already got a select-list displayed with a list of the defined virtual hosts. It's easy when you know how! Chris On 02.03.10 22:03, Jamie Cameron wrote: > On 02/Mar/2010 11:35 Chris Wik <ch...@an...> wrote .. >> I've written a module for managing multiple installations of Lasso >> Server 9 (www.lassosoft.com) >> >> Lasso Server integrates with Apache via FastCGI >> >> I would like my module to be able to insert an Include directive into a >> selected virtual host in order to allow that virtual host to hand off >> requests for .lasso files to an instance of Lasso Server >> >> Is there an easy way to do this by utilising the existing functions in >> the Apache module? Or would I have to write my own code to parse the >> virtual host entry and insert the directive? > > Yes, absolutely - you can use code like this : > > foreign_require("apache"); > $conf = apache::get_config(); > @vhosts = apache::find_directive_struct("VirtualHost", $conf); > foreach $v (@vhosts) { > $sn = apache::find_directive("ServerName", $v->{'members'}); > if ($sn eq "whatever.com") { > @includes = apache::find_directive("Include", $v->{'members'}); > push(@includes, "/path/to/file.lasso"); > apache::save_directive("Include", \@includes, $v->{'members'}, $conf); > flush_file_lines($v->{'file'}); > } > } > > - Jamie -- Chris Wik Anu Internet Services Ltd |
From: Jamie C. <jca...@we...> - 2010-03-02 21:29:41
|
On 02/Mar/2010 11:35 Chris Wik <ch...@an...> wrote .. > I've written a module for managing multiple installations of Lasso > Server 9 (www.lassosoft.com) > > Lasso Server integrates with Apache via FastCGI > > I would like my module to be able to insert an Include directive into a > selected virtual host in order to allow that virtual host to hand off > requests for .lasso files to an instance of Lasso Server > > Is there an easy way to do this by utilising the existing functions in > the Apache module? Or would I have to write my own code to parse the > virtual host entry and insert the directive? Yes, absolutely - you can use code like this : foreign_require("apache"); $conf = apache::get_config(); @vhosts = apache::find_directive_struct("VirtualHost", $conf); foreach $v (@vhosts) { $sn = apache::find_directive("ServerName", $v->{'members'}); if ($sn eq "whatever.com") { @includes = apache::find_directive("Include", $v->{'members'}); push(@includes, "/path/to/file.lasso"); apache::save_directive("Include", \@includes, $v->{'members'}, $conf); flush_file_lines($v->{'file'}); } } - Jamie |
From: Chris W. <ch...@an...> - 2010-03-02 19:35:08
|
I've written a module for managing multiple installations of Lasso Server 9 (www.lassosoft.com) Lasso Server integrates with Apache via FastCGI I would like my module to be able to insert an Include directive into a selected virtual host in order to allow that virtual host to hand off requests for .lasso files to an instance of Lasso Server Is there an easy way to do this by utilising the existing functions in the Apache module? Or would I have to write my own code to parse the virtual host entry and insert the directive? Chris -- Chris Wik Anu Internet Services Ltd |
From: Jamie C. <jca...@we...> - 2010-02-19 16:28:27
|
On 19/Feb/2010 03:16 Antonio Gallo <ga...@mc...> wrote .. > Is there a way to have webmin running in both SSL and normal mode? > Even using the "stunnel" method described into the docs the normal mode > will no longer work. There's no built-in way to do this in Webmin yet, but you could run in non-SSL mode on port 10000 and then setup stunnel to accept encrypted connections on port 10001 and forward those to port 10000. - Jamie |
From: Antonio G. <ga...@mc...> - 2010-02-19 11:14:55
|
Is there a way to have webmin running in both SSL and normal mode? Even using the "stunnel" method described into the docs the normal mode will no longer work. Antonio |
From: abhishek j. <abh...@gm...> - 2009-11-23 08:33:41
|
Dear Friends, I need to setup a server with webmin and make it secure, i am using Postfix as the mailserver and also Open source version of Virtualmin on a Centos 5.4 box, I need to know what are the specific steps i need to take to make mailserver, FTP, apache, PHP and Perl / CGI secure, I will also need to limit the number of emails generated by a particular domain. Pl. advice, Replies will be appreciated. -- Thanks and kind Regards, Abhishek jain |
From: Jamie C. <jca...@we...> - 2009-11-20 05:46:04
|
On 19/Nov/2009 21:27 David Drayton <ddr...@pu...> wrote .. > Thanks for all your help so far guys. > > I've got another one for you: What's the best way to update my own modules and > themes from a local/uploaded file? > > Update Modules in Upgrade Webmin doesn't appear to allow for updates from a local > or uploaded file. Not only that but I'm not sure if this facilitates third party > modules or only built in webmin modules. > > Webmin Modules and Webmin Themes seem to only allow Install and Delete. I'm not > sure if Install will do the trick of updating the files and removing any old ones. Yes, it will .. if you just want to upgrade a module, the Install function will do it for you. > And I'm wary of doing a Delete and then Install because I'm not sure what configurations > and settings it will wipe out (as I just want to upgrade, I want to keep all of > them). Yes, don't do a delete - that will cause any module-specific settings to be lost. > I know that when developing I can just replace the code that's already there, but > I'm changing stuff 'in production' and want to make sure that any automatic actions > that are needed are carried out (ie. copying config files). Yes, an install will replace the module code, copy any new default config directives, and run any postinstall script. - Jamie |
From: David D. <ddr...@pu...> - 2009-11-20 05:28:26
|
Thanks for all your help so far guys. I've got another one for you: What's the best way to update my own modules and themes from a local/uploaded file? Update Modules in Upgrade Webmin doesn't appear to allow for updates from a local or uploaded file. Not only that but I'm not sure if this facilitates third party modules or only built in webmin modules. Webmin Modules and Webmin Themes seem to only allow Install and Delete. I'm not sure if Install will do the trick of updating the files and removing any old ones. And I'm wary of doing a Delete and then Install because I'm not sure what configurations and settings it will wipe out (as I just want to upgrade, I want to keep all of them). I know that when developing I can just replace the code that's already there, but I'm changing stuff 'in production' and want to make sure that any automatic actions that are needed are carried out (ie. copying config files). Thanks again, David |
From: Jamie C. <jca...@we...> - 2009-11-18 18:00:26
|
I think the product is called stunnix - I've used it in the past for Webmin module obsfucation. - Jamie On Nov 18, 2009, at 12:06 AM, Antonio Gallo <ga...@mc...> wrote: > Hi, i see the asterisk module is obfuscated. I can decrypt it too in > 10 > steps but i think it usefull when someone > ask you for a job and then run away without paying. > What did they used for the obfuscation? > > > --- > --- > --- > --------------------------------------------------------------------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > - > 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 > |
From: Antonio G. <ga...@mc...> - 2009-11-18 08:06:09
|
Hi, i see the asterisk module is obfuscated. I can decrypt it too in 10 steps but i think it usefull when someone ask you for a job and then run away without paying. What did they used for the obfuscation? |
From: Jamie C. <jca...@we...> - 2009-11-18 01:03:48
|
Hi Webmin users, I am just about to release Webmin 1.500, but before I do I've created a pre-release version that contain all the features that will be official release. You can download it from http://www.webmin.com/devel.html , or check out the change logs at http://www.webmin.com/changes-1.499.html . The biggest changes are the new Package Updates module, RAID fixes, improved Postfix TLS support, Bacula fixes, LDAP DN and SN fixes, and logging for the Scheduled Commands module. Let me know if you find any problems! - Jamie |
From: Jamie C. <jca...@we...> - 2009-10-21 07:21:03
|
On 20/Oct/2009 21:34 David Drayton <ddr...@pu...> wrote .. > Hey guys, > > I have to run a command that: > a) displays progressive output as it runs, and > b) continues to run, even if the user moves to another page > > I have tried the code below, which satisfies (a) but I noticed that when I went > to another page, it would stop running and so doesn't satisfy (b) as well. Note > that I am only using ping as a test. > > open(CMD, "ping 127.0.0.1 2>&1 |"); > while(<CMD>) { > print $_; > } > close(CMD); The reason it gets terminated when the user leaves the page is that the command receives a SIGPIPE signal, which by default kills it. The way to prevent this is to add the following line at the top of your Perl script : $SIG{'PIPE'} = 'IGNORE'; - Jamie |
From: Antonio G. <ga...@mc...> - 2009-10-21 07:14:26
|
David Drayton ha scritto: > Hey guys, > > I have to run a command that: > a) displays progressive output as it runs, and > b) continues to run, even if the user moves to another page > > I have tried the code below, which satisfies (a) but I noticed that when I went to another page, it would stop running and so doesn't satisfy (b) as well. Note that I am only using ping as a test. > > open(CMD, "ping 127.0.0.1 2>&1 |"); > while(<CMD>) { > print $_; > } > close(CMD); > If you have it in background when the process is killed? :) One short solution is: you can write the ping output to a FIFO or a temp file then read it with "tail -f" Regards, Antonio Gallo -- (o_ Saluti, Antonio Gallo //\ http://www.badpenguin.org/ V_/_ IRC: agx |
From: David D. <ddr...@pu...> - 2009-10-21 04:35:10
|
Hey guys, I have to run a command that: a) displays progressive output as it runs, and b) continues to run, even if the user moves to another page I have tried the code below, which satisfies (a) but I noticed that when I went to another page, it would stop running and so doesn't satisfy (b) as well. Note that I am only using ping as a test. open(CMD, "ping 127.0.0.1 2>&1 |"); while(<CMD>) { print $_; } close(CMD); Cheers, David |
From: Emna M. <msa...@ho...> - 2009-10-17 21:26:00
|
msa...@ho... _________________________________________________________________ Messenger débarque dans Hotmail ! Essayez-le ! http://www.windowslive.fr/hotmail/web-messenger/ |
From: Jamie C. <jca...@we...> - 2009-10-09 08:48:44
|
On 08/Oct/2009 21:45 David Drayton <ddr...@pu...> wrote .. > Hi all, > Apologies if this has been asked before but I couldn't find any information on > it. > > I noticed when looking in servers/link.cgi that there is code that facilitates > using the current username and password for the credentials when tunnelling. However, > the option is hidden when running servers/edit_serv.cgi and I can't work out why. > It looks like it relies on a 'pass' option being setup in the servers acl, but > it doesn't look like there is one. > > So: > 1. How does one setup the system so that this option appears? > 2. Does it really allow for tunnelling as I am assuming? > 3. Does this also allow for RPC commands, or is that still only when you manually > input a username and password in the server setup? To enable this, you need to go to Webmin -> Webmin Configuration -> Authentication, and select "Disable session authentication", then click "Save". Then go to Advanced Options, and change "Make password available to Webmin programs?" to "Yes", click "Save", and then logout and login again. Pretty much everything will work fine, except for cron jobs that make remote RPC calls to other Webmin systems, as the password isn't available to them. - Jamie |
From: David D. <ddr...@pu...> - 2009-10-09 04:59:00
|
Hi all, Apologies if this has been asked before but I couldn't find any information on it. I noticed when looking in servers/link.cgi that there is code that facilitates using the current username and password for the credentials when tunnelling. However, the option is hidden when running servers/edit_serv.cgi and I can't work out why. It looks like it relies on a 'pass' option being setup in the servers acl, but it doesn't look like there is one. So: 1. How does one setup the system so that this option appears? 2. Does it really allow for tunnelling as I am assuming? 3. Does this also allow for RPC commands, or is that still only when you manually input a username and password in the server setup? Thanks all! |
From: dimmumeister <inv...@fe...> - 2009-10-02 20:18:11
|
Fedora in tunisia: The Fedora community in Tunisia -------------------- I have just created this social network thanks to ning.com. Don't worry it's not a spam or a malicious activity. I'm hahmed as you know in fedora-tunisia group.THis is a real social network = facebook Click the link below to Join: http://fedora-tn.ning.com/?xgi=5T45Mw1ocQSbk9 If your email program doesn't recognize the web address above as an active link, please copy and paste it into your web browser -------------------- About Fedora in tunisia This is the Fedora Tunisian users social network. Fedora in tunisia includes: Blogs Events Discussions Groups Music Photos Videos -------------------- To control which emails you receive on the corner, or to opt-out, go to: http://fedora-tn.ning.com/?xgo=vFTvZmFC21VLRT7ZQ/FquwZzPVUNXGSWu63AFlhe6JL2ededn4--78siaWKMzj38LSlHOHoGxIDBO-KMOB8fGA |
From: ahmed h <dim...@gm...> - 2009-09-14 11:46:14
|
LinkedIn ------------ Webmin, Je t'invite à faire partie de mon réseau professionnel en ligne sur le site LinkedIn. ahmed Accepter l'invitation de ahmed h : https://www.linkedin.com/e/isd/735696033/pTzHUzxg/ ------ (c) 2009, LinkedIn Corporation |