I need to know if I have mod_perl already installed on my Linux box. I
am using Mandrake Linux 7.0 and I believe I installed mod_perl when I
initially installed the OS. How can I check? Thanks for the help.
Rich
Try httpd -l or httpd -L (if forgot which on or type httpd -help)
This will give you a list of compiled modules, you should see mod_perl.c
-Carlos
"Richard M. Lemanski" wrote:
I need to know if I have mod_perl already installed on my Linux box. I
am using Mandrake Linux 7.0 and I believe
Hello all,
If you have a mod_perl-enabled Apache server, how does it determine
whether the script you are sending to it is mod_perl or mod_cgi? I am
assuming the server scripts directory that you specify when running the
script from your web browser?
http://192.168.0.1/cgi-bin/cgi_test.pl --
"Darren" == darren chamberlain [EMAIL PROTECTED] writes:
Darren I recently started looking at the HTML:Stream package, and it looks
Darren pretty interesting.
Yes it seems interesting but I'll definitivefy try to switch to templates,
BTW the new CGI("") approach Bruce noticed seems to
Hi,
We have a mod_perl program which based on certain
parameters returns the gif which is to be displayed. We use
print "Location: http://192.168.1.2/smg/images/logo.gif'".
This means the browser makes 2 HTTP requests
1. To the CGI program to request for the location of the GIF
2. To the
On Thu, 13 Jul 2000, Differentiated Software Solutions Pvt. Ltd wrote:
Hi,
We have a mod_perl program which based on certain parameters returns the gif which
is to be displayed. We use
print "Location: http://192.168.1.2/smg/images/logo.gif'".
This means the browser makes 2 HTTP
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
The idea of a 404 handler will fit perfectly with mod_rewrite: I can
create a 404 handler that writes the page to a static file and to the
browser and a rewrite rule that redirects request of the dynamic
The problem I'm having is not to write the contents, the problem is to
get the contents I'm going to write. I must get the output of the
dynamic page (that can be CGI, PHP, SSI, or anything) before it's sent
to the browser... I'm now trying to do it with Apache::OutputChain.
[]s
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect:
The problem I'm having is not to write the contents, the problem is to
get the contents I'm going to write. I must get the output of the
dynamic page (that can be CGI, PHP, SSI, or anything) before it's sent
Hi,
I've come across some totally weird behaviour of Perl sections. I'm
enclosing a minimalistic httpd.conf that shows it. In order to test
it, create a directory called "zz", put it there, cd to that
directory, and run /usr/sbin/apache -f `pwd`/httpd.conf .
What it tries to do is get the
Of course, I forgot to attach the httpd.conf itself. Here it
is. Sorry.
--
Alex Shnitman [EMAIL PROTECTED]
LiveLinx Extensible Solutions Ltd.
AccessConfig /dev/null
ResourceConfig /dev/null
ServerType standalone
LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
ServerRoot /tmp
"DSSPL" == Differentiated Software Solutions Pvt Ltd [EMAIL PROTECTED] writes:
DSSPL We want to combine both into a single HTTP - request response
DSSPL sequence i.e., is it possible to read and return the gif file
DSSPL from within a CGI program itself. If so, how ??
It most certainly is not
Hi, unbuffered output in a handler just doesn't work for me:
Location /unbuffered
Options ExecCGI
SetHandler perl-script
PerlHandler My::Handler
/Location
package My::Handler;
sub handler {
my $r = shift;
$r-content_type('text/html');
$r-send_http_header;
while(1) {
Hi, unbuffered output in a handler just doesn't work for me:
[ details of setup and handler snipped ]
If I 'GET /unbuffered' in Netscape nothing is printed until I stop the
server. Setting $|++ does not help. Something is still buffering. This
is modperl 1.21 and Apache 1.3.12.
Any clues?
Steve van der Burg writes:
Hi, unbuffered output in a handler just doesn't work for me:
[ details of setup and handler snipped ]
If I 'GET /unbuffered' in Netscape nothing is printed until I stop the
server. Setting $|++ does not help. Something is still buffering. This
is modperl
Steve van der Burg writes:
Hi, unbuffered output in a handler just doesn't work for me:
[ details of setup and handler snipped ]
If I 'GET /unbuffered' in Netscape nothing is printed until I stop the
server. Setting $|++ does not help. Something is still buffering. This
is
Eric Cholet writes:
Steve van der Burg writes:
Hi, unbuffered output in a handler just doesn't work for me:
[ details of setup and handler snipped ]
If I 'GET /unbuffered' in Netscape nothing is printed until I stop the
server. Setting $|++ does not help. Something is
Is anyone running Catalog and Modperl? I read this
list often and my be of some help to some. And,
hopefully vice-versa.
[EMAIL PROTECTED]
__
Do You Yahoo!?
Get Yahoo! Mail Free email you can access from anywhere!
http://mail.yahoo.com/
Dirk Lutzebaeck [EMAIL PROTECTED] writes:
I've noticed that MSIE doesn't start displaying stuff until it has a certain
amount,
say a few hundred bytes. After that it displays just fine.
No, doesn't seem to matter in my case. Is there any place I can verify
that Apache has sent some
Chip Turner writes:
Dirk Lutzebaeck [EMAIL PROTECTED] writes:
I've noticed that MSIE doesn't start displaying stuff until it has a certain
amount,
say a few hundred bytes. After that it displays just fine.
No, doesn't seem to matter in my case. Is there any place I can
Dirk Lutzebaeck [EMAIL PROTECTED] writes:
Chip Turner writes:
You can always use the definitive test of tcpdump on the client
machine. Something like (on linux):
/usr/sbin/tcpdump -s 4096 -w packets.out src (host) and port 80
Then examine packets.out for what data is
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect:
No, doesn't seem to matter in my case. Is there any place I can verify
that Apache has sent some data to the client?
try:
$ telnet myhost 80
GET / HTTP/1.0
(two carriage returns)
You should see what the server is sending.
--- darren chamberlain [EMAIL PROTECTED] wrote:
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect:
No, doesn't seem to matter in my case. Is there any place I can
verify
that Apache has sent some data to the client?
try:
$ telnet myhost 80
GET / HTTP/1.0
(two
[EMAIL PROTECTED] (Luis Henrique Cassis Fagundes) wrote:
The problem I'm having is not to write the contents, the problem is to
get the contents I'm going to write. I must get the output of the
dynamic page (that can be CGI, PHP, SSI, or anything) before it's sent
to the browser... I'm
Paul [EMAIL PROTECTED] wrote:
--- darren chamberlain [EMAIL PROTECTED] wrote:
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect:
No, doesn't seem to matter in my case. Is there any place I can
verify
that Apache has sent some data to the client?
try:
$ telnet myhost
Hi all,
On Wed, 12 Jul 2000, Dan Rench wrote:
Watch out for those @INC push()es in your configs.
I used to have one of those in mine, and every time I did a kill -USR1,
@INC grew,
'sfunny, that happened to me even though I *wasn't* using a push.
Never got a reply to my question though...
Hello,
I compiled mod_perl using the simple command
perl Makefile.PL
make make install
then to add it apache, what is the commanf line because I tried
./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf
--activate-module=src/modules/perl/libperl.a
make make install
but I still
Andrew Chen [EMAIL PROTECTED] writes:
Hi, I'm researching the nicest way to migrate our CGIs to running under
mod_perl, and although they are too dirty to run under Apache::Registry,
Apache::PerlRun works just fine.
*snip*
How dirty is dirty?
If it's a case of assembling the globals into
I'm doing a clean install of mod_per and I saw the following warning:
defined(@array) is deprecated at /software/perl5.6.0/lib/site_perl/5.6.0/Apache/DBI.pm
line 135.
(Maybe you should just omit the defined()?)
Syntax OK
Anyone care about this? ;-)
Dave
--
Dave Hodgkinson,
On Thu, 13 Jul 2000, Andrew Chen wrote:
The second strategy is to get mod_perl to compromise between the effects
of PerlRunOnce On and PerlRunOnce Off. Is there an easy for for PerlRun to
flush everything (including packages) that wasn't preloaded in the
startup.pl file? That would be a
On 13 Jul 2000, David Hodgkinson wrote:
Andrew Chen [EMAIL PROTECTED] writes:
Hi, I'm researching the nicest way to migrate our CGIs to running under
mod_perl, and although they are too dirty to run under Apache::Registry,
Apache::PerlRun works just fine.
*snip*
How dirty is
Sheth, Niraj writes:
I also had the same problem, but withouth ssl.
i could think of two solution.
1. Modify front end apache's source code manually( i guess default is
HUGE_STRING_LEN (8k)), but it sounds little scary ..
so i opted for second choice ...
2.
in your
Hi all,
Damian Conway's "Object Oriented Perl" has been so highly praised on this
list that I had to run out an order myself a copy. The praise is not
without merit -- it's a marvelous book (and readable too!!!).
On p. 28 of his review of the "essential Perl" he talks briefly about a
hash
Perrin Harkins [EMAIL PROTECTED] writes:
Doesn't FastCGI have exactly the same issues with dirty code? It's an
honest question; I'm not just being difficult.
Almost. It runs in the main package as usual so at least you won't see
screams about "...won't stay shared..." and such. You also
On Thu, Jul 13, 2000 at 11:51:14AM -0700, Andrew Chen wrote:
The first one is that we have two types of files that are handled
differently, *.cgi (handled under PerlRun with PerlRunOnce On) and then
*.pr (handled under PerlRun with PerlRunOnce Off). The idea is that
everything runs under
On Thu, Jul 13, 2000 at 08:12:54PM +0100, David Hodgkinson wrote:
How dirty is dirty?
If it's a case of assembling the globals into a big "use vars qw//"
then that's OK. Boring but do-able.
There are problems like
$action = 'save' if $q-param('action') eq 'save';
We have a lot
Hallo,
I installed the Apache:DBI - modul for pers. conection and Auth over DBi,
the auth works but not the pers. connection. If i want to start the
startup.pl I get hte following error-messeage:
ERROR
bash-2.03$ perl startup.pl
Can't locate object method "module" via package "Apache" at
I have a stupid question, I lack a little basic
understanding regarding this:
Apache::NavBar from the Eagle book.
When I use the example configuration
Location /
etc
/Location
it works, i.e. html files have a navbar placed in
them,
but my other cgis come out as plain text.
I would like to
Rob Tanner ([EMAIL PROTECTED]) said something to this effect:
There's always more than one way to skin a cat, and I've tried several.
This is what I really want to accomplish:
my $colleague = {};
@{$colleague} = { "status",
"id",
"last_name",
I sent this question a few hours ago but it hasnt
shown up on the list so please ignore if youve already
seen it.
I tried out the Apache::NavBar example from the Eagle
book and it works nicely I get a navbar in my html
pages. But the problem is now my cgis are coming out
as text as well.
I
Hi there,
On Thu, 13 Jul 2000, Alex Shnitman wrote:
httpd.conf
I see that %port is a lexical but $Port isn't. Is that a clue?
73,
Ged.
On Thu, 13 Jul 2000, Andrew Chen wrote:
PerlRun already flushes everything, but from my understanding of it,
with PerlRunOnce Off mod_perl won't flush the packages that were loaded by
the CGIs.
What makes you think they need to be flushed? Are they things you wrote
in-house that didn't
On 13 Jul 2000, David Hodgkinson wrote:
Doesn't FastCGI have exactly the same issues with dirty code? It's an
honest question; I'm not just being difficult.
Almost. It runs in the main package as usual so at least you won't see
screams about "...won't stay shared..." and such.
I always
This may or may not have anything to do with mod_perl, but I am subscribed to
this list, so I figure I'll start here.
I have just compiled Apache/mod_ssl/mod_perl and installed it with essentially
no problems, but when I send a SIGHUP or SIGUSR1 to apache, it coredumps. This
didnt happen before
[EMAIL PROTECTED] writes...
Apache::NavBar from the Eagle book.
When I use the example configuration
Location /
etc
/Location
it works, i.e. html files have a navbar placed in them,
but my other cgis come out as plain text.
I would like to rectify this and more importantly I
I can serve requests with no dramatic changes in httpd size. However, each
"apachectl restart" causes the size of httpd (both parent and children
version) to grow by about 600K each restart. I'm new to this stuff, so I'm
sure it's me. Is it possible that the restart loads again the modules - ie,
On Jul 13, 2000 at 18:42:06 -0500, Rob Ries twiddled the keys to say:
I can serve requests with no dramatic changes in httpd size. However, each
"apachectl restart" causes the size of httpd (both parent and children
version) to grow by about 600K each restart. I'm new to this stuff, so I'm
At 09:28 13/07/2000 -0700, chris byrd wrote:
Is anyone running Catalog and Modperl? I read this
list often and my be of some help to some. And,
hopefully vice-versa.
I'm not 100% sure but I think that's what http://search.cpan.org uses,
which in turn iirc uses mod_perl. You can check all this
The uploaded file
Apache-AuthTicket-0.20.tar.gz
has entered CPAN as
file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthTicket-0.20.tar.gz
size: 11591 bytes
md5: e2f84546aa18b7afb1c8aead5ea3365f
Release 0.20
o Renamed module from Apache::TicketAccess to Apache::AuthTicket.
o
Hello everyone,
I am not sure what to do next. I have Mandrake Linux 7.0 that was
supposed to have Apache and mod_perl installed when I first built it but
every search that I have used to find mod_perl has turned up nothing. I
was going to compile mod_perl into Apache that came with Linux
50 matches
Mail list logo