From steffenolfbeyer at yahoo.com.br Tue Mar 1 04:55:04 2016 From: steffenolfbeyer at yahoo.com.br (Steffen Beyer) Date: Tue, 1 Mar 2016 12:55:04 +0000 (UTC) Subject: [Munich-pm] Slightly off-topic; help needed with domain redirection from you XS4ALL guys (or anybody who knows the answer) References: <781063630.1579621.1456836904793.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <781063630.1579621.1456836904793.JavaMail.yahoo@mail.yahoo.com> Dear Perl Mongers, please excuse the slightly off-topic posting, but I know that several of you work for the provider XS4ALL.NL or have similar knowledge. I have also tried to contact the author of the Mod_Rewrite module, but haven't heard back from him yet. The problem is how to automatically redirect HTTP-requests of the formwww.domain1.com/path/to/some/web/page.htmltowww.domain2.com/path/to/some/web/page.htmlwithout replicating the directory structure of domain2 on the server of domain1. I've already tried the following .htaccess file in the root directory of the domain's web page tree, but I get 'no permission' and '403 forbidden' errors for all pages: RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.fluodivegear\.com$ [OR]RewriteCond %{HTTP_HOST} ^fluodivegear\.com$ RewriteRule ^(.*)$ http://firedivegear.com/$1 [R=301,L] Actually www.fluodivegear.com is an add-on domain located in a subdirectory '/redirect/' of my primary domain www.fluomedia.org. If the web hoster redirects the fluodivegear domain to that subdirectory using Mod_Rewrite rules, could that cause a conflict and thus be the cause of the error messages? The hoster's technical support was of no help, he seemed to know less than me. Thanks a lot in advance for your help! Kind regards,Steffen -------------- next part -------------- An HTML attachment was scrubbed... URL: From steffenolfbeyer at yahoo.com.br Tue Mar 1 07:09:20 2016 From: steffenolfbeyer at yahoo.com.br (Steffen Beyer) Date: Tue, 1 Mar 2016 15:09:20 +0000 (UTC) Subject: [Munich-pm] [NL-PM] Slightly off-topic; help needed with domain redirection from you XS4ALL guys (or anybody who knows the answer) In-Reply-To: <20160301131716.GX3034@k> References: <20160301131716.GX3034@k> Message-ID: <592681896.1681909.1456844960889.JavaMail.yahoo@mail.yahoo.com> Hi Juerd! Never mind, problem solved!! You pointed me to a website (see further below), which gave me the decisive hint: One has to add the option Options +SymLinksIfOwnerMatch to the .htaccess file! See http://www.cyberciti.biz/faq/apache-403-forbidden-error-and-solution/ The reason is that I forbade all other options in the .htaccess file in my fluomedia.org document root directory, which says Options Includes (no '+'!). Now everything works as intended! Thanks a lot!! :-) Some more comments follow below: On Tue, 1 Mar, 2016 at 14:17, Juerd Waalboer wrote: Steffen Beyer skribis 2016-03-01 12:55 (+0000): > please excuse the slightly off-topic posting It's not slightly off-topic, it's completely off-topic. > but I know that several of you work for the provider XS4ALL.NL or have > similar knowledge. Some of us have kids, but would you ask this mailing list for parenting advice?[Steffen] If I thought that you were qualified above average, then yes. :-)[Steffen] I consider the people on this list my friends and I thought I could ask them something they might be able to answer from the top of their heads.[Steffen] Your response that my problem was not of that kind was in fact a very valuable hint in itself! > I have also tried to contact the author of the Mod_Rewrite module, but > haven't heard back from him yet. I don't know this author or why you haven't heard back, but many developers of popular open source products simply can't handle the enormous amount of people requesting help. Some developers leave the open source community over this issue, regretting that they ever shared their work. If you're using free software that's extremely popular, the best places for getting help are on-topic community driven platforms. And there are many. One way to find them, would be to search the web for other questions about the same product.[Steffen] Actually the module's author, Ralf Engelschall, is a friend and former colleague of mine, so I figured he might answer me if it was an obvious answer. > but I get 'no permission' and '403 forbidden' errors for all pages: http://lmgtfy.com/?q=debugging+403 Or maybe even http://lmgtfy.com/?q=debugging+403+htaccess There you will find many things that could be causing the problem, and some information about locating and reading log files. Since you didn't address attempts to deal with the most common causes of 403 errors, you need to work on either your web searching skills, or your question asking skills. When asking a question, show that you have tried to understand the issue by sharing all relevant information (in this case: file permissions, error log). > The hoster's technical support was of no help, he seemed to know less > than me. Have you considered switching to another hosting provider, one that does provide the kind of support that you require.[Steffen] I should definitely consider that! :-) -- Met vriendelijke groet, // Kind regards, // Korajn salutojn, Juerd Waalboer  TNX _______________________________________________ NOTE: Any disclaimer in this message is NULL and VOID. You may ignore it. NL-PM at amsterdam.pm.org https://list.xs4all.nl/mailman/listinfo/nl-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.foley at rfi.net Tue Mar 1 08:39:55 2016 From: richard.foley at rfi.net (Richard Foley) Date: Tue, 1 Mar 2016 17:39:55 +0100 Subject: [Munich-pm] [NL-PM] Slightly off-topic; help needed with domain redirection from you XS4ALL guys (or anybody who knows the answer) In-Reply-To: <592681896.1681909.1456844960889.JavaMail.yahoo@mail.yahoo.com> References: <20160301131716.GX3034@k> <592681896.1681909.1456844960889.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20160301163954.GD17875@thpad.site> hey Steffen, I'm sure MOST people on this list are quite happy for you to post an apache question here. Look, you even got a pointer to the correct answer, or at least where to find it! Sometimes talking to the teddy-bear is the right way to go. -- Ciao Richard Foley http://www.rfi.net/books.html On Tue, Mar 01, 2016 at 03:09:20PM +0000, Steffen Beyer wrote: > Hi Juerd! > Never mind, problem solved!! > You pointed me to a website (see further below), which gave me the decisive hint: > One has to add the option > Options +SymLinksIfOwnerMatch > to the .htaccess file! > See http://www.cyberciti.biz/faq/apache-403-forbidden-error-and-solution/ > The reason is that I forbade all other options in the .htaccess file in my fluomedia.org document root directory, which says Options Includes (no '+'!). > Now everything works as intended! > Thanks a lot!! :-) > Some more comments follow below: > > On Tue, 1 Mar, 2016 at 14:17, Juerd Waalboer wrote: Steffen Beyer skribis 2016-03-01 12:55 (+0000): > > please excuse the slightly off-topic posting > > It's not slightly off-topic, it's completely off-topic. > > > but I know that several of you work for the provider XS4ALL.NL or have > > similar knowledge. > > Some of us have kids, but would you ask this mailing list for parenting > advice?[Steffen] If I thought that you were qualified above average, then yes. :-)[Steffen] I consider the people on this list my friends and I thought I could ask them something they might be able to answer from the top of their heads.[Steffen] Your response that my problem was not of that kind was in fact a very valuable hint in itself! > > > I have also tried to contact the author of the Mod_Rewrite module, but > > haven't heard back from him yet. > > I don't know this author or why you haven't heard back, but many > developers of popular open source products simply can't handle the > enormous amount of people requesting help. Some developers leave the > open source community over this issue, regretting that they ever shared > their work. > > If you're using free software that's extremely popular, the best places > for getting help are on-topic community driven platforms. And there are > many. One way to find them, would be to search the web for other > questions about the same product.[Steffen] Actually the module's author, Ralf Engelschall, is a friend and former colleague of mine, so I figured he might answer me if it was an obvious answer. > > > but I get 'no permission' and '403 forbidden' errors for all pages: > > http://lmgtfy.com/?q=debugging+403 > > Or maybe even http://lmgtfy.com/?q=debugging+403+htaccess > > There you will find many things that could be causing the problem, and > some information about locating and reading log files. Since you didn't > address attempts to deal with the most common causes of 403 errors, you > need to work on either your web searching skills, or your question > asking skills. When asking a question, show that you have tried to > understand the issue by sharing all relevant information (in this case: > file permissions, error log). > > > The hoster's technical support was of no help, he seemed to know less > > than me. > > Have you considered switching to another hosting provider, one that does > provide the kind of support that you require.[Steffen] I should definitely consider that! :-) > -- > Met vriendelijke groet, // Kind regards, // Korajn salutojn, > > Juerd Waalboer  > TNX > _______________________________________________ > NOTE: Any disclaimer in this message is NULL and VOID. You may ignore it. > > NL-PM at amsterdam.pm.org > https://list.xs4all.nl/mailman/listinfo/nl-pm > > _______________________________________________ > Munich-pm mailing list http://munich.pm.org/ > Munich-pm at pm.org > http://mail.pm.org/mailman/listinfo/munich-pm From steffenolfbeyer at yahoo.com.br Tue Mar 1 08:55:47 2016 From: steffenolfbeyer at yahoo.com.br (Steffen Beyer) Date: Tue, 1 Mar 2016 16:55:47 +0000 (UTC) Subject: [Munich-pm] [NL-PM] Slightly off-topic; help needed with domain redirection from you XS4ALL guys (or anybody who knows the answer) In-Reply-To: <20160301163954.GD17875@thpad.site> References: <20160301163954.GD17875@thpad.site> Message-ID: <1243876849.1740039.1456851347960.JavaMail.yahoo@mail.yahoo.com> Dear Richard, thanks a lot for your support!Sometimes asking the experts DOES pay off! ;-) (ducking and hiding :-) ) How's life on your side?(Better reply without the Cc:) Cheers,Steffen On Tue, 1 Mar, 2016 at 17:39, Richard Foley wrote: hey Steffen, I'm sure MOST people on this list are quite happy for you to post an apache question here. Look, you even got a pointer to the correct answer, or at least where to find it! Sometimes talking to the teddy-bear is the right way to go. -- Ciao Richard Foleyhttp://www.rfi.net/books.html On Tue, Mar 01, 2016 at 03:09:20PM +0000, Steffen Beyer wrote: > Hi Juerd! > Never mind, problem solved!! > You pointed me to a website (see further below), which gave me the decisive hint: > One has to add the option > Options +SymLinksIfOwnerMatch > to the .htaccess file! > See http://www.cyberciti.biz/faq/apache-403-forbidden-error-and-solution/ > The reason is that I forbade all other options in the .htaccess file in my fluomedia.org document root directory, which says Options Includes (no '+'!). > Now everything works as intended! > Thanks a lot!! :-) > Some more comments follow below: >  >  On Tue, 1 Mar, 2016 at 14:17, Juerd Waalboer wrote:  Steffen Beyer skribis 2016-03-01 12:55 (+0000): > > please excuse the slightly off-topic posting > > It's not slightly off-topic, it's completely off-topic. > > > but I know that several of you work for the provider XS4ALL.NL or have > > similar knowledge. > > Some of us have kids, but would you ask this mailing list for parenting > advice?[Steffen] If I thought that you were qualified above average, then yes. :-)[Steffen] I consider the people on this list my friends and I thought I could ask them something they might be able to answer from the top of their heads.[Steffen] Your response that my problem was not of that kind was in fact a very valuable hint in itself! > > > I have also tried to contact the author of the Mod_Rewrite module, but > > haven't heard back from him yet. > > I don't know this author or why you haven't heard back, but many > developers of popular open source products simply can't handle the > enormous amount of people requesting help. Some developers leave the > open source community over this issue, regretting that they ever shared > their work. > > If you're using free software that's extremely popular, the best places > for getting help are on-topic community driven platforms. And there are > many. One way to find them, would be to search the web for other > questions about the same product.[Steffen] Actually the module's author, Ralf Engelschall, is a friend and former colleague of mine, so I figured he might answer me if it was an obvious answer. > > > but I get 'no permission' and '403 forbidden' errors for all pages: > > http://lmgtfy.com/?q=debugging+403 > > Or maybe even http://lmgtfy.com/?q=debugging+403+htaccess > > There you will find many things that could be causing the problem, and > some information about locating and reading log files. Since you didn't > address attempts to deal with the most common causes of 403 errors, you > need to work on either your web searching skills, or your question > asking skills. When asking a question, show that you have tried to > understand the issue by sharing all relevant information (in this case: > file permissions, error log). > > > The hoster's technical support was of no help, he seemed to know less > > than me. > > Have you considered switching to another hosting provider, one that does > provide the kind of support that you require.[Steffen] I should definitely consider that! :-) > -- > Met vriendelijke groet, // Kind regards, // Korajn salutojn, > > Juerd Waalboer  > TNX > _______________________________________________ > NOTE: Any disclaimer in this message is NULL and VOID. You may ignore it. > > NL-PM at amsterdam.pm.org > https://list.xs4all.nl/mailman/listinfo/nl-pm >  > _______________________________________________ > Munich-pm mailing list http://munich.pm.org/ > Munich-pm at pm.org > http://mail.pm.org/mailman/listinfo/munich-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.foley at rfi.net Tue Mar 15 03:24:24 2016 From: richard.foley at rfi.net (Richard Foley) Date: Tue, 15 Mar 2016 11:24:24 +0100 Subject: [Munich-pm] Perl currently in the top #10 on TIOBE Message-ID: <20160315102423.GF16818@thpad.site> Did you know that #Perl is currently within the top 10 on TIOBE for job relevance: http://www.tiobe.com/tiobe_index Share that. -- Ciao Richard Foley http://www.rfi.net/books.html From sch.r at web.de Tue Mar 15 03:23:11 2016 From: sch.r at web.de (Roland Schmitz) Date: Tue, 15 Mar 2016 11:23:11 +0100 Subject: [Munich-pm] Perl currently in the top #10 on TIOBE In-Reply-To: <20160315102423.GF16818@thpad.site> References: <20160315102423.GF16818@thpad.site> Message-ID: <56E7E28F.7020607@web.de> At Redmonk, Perl is on place 12: http://redmonk.com/sogrady/2016/02/19/language-rankings-1-16/ Am 15.03.2016 um 11:24 schrieb Richard Foley: > Did you know that #Perl is currently within the top 10 on TIOBE for job > relevance: http://www.tiobe.com/tiobe_index > > Share that. > -- Mit freundlichem Gruss Yours sincerely Roland Schmitz From richard.foley at rfi.net Mon Mar 21 01:56:38 2016 From: richard.foley at rfi.net (Richard Foley) Date: Mon, 21 Mar 2016 09:56:38 +0100 Subject: [Munich-pm] DPW/GPW Frage/Vorschlag Message-ID: <20160321085637.GE13623@thpad.site> hi Leute, ich bin gerade von DPW/GPW in Nurenburg zurück gekommen. Tolle Workshop! Das erinnert mich das es ist schon eine weile seit wir, im München, so was organisiert haben. Hat jemand Interesse, haben WIR Interesse, einen DPW in München zu organisieren? 2017 wird im Norden (DE) statt finden, vielleicht passt 2018 für einen DPW im Suden (DE) wieder? Was meint Ihr? -- Ciao Richard Foley http://www.rfi.net/books.html From steffenolfbeyer at yahoo.com.br Wed Mar 30 10:19:20 2016 From: steffenolfbeyer at yahoo.com.br (Steffen Beyer) Date: Wed, 30 Mar 2016 17:19:20 +0000 (UTC) Subject: [Munich-pm] This time on-topic: How to get Central European Time on any server anywhere in the world In-Reply-To: <781063630.1579621.1456836904793.JavaMail.yahoo@mail.yahoo.com> References: <781063630.1579621.1456836904793.JavaMail.yahoo.ref@mail.yahoo.com> <781063630.1579621.1456836904793.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1464539491.2747052.1459358360985.JavaMail.yahoo@mail.yahoo.com> Dear Perl Mongers, I just encountered the problem that I needed Central European Time (for timestamps etc.) on a server located in the USA. Anybody can easily verify that the rules for daylight savings time are much less predictable in the USA than in Central Europe (last Sunday in March at 2:00 => DST, last Sunday in October at 3:00 => winter time). There are times when the USA are in DST but not Central Europe, and vice-versa. This could therefore be a real challenge to calculate. However, we make two observations: firstly, every Un*x server knows GMT. Secondly, coincidentally the switch-over times in Europe for going to DST and back are always at GMT 1:00. Now with Date::Calc to the rescue, we ask the server to give us GMT (and let him handle the idiosyncracies of the US-American DST rules) and calculate whether we are between the last Sunday in March at 1:00 GMT and the last Sunday in October at 1:00 GMT, and add 1 or 2 hours (for CET=GMT+1 or CEST=GMT+2, according to DST or not). Voila! The subroutine that does this is relatively simple:use Date::Calc qw(:all);sub Central_European_Time { my(@Now) = Gmtime(); my($year) = $Now[0]; my(@DST, at CET); @DST = Nth_Weekday_of_Month_Year($year, 3,7,4) unless (@DST = Nth_Weekday_of_Month_Year($year, 3,7,5)); @CET = Nth_Weekday_of_Month_Year($year,10,7,4) unless (@CET = Nth_Weekday_of_Month_Year($year,10,7,5)); my $now = (((Day_of_Year(@Now[0,1,2])-1) * 24 + $Now[3]) * 60 + $Now[4]) * 60 + $Now[5]; my $dst = ((Day_of_Year(@DST) -1) * 24 + 1) * 3600; my $cet = ((Day_of_Year(@CET) -1) * 24 + 1) * 3600; if (($dst <= $now) and ($now < $cet)) { return(Add_Delta_YMDHMS(@Now[0,1,2,3,4,5],0,0,0,2,0,0)); } else { return(Add_Delta_YMDHMS(@Now[0,1,2,3,4,5],0,0,0,1,0,0)); } }It returns a list of the form ($year, $month,$day,$hour,$min,$sec). See also http://sb.fluomedia.org/scripts/time_pl I hope you like it! :-) Cheers,Steffen -------------- next part -------------- An HTML attachment was scrubbed... URL: From steffenolfbeyer at yahoo.com.br Wed Mar 30 13:14:29 2016 From: steffenolfbeyer at yahoo.com.br (Steffen Beyer) Date: Wed, 30 Mar 2016 20:14:29 +0000 (UTC) Subject: [Munich-pm] [NL-PM] This time on-topic: How to get Central European Time on any server anywhere in the world In-Reply-To: <20160330174025.GX18315@moon.overmeer.net> References: <20160330174025.GX18315@moon.overmeer.net> Message-ID: <282883735.3222034.1459368869632.JavaMail.yahoo@mail.yahoo.com> Hi Mark! Em Quarta-feira, 30 de Março de 2016 19:40, Mark Overmeer escreveu: * NL Perl Mongers (nl-pm at amsterdam.pm.org) [160330 17:19]: > I just encountered the problem that I needed Central European Time > (for timestamps etc.) on a server located in the USA.   ... > However, we make two observations: firstly, every Un*x server knows GMT.   ... Are the zoneinfo files not installed on your system? [Steffen] I don't know, I only know that Perl and Date::Calc *ARE* installed! :-)[Steffen] I also wanted to show how one can do these calculations with Date::Calc, as an additional one of the "recipes" given in the module's docs.   TZ=CET date Or in Perl   $ENV{TZ} = 'CET';   POSIX::tzset();   print POSIX::ctime(); perl -MPOSIX -e '$ENV{TZ} = ":Asia/Saigon"; tzset(); print asctime(localtime)'   Thu Mar 31 00:37:56 2016 [Steffen] Thanks a lot for the hint!![Steffen] I will try that immediately. They know for sure about all years in the past, and predict the rules for the future. [Steffen] I don't need past nor future, I only need the present (flowing along with time of course).[Steffen] As I said, this is for visible time stamps (in a web application). Or is there something I am missing from your question? [Steffen] No, you are spot on! :-) -- greetz,               MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer                                MARKOV Solutions       Mark at Overmeer.net                          solutions at overmeer.net http://Mark.Overmeer.net                   http://solutions.overmeer.net Cheers,Steffen -- See also: http://www.fluomedia.org/ - Underwater Fluorescence (Scuba Diving) http://sb.fluomedia.org/download/ - Free Perl and C Software -------------- next part -------------- An HTML attachment was scrubbed... URL: