compatibility problem

2002-05-16 Thread Jie Gao
Hi all, I've been trying to get httpd-2.0.35 + mod_perl-1.99_01 work with backward compatibility. MY startupl.pl: #! /usr/bin/perl use lib '/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache2'; use strict; use Apache::compat (); use Apache2 (); use My::AuthCookieHandler; 1; and this script won't

Apache::DB

2002-05-16 Thread Gregory Matthews
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 /usr/

SiteMap Builder...

2002-05-16 Thread simran
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 go

RE: default page

2002-05-16 Thread Joe Breeden
or try in the perl.conf SetHandler perl-script PerlHandler My::HandlerPackage > -Original Message- > From: Dzuy Nguyen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 3:12 PM > To: [EMAIL PROTECTED] > Subject: Re: default page > > > Try DirectoryIndex. > >

Re: default page

2002-05-16 Thread Dzuy Nguyen
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

default page

2002-05-16 Thread adam nelson
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?

[2.x] Windows interpreter-wide locking due to modules?

2002-05-16 Thread James Luberda
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 interpet

Re: mod_perl and mod_cgi

2002-05-16 Thread Per Einar Ellefsen
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

Re: mod_perl and mod_cgi

2002-05-16 Thread Perrin Harkins
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 verif

Re: Error messages for VirtualHosts written to wrong log

2002-05-16 Thread Geoffrey Young
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 >

Re: Force a 404 error?

2002-05-16 Thread Thomas Klausner
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. -- D_

Re: Force a 404 error?

2002-05-16 Thread Mark Fowler
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

Force a 404 error?

2002-05-16 Thread Jonathan M. Hollin
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 t