me such
> thing? Either way, great article.
I too would like to would like to have a better understanding of how
MVC can be applied to mod_perl. Maybe even HelloWorld sized example
showing how all of the different components interact?
---------
Frank Wiles
licitly clean up your temp table.
2) See if you can stop using Apache::DBI.
I found on several sites that Apache::DBI didn't effect
performance as much as I would have imagined with PostgreSQL and was
fine to run without it.
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
line xxx of /etc/apache-perl/httpd.conf:
> Invalid command 'SetPerlVar', perhaps mis-spelled or defined by a
> module not included in the server configuration
> /usr/sbin/apache-perl-ctl start: httpd could not be started
>
> What is the obvious thing I am overlooking?
I
e connection to the database, and the child will resuse
that connection for each request.
Have you turned on debugging in Apache::DBI and watched your Apache
error_log for any weirdness?
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
ystem. Make
sure Perl is installed and that ld ( the linker ) can find it.
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
aders have kept me from it for
some time.
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
and into
using PerlSetVar's in your Apache config such as:
PerlSetVar OptionOne Foo
and then retrieved in the code as my $option_one = $r->dir_config('OptionOne');
This way you can do it on a per Location, Directory, etc. basis.
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
}
We actually have 10 or so common configuration parameters on most of
of our modules so we move all of our $r->dir_configs into an init()
subroutine.
Anyway... this might be one way to attack your problem, as you can
then use different parameters on each virtual host.
-
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
ought
it was already expired. Netscape would however set the cookie anyway.
This may not be your problem, but it may be something to think about.
-----
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
-
wise.
>
> Is there a simple secure method for copying a directory from a template
> directory to a user directory and then giving access to the (new) user
> directory?
You may want to look into useradd and /etc/skel on a Linux system. It
has everything you are trying to accomplis
includes competitive salary, excellent benefits and a 401k plan.
Location: Lawrence, KS (approx 30 minutes west of Kansas City)
Please submit resumes to:
Bernie Re <[EMAIL PROTECTED]>
Please submit questions of a technical nature to me:
Frank Wiles <[EMAIL PROTECTED]>
Stuff you
ike:
http:///User/display/7162
This works out well because whatever method you are calling probably
already knows what input you're needing. The userid in this
example.
-------
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
. What I would suggest is setting up a small
free Unix box ( Linux, FreeBSD, or whatever ) and moving the site
over in a development/testing enviroment that way you can see what
you are going to be up against for sure, in a relatively easy way.
-------
Fran
this.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
s how it
works.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
onfig.
Honestly I don't see any way around editing the config files short
of just using an Apache::Registry directory.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
s of output onto it throughout all our code, and print it at
the very end. I'd be interested in seeing benchmarks of this vs.
the other methods. I'll try to find the time to run them.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
've fixed it
by not using POSIX ( which is probably the more correct way to do it
anyway ), but I'm still interested in seeing if anyone else has
experienced this.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
esn't seem to contain a new
subroutine.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
en't attempted to use this in a mod_perl setting, but I can't
imagine any reason why it shouldn't work.
---
Frank Wiles <[EMAIL PROTECTED]>
http://frank.wiles.org
---
20 matches
Mail list logo