: Tue Topholm
Cc: modperl@perl.apache.org
Emne: Re: SV: Mod_perl + cronolog
Tue Topholm wrote:
> Any idea what it could be?
I believe Charlie Garrison already told you the answer: you have to
escape the % symbols in your double-quoted string. They will be
interpreted by perl as has
Tue Topholm wrote:
Any idea what it could be?
I believe Charlie Garrison already told you the answer: you have to
escape the % symbols in your double-quoted string. They will be
interpreted by perl as hashes.
CustomLog => qq{"|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d"
Tr
ue Topholm
Device.Webbureau
M: +45 26 74 07 41
P: +45 70 21 00 04
LinkedIN: http://www.linkedin.com/in/ttopholm
-Oprindelig meddelelse-
Fra: Dondi M. Stroma [mailto:[EMAIL PROTECTED]
Sendt: 9. november 2006 02:31
Til: modperl@perl.apache.org
Emne: Re: Mod_perl + cronolog
It seems like this is
q{"|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d"
combined}
- Original Message -
From: "Tue Topholm" <[EMAIL PROTECTED]>
To: "'Lupe Christoph'" <[EMAIL PROTECTED]>
Cc:
Sent: Wednesday, November 08, 2006 1:32 PM
Subject: SV: M
On Wednesday, 2006-11-08 at 19:32:05 +0100, Tue Topholm wrote:
> I don't have problem with this, it works just fine...
Let me be explicit: that is shitty Perl code. I have no idea what is
causing your real problem, but you should not write code like that. What
you did is write a shell script in P
Good morning,
On 8/11/06 at 7:32 PM +0100, Tue Topholm <[EMAIL PROTECTED]> wrote:
>It is this line:
>
>CustomLog => "|/usr/sbin/cronolog /home/log/$domain-access_log.%Y-%m-%d
>combined",
Try using single quotes or escaping the percent characters.
Charlie
--
Charlie Garrison <[EMAIL PROTE
dIN: http://www.linkedin.com/in/ttopholm
-Oprindelig meddelelse-
Fra: Lupe Christoph [mailto:[EMAIL PROTECTED]
Sendt: 8. november 2006 14:43
Til: Tue Topholm
Cc: modperl@perl.apache.org
Emne: Re: Mod_perl + cronolog
On Wednesday, 2006-11-08 at 13:10:54 +0100, Tue Topholm wrote:
> I
On Wednesday, 2006-11-08 at 13:10:54 +0100, Tue Topholm wrote:
> I have this script:
Not related to your question, but to Perl style...
> system("/bin/mkdir /home/$domain");
> system("/bin/mkdir /home/$domain/www");
> system("/bin/mkdir /home/$domain/ErrorLog");
I think you should review perldoc
I have this script:
use DBI;
my ($sth, $dbh, $domain, $domainID, $created, $sql);
$dbh =
DBI->connect("DBI:mysql:ccc:","ccc","ccc");
$sth = $dbh->prepare("SELECT domainID, domain, created FROM domain
ORDER BY domainID ASC");
$sth->execute();
while (($domainID, $domain, $created) = $st