Alexander Solovey's clues to compile mod_perl were a godsend...
But now I'm pulling out my hair trying to compile libapreq under Cygwin.
I get the following string of errors...
# Begin Snippet
...
LD_RUN_PATH=/home/Administrator/.cpan/build/libapreq-1.0/Request/../blib/arch/a
uto/libapreq ld2
Hi JAPHs,
Is it possible to force a 404-error from within a mod_perl CGI?
I am working on my CMS and I want to generate a 404 if the user hacks
the URI in a certain way: i.e, if the use passes a value in the URI that
does reference a database record. I can (and have) trapped such an
event and
On Thu, 16 May 2002, Jonathan M. Hollin wrote:
Is it possible to force a 404-error from within a mod_perl CGI?
I'm not sure what you mean by a mod_perl CGI. Anyway, basically you
need to return the 404 error code in the HTTP response and provide some
helpful HTML.
In CGI this can be done
Hi!
On Thu, May 16, 2002 at 11:40:49AM +0100, Jonathan M. Hollin wrote:
Is it possible to force a 404-error from within a mod_perl CGI?
What about returning NOT_FOUND from your handler and let an ErrorDocument
print out the warning?
See Chapter 4, Handling Errors, in the Eagle book.
--
Michael E. Lewis wrote:
I sure hope I'm not asking a stupid question here. We are
preparing to upgrade our production mod_perl servers:
From: To:
RedHat 6.2 RedHat 7.2
kernel-2.2.19-6.2.7 kernel-2.4.9-31
Apache_1.3.12 Apache_1.3.23
Konstantin Yotov wrote:
On my
development machine everything was ok, but when I move
to productional server the mod_perl version works
twice slower than mod_cgi.
Start by making sure you really have mod_perl installed and your scripts
are running under it, and not mod_cgi. You can verify
At 17:38 15.05.2002, Konstantin Yotov wrote:
Hello! :)
I'm webmaster for a small site about /3000 hits and
4 host daily/. I rewrote my cgi scripts for
mod_perl/made all global variables local and etc/
following the instructions of mod_perl guide. On my
development machine everything was ok,
I have installed Randy Kobes' 5-10-2002 Apache-2/modperl-2 Win32
binaries on a Win2k Professional P3 uniprocessor development machine. I
have left all of the startup.pl script as is. Everything works
great--however, with some scripts I seem to still suffer from 1.3-style
locks on the perl
I have a script that needs to be run when some one goes to the site:
www.mysite.com/
it seems like the different ways that I've tried simply run the script
through the normal cgi scenario without using perl-handler. Am I
missing something obvious with httpd.conf?
Try DirectoryIndex.
adam nelson wrote:
I have a script that needs to be run when some one goes to the site:
www.mysite.com/
it seems like the different ways that I've tried simply run the script
through the normal cgi scenario without using perl-handler. Am I
missing something obvious with
Hi All,
After resonablly extensive searching on the internet i have still come
up with not much in terms of a good site map builder.
Does anyone know of a good mod_perl (or lacking that, even a java
applet) solution.
The system we have here is completely written in mod_perl so it would be
or try in the perl.conf
Location /
SetHandler perl-script
PerlHandler My::HandlerPackage
/Location
-Original Message-
From: Dzuy Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 3:12 PM
To: [EMAIL PROTECTED]
Subject: Re: default page
Try
Hello All.
I am trying to install Apache::DB and am getting the following error:
+
make test
cc -c-DVERSION=\0.06\ -DXS_VERSION=\0.06\ -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE DB.c
In file included from /usr/include/sys/time.h:289,
from
13 matches
Mail list logo