a new framework when I had to
change from version 1 over to 2, but it was really much easier for me to
make a few code changes in lots of files rather than start from scratch.
I actually ended up with better code after fixing those little bugs that
were not worth the effort when writing it originally.
--
Chris Bennett
27;s easy to pick up. :-}
--
Thank you all!
Chris Bennett
, I'm curious to see how all of these new names will play out
over time.
Chris Bennett
ying to find a
suitable server and get a working laptop! Trying to get a friend's
Windows laptop working with an old firefox and an old version of Java
was a couple of days of frustration!
Thanks,
Chris Bennett
re a method
that was undocumented in version 2.09?
The manual page right where this would be explained says it needs
to be finished, which leaves me clueless on how to proceed.
Thanks,
Chris Bennett
Forgot to mention that this isn't just a blah blah question.
I do intend to connect with a base system C file, allowedhost.c and
possibly others also. So I DO want to use any helpful information for an
actual project.
Chris Bennett
ice web browser page
would make life easy.
You can reply to me off-list if this should not be on the mailing list.
Thanks
Chris Bennett
On Tue, Feb 04, 2014 at 11:42:43AM +0100, Vincent Veyron wrote:
> Le lundi 03 février 2014 à 19:13 -0500, Perrin Harkins a écrit :
> > On Mon, Feb 3, 2014 at 5:33 PM, Chris Bennett
> > wrote:
> > > Right now I am using pg_1_.pl and pg_2.pl on the different hosts, but
>
t
the code is identical, except that some data is pulled in from a config
file for the different databases, etc used.
Can I safely use pg.pl on both VirtualHosts or do I need to do something
else also to do this?
Thanks,
Chris Bennett
>
> On Mon, Feb 3, 2014 at 4:30 PM, Vincent Veyron wrot
->print(); work as print?
I have read that CGI.pm and Apache::Request are similar but not the
same.
Is something already written to do this out there? A guide?
These applications use:
use Apache::Request();
use DBI();
All of these modules are using Apache::Registry, not handler.
Thanks,
Ch
the AuthCookie sections out into confs for each
virtual host using it, learn to use Perl Sections, or something different? Any
suggestions are welcome.
Thanks
Chris Bennett
break the AuthCookie sections out into confs for
each virtual host using it, learn to use Perl Sections, or something
different? Any suggestions are welcome.
Thanks
Chris Bennett
er:
http://www...
That reminds me:
1) chmod +x mailfile.pl
2) dos2unix mailfile.pl
Perhaps cp removes the wrong line endings?
Anyway, you can also fix files with vi
:%s/ctrl-v ctrl-m//g
Works like a charm. I don't have dos2unix.
Chris Bennett
it requires very careful, well written
perl. It is an excellent teacher
Good Luck,
Chris Bennett
On 05/20/10 12:12, Perrin Harkins wrote:
On Thu, May 20, 2010 at 11:12 AM, Chris Bennett
wrote:
Well I'm pretty clueless. It works fine on nearly identical desktop at home.
Won't work on server.
That means the problem is either different versions on the one that
doesn
Well I'm pretty clueless. It works fine on nearly identical desktop at home.
Won't work on server.
I don't know what else I can try.
I have tried using Location instead of Directory.
Changed module names.
Fiddled with startup.pl
Still always get uri as /perl/login.pl and creds as uninitialized.
On 05/19/10 17:11, André Warnier wrote:
Chris Bennett wrote:
After getting it to work just fine on my desktop, without any virtual
hosts, I can't get it to work right on my server in a virtual host.
I have Apache::AuthCookie (and several derived versions) working fine in
multiple Virtua
both version 3.12 and 3.14
Thanks
Chris Bennett
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone,
On 04/27/10 12:07, Chris Bennett wrote:
After seeing logs mentioned above, I remembered this.
I do not see my scripts appearing properly in access log
I have an older script that never shows an access into the log (only
errors)
I have a new script with same name but a few differences in two
On 04/27/10 13:28, Perrin Harkins wrote:
On Tue, Apr 27, 2010 at 1:07 PM, Chris Bennett
wrote:
I do not see my scripts appearing properly in access log
That probably means your scripts are crashing before they finish. You
could use mod_log_forensic to find out more.
- Perrin
This was a
After seeing logs mentioned above, I remembered this.
I do not see my scripts appearing properly in access log
I have an older script that never shows an access into the log (only errors)
I have a new script with same name but a few differences in two
different virtual hosts.
After a stop sta
I am combining into my module, subs for two scripts doing very similar,
yet a little different functions.
Many subs can be used by both unchanged.
Some are almost right except for the arguments
One script works on two output files at once, the other, just one.
So I did this and it seems to work
pen sooner! :)
Thanks
Chris Bennett
On 04/25/10 08:57, André Warnier wrote:
Chris Bennett wrote:
...
> $article_file = $q->param("articlefilename") || '';
ok, so suppose it is "12345.html.en"
...
if ($article_file =~ /^([a-zA-Z0-9_-]+\.html.?\w?\w?)$/) {
$article_file = $1;
} else {
$ar
On 04/24/10 21:38, Chris Bennett wrote:
When I run this first time, with no values from form, I get
$article_file being a / when it should be nothing. I just can't see the
error. I have tried variations with \w and dash at beginning and end,
but no go.
Debug shows blank at A, / at B
#!/us
On 04/24/10 21:38, Chris Bennett wrote:
When I run this first time, with no values from form, I get
$article_file being a / when it should be nothing. I just can't see the
error. I have tried variations with \w and dash at beginning and end,
but no go.
Debug shows blank at A, / at B
#!/us
icle_file = $1;
if ($debug) { $error .= qq{$article_file};}
$article_backup_file = $article_file;
$article_backup_file =~ s/\.html$/_backup.html/;
undef my $body;
Thanks
Chris Bennett
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, wri
On 04/21/10 11:33, Felipe de Jesús Molina Bravo wrote:
Hi
In my application, I opened my database from authentication handler and
close it from child exit handler. It is correct (is a best practice)? or
is a bad design?
where i can read for best practice for it?
thank's
Are you using Apach
On 04/17/10 15:09, Jiri Pavlovsky wrote:
On 17.4.2010 22:22, Chris Bennett wrote:
On 04/17/10 14:27, Jiri Pavlovsky wrote:
Hello,
I'm trying to prestart db connection. But Apache::DBI->connect_on_init
is not working. Gives no error, but db connection is not made.
Setting $Apache::DB
On 04/17/10 14:27, Jiri Pavlovsky wrote:
Hello,
I'm trying to prestart db connection. But Apache::DBI->connect_on_init
is not working. Gives no error, but db connection is not made.
Setting $Apache::DBI::DEBUG = 2 indicates that ChildInitHandler runs.
I tried to create my custom ChildInitHandle
30 matches
Mail list logo