I have written a module for Apache which sets the X-Original-URI field
to the original URI when doing a ProxyPass, similar to what
mod_proxy_add_forward.c does for the remote IP address.
The code is available at http://tjmather.com/mod_proxy_add_uri.c
Any comments or suggestions welcome.
I've been writing a handler on a test box which uses the DBI-connect
method, no problem, only my Perl authoring skills are at fault.
Its based on Slackware 7.1, with Apache 1.3.14, mod_perl 1.24_01, and
mod_ssl 2.7.1. I have DBI 1.14 and msql-mysql 1.2215 with Perl
5.6.0. MySQL version is
Hi,
I wrote a script that search the mysql database. At first I ran it as
plain CGI it works well, but problem is when it runs with mod_perl -
it starts with seg fault, apache log:
[Sat Feb 24 10:44:51 2001] [notice] child pid 24856 exit signal Segmentation fault (11)
It seems that seg fault
I've been trying to use ActiveState Perl 5.6.0 (623) with Apache/1.3.14
(Win32). I've configured ScriptAlias and used proper #!/path/to/perl.
Apache spawns Perl process, but it never returns anything and hangs, hangs
and ... still hanging forever, even if I restart Apache child processes
Hello
I was wondering if the support for asp in apache also includes ODBC access from a asp
script to a MS Access database or other ODBC source.
Like it is posible in a MS Web server?
Kind regards
Jacques
"[EMAIL PROTECTED]" wrote:
Hello
I was wondering if the support for asp in apache also includes ODBC access from a
asp script to a MS Access database or other ODBC source.
Like it is posible in a MS Web server?
Perl database access is handled through the DBI layer,
check out:
Hi,
I want to do configure my mod_perl as:
"All the files having extension .cgi should be run as
standard CGI, except *fixname*.cgi , if any file match
*fixname*.pl , it should run as mod_perl. "
Is it possible to files having the same ext , but depend
on partial file name , apache
Hi,
I am using lots of exec cgi SSI in my site, all the
CGI called using exec are written in perl.
!--#exec cgi="standardcgi.cgi"--
I want to take advantage of mod_perl for performance,
but as I know "exec" will run as mod_cgi , not as mod_perl.
Can I use !--#include
If you build modperl with 'perl Makefile.PL EVERYTHING=1' (or, at least
with 'PERL_SSI=1', then your server side includes will have an additional
option that looks like this:
!--#perl sub="DoSomething"--
This will invoke routine 'DoSomething' when this page is expanded.
You'll need to
Here's another way around it. You could use HTML::Template in place of SSI.
Jamie
-Original Message-
From: Surat Singh Bhati [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 7:28 AM
To: [EMAIL PROTECTED]
Subject: possible solution for "exec cgi SSI" in mod_perl
Hi,
I am
I'm not quite sure how this works, and maybe I missed it in the Eagle book.
I have a handler set in httpd.conf like this:
Location /
Set-Handler perl-script
PerlHandler app::main
/Location
Now this works great when I want to go to the first page of the server.
However if I try
if you set a handler for / it will handle every request that way.
you can either have all pages that are generated be /foo/ and set
that as the location, or you can force all files with a certain
suffix to be handled by mod_perl: Files ~ "*\.pl".
sterling
On Sun, 25 Feb 2001, Jamie Krasnoo
[EMAIL PROTECTED] (Jamie Krasnoo) wrote:
I'm not quite sure how this works, and maybe I missed it in the Eagle book.
I have a handler set in httpd.conf like this:
Location /
Set-Handler perl-script
PerlHandler app::main
/Location
Now this works great when I want to go to the
Found a way around it. I used LocationMatch "^/$". Now it does what I want
it to do.
Thanks for your help guys.
Jamie
-Original Message-
From: sterling [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 9:26 PM
To: Jamie Krasnoo
Cc: Modperl
Subject: Re: Is it Apache or me?
if
14 matches
Mail list logo