Re: Getting current url from request?

2006-09-01 Thread Bas Schulte
Hi, I sort of hoped I could simply get it directly from the Apache request object but apparently, I can't. Turns out I had to have a CGI instance anyway so I'm using $cgi->url () now, works fine.

Getting current url from request?

2006-09-01 Thread Bas Schulte
Hi, I may be getting a bit rusty but I can't figure out which method to use to get at the current url from the Apache request object. $r-uri () gives me the path but not the schema, host and port. Looking through perldoc Apache doesn't really give me a clue. Anyone?

Re: MySQL server has gone away?

2005-04-10 Thread Bas Schulte
Hi Philip, On zondag, apr 10, 2005, at 22:42 Europe/Amsterdam, Philip M. Gollucci wrote: The auto_reconnect behavior was changed in DBD::mysql or DBI recently (< 6 months ago)... I forget from/to.. Read the Changes of each. There's some info in DBD::mysql. Further investigation tells me this m

Re: MySQL server has gone away?

2005-04-10 Thread Bas Schulte
Hi Harm, On zondag, apr 10, 2005, at 10:53 Europe/Amsterdam, harm wrote: DBD::mysql::st execute failed: MySQL server has gone away at /opt/ttgp/dev/webapp/ttgp/smsclient/perl/sms line 111. This happens after several hours of idle time in the webserver. looks like a connection timeout. Try: $dbh->{'

MySQL server has gone away?

2005-04-10 Thread Bas Schulte
Hi all, I've been using Apache/mod_perl/MySQL combined with Apache::DBI for years, and it has been working like a charm. However, while preparing for a new release of the system I built, I'm getting this: DBD::mysql::st execute failed: MySQL server has gone away at /opt/ttgp/dev/webapp/ttgp/sms