I do it by treating the request as something transient - in other words
assuming that interpreter state is maintained between requests, and
resetting or recreating all the objects I use to process the request in my
fixup handler.
I make use of the persistence by having a singleton that maintains c
Hi folks,
I have a mod-perl app on the receiving end of a POST from a credit card
company, and they are sending the data as application/x-www-form-urlencoded
but they aren't URL-encoding UTF-8 characters. When I give that malformed
data to Apache2::Request it refuses to see any POST variables ata
André Warnier wrote:
"application/x-www-form-urlencoded" is the default, and it means that
you are passing the form data appended at the end of the URL, preceded
by a "?" sign, as one long string of the form
"name1=value1&name2=value2..." etc..
usually known as "the query string".
That is easy
André Warnier wrote:
In those name/value pairs, according to HTML 4 at least, the names
must begin with a letter [A-Za-z]. The empty string does not do so.
Garbage in, garbage out.
+1
+ :
Above the OP is talking about a request "body". Are we sure that this
is really a request body, and n
Hi mod_perl list,
We're using more and more javascript to do clever things with forms, and
I think we broke the Apache2::Request parser, but wanted to check before
reporting it as a bug. (and tell me if this should go to the apreq list)
With the following request body:
i1=drnk4&basket%3A_ne
André Warnier wrote:
If it's too off-topic nevertheless, just send me packing, I won't insist.
I might be alone in this but I think apache memory use is something all
heavy mod_perl users have to get to grips with, so I mentally
s/java|tomcat/mod_perl/g'd and read your very long email
B
Torsten Foertsch wrote:
On Wed 17 Sep 2008, grsvarma019 wrote:
But , i couldn't find how to extract the protocol(http or https )
There are Apache2::ModSSL and Apache::SSLLookup on CPAN in case you need
that information in a request phase prior to the ResponseHandler.
I had the sam
Geoffrey Young wrote:
I wanted to redirect the user's browser, and in my response handler I
was setting $r->status(302) but returning Apache2::Const::OK instead of
the correct Apache2::Const::DONE.
return Apache2::Const::REDIRECT
Unfortunately I can't easily do that here - I have plug-in modul
Hi folks,
I had a bug with an interesting side effect which I want to understand.
I wanted to redirect the user's browser, and in my response handler I
was setting $r->status(302) but returning Apache2::Const::OK instead of
the correct Apache2::Const::DONE.
This caused Apache to perform an i
Well thanks! Under regular CGI, every time your browser requests a page,
Apache has to find your script, load Perl, compile your script and any
modules you use, run it, and exit Perl. Under mod_perl, all the loading and
compiling is done when Apache starts, not on every request - it's doing fa
william wrote:
On Thu, May 22, 2008 at 4:30 AM, John ORourke <[EMAIL PROTECTED]> wrote:
william wrote:
It will write a few characters only, not complete. Is there a thread
problem or something ?
You need to explicitly close the file - under CGI, your program exits at the
william wrote:
Let's say if I have
$ruleStr = "aa eee";
open(PARSER,">$self->{parser}.pm");
print PARSER $ruleStr;
It will write a few characters only, not complete. Is there a thread
problem or something ?
You need to explicitly close the file - under CGI, your p
Many, many thanks for the input everyone - naturally it turned out to be
a case of RTFM but here's a summary of the simplest ways to do it. I've
no idea how I missed these in the docs, though I am at the
bang-head-on-wall stage of development.
(I'm going on the assumption that the proxy may n
Hi folks,
I can't seem to find a way to retrieve the inbound port number during
requests.
I have a server listening on multiple ports, and need to know which one
the request came in on. Here's the setup:
apache config:
Listen 127.0.0.1:81
Listen 127.0.0.1:82
NameVirtualHost *:*
Hi folks,
I'm curious - can anyone explain what actually happens internally if you
try to read more from $r->read() than specified in the Content-Length
header?
I noticed when trying subsequent calls to read after all bytes had been
read that it truncates the buffer, which I guess is underst
Hi folks,
I have an MVC-style system which passes the request object to various
modules until one of the 'accepts' it.
I'm using Apache2::Request to parse incoming form parameters which is fine.
The problem is that some of these modules want to read XML or Multipart
MIME from the request bod
Expertly brought back on topic there, Torsten... if I ask about the
price of beans and how it relates to global warming can you give me a
mod_perl related answer? :)
John
Torsten Foertsch wrote:
On Fri 11 Apr 2008, John Zhang wrote:
We have a situation that we would like to restrict the
a
André Warnier wrote:
In a similat setup, I successfuly use
my ($self, $r) = @_;
Colin Wetherbee wrote:
PerlAccessHandler JetSet::Handler->AccessHandler
PerlResponseHandler JetSet::Handler->ResponseHandler
The only down-side is that (AFAICR) it is creating a new object for each
request - my h
Geoffrey Young wrote:
John ORourke wrote:
Eli Shemer wrote:
For some reason the following test doesn’t print anything out to the
screen
I'm not sure why you get nothing, but I can tell you strings read
from Apache objects come through as octets and need to be decoded
before use.
Eli Shemer wrote:
For some reason the following test doesn’t print anything out to the
screen
Do I need to change something in the apache configuration, or mod_perl’s ?
/articles_read.pl?id=חוזרת
## get http parameters
$r = shift;
$apr = Apache2::Request->new($r);
print $apr->pa
Hi folks,
Slightly OT but hopefully someone on here has had similar experience.
I've got a site with fairly heavy traffic and a light/heavy apache
setup. Occasionally the back-end servers seem to get swamped and
suddenly every request from the front end starts getting a 502 proxy
timeout un
Jie Gao wrote:
and quirks of virtualisation, performance is actually weird (a new way of
describing performance).
I tend to achieve an average 0.6 wierds, although in the summer it can
reach 0.72 wierds.
John
Roberto C. Sánchez wrote:
On Fri, Feb 22, 2008 at 09:52:30AM +, John ORourke wrote:
Mine start at around 60MB, jump to 80MB when my app is initialised, and
can peak at 120MB during their lifetime. For reference I tried making
the tiniest possible one with everything stripped out, and
Hi folks,
I'm trying to make my apache processes as small as possible, and one
thing I find lacking in optimisation guides is actual real world process
sizes.
So... how big is yours? ;)
Mine start at around 60MB, jump to 80MB when my app is initialised, and
can peak at 120MB during their li
Ward Loockx wrote:
I've written a ldap auth-authz module in mod_perl but when I give in
wrong username/pass I need to close my browser in order to get the
login screen again. When I try to refresh without closing I'm getting
the following message wich is obvious
Authorization Required
Fir
Alx G wrote:
Thanks for the tips John, however as I mentioned in my previous post, I did
in fact try it with the DB->init call and it made no difference. Also, the
tmon.out files *are* being created by the apache process so that's not an
issue either.
I misunderstood, sorry. If you're getti
Alx G wrote:
I'm running Apache 2.2.3, the conf has the following in it:
--
...
LoadModule perl_module modules/mod_perl.so
# Perl profiler
#
#
#require Apache::DB;
#Apache::DB->init;
#
PerlModule Apache::DProf
...
--
I tried with and without the commented stuff - as was suggested in th
Colin Wetherbee wrote:
John ORourke wrote:
Colin Wetherbee wrote:
Wouldn't a simpler approach be to just restart Apache when you want
to update the lists? You could even have the 'add to list' function
send SIGUSR1 to the parent Apache, causing a graceful restart.
I
Colin Wetherbee wrote:
At the moment (and not in a production environment), every time the
drop-down list is generated for a web page, the script queries the
database to retrieve the entire list of aircraft. I would prefer to
retrieve the list of aircraft when each Perl interpreter starts and
Jeff Pang wrote:
vhA's programs are running under /path/a/cgi-bin, but actually, the programs of
vhA can access vhB's directory (ie,they can open and write some files in
/path/b/). vice versa, the programs of vhB can access vhA's directory.
It's not really a mod_perl thing but you need to
Raymond Wan wrote:
I was wondering if it was possible to delete cookies. I read that
using Javascript, cookies can be deleted by setting it to a time in
the past. I'm not sure how to do it in Mason, though. I think I know
how to get a cookie and also to set a new one and send it out. But, I
Hi folks,
I appear to have found a bug, possibly in perl's utf8 handling but I
need to create a test to make sure. I have a workaround which is
surprisingly simple, hopefully someone can explain it!
I'm not using the 'mp2bug' template because I have 2 different
architectures, 1 which exhibi
Hi folks,
I'm sure this has cropped up in the past but I can't see anything
obvious in the archives (regex search on the archives would be great!)
I have some apps where users want to add extra domains and I'd like to
do it on the fly if possible - in other words, modify the ServerAlias
list
lists user wrote:
On 11/22/07, Ben van Staveren <[EMAIL PROTECTED]> wrote:
You can time how long it takes for someone to download the movie,
which isn't equal to the time it takes them to view it.
Yes I just need the download time.How can I get it? use which handler
and which function?
Jonathan Swartz wrote:
We want to periodically analyze our apache error logs, and send out
email reports with
TIA for any pointers!
Seconded, that'd be truly useful. I'm currently working out how best to
do a weekly 'sweep' for recurring or unusual errors in the logs - things
that may not a
Octavian Rasnita wrote:
At the address
http://www.guindilla.eu/blog/2006/12/31/deployement-nginx-reverse-proxy-my-network/
I found the text below. Does anyone know if it is still true?
Pound (http://www.apsis.ch/pound/index_html) is light-weight, easy to
I can disagree -- nginx does everythi
Jonathan Vanasco wrote:
Pound (http://www.apsis.ch/pound/index_html) is light-weight, easy to
I can disagree -- nginx does everything that pound does, plus will
handle your vanilla static files and even use fcgi to handle php and
other stuff
Reading these responses I think a generic config is
Hi folks,
I'm about to write a generic set of init scripts and config files to
make setting up dual apache servers (one light proxy/cache/ssl, one
heavy mod_perl) easy.
Am I reinventing the wheel?
If not I'll post a link here when I'm done.
cheers
John
Hi folks,
I have a nice stable app that's been steadily maturing over 2 years,
written in mod_perl from scratch. I've learned lots and currently have
a dual-httpd reverse proxy/cache approach which works really well even
on 'normal' size boxes - 2GB RAM, 3GHz single CPU, 32 or 64 bit.
I now
Hi folks,
Is it possible to get apache to log which modules are being called at
request stage?
If it is possible that should pinpoint my problem - if it's not
possible, read on...
I appear to have a subrequest being generated in some cases between my
fixup handler and response handler. My
If you'll pardon the devil's advocate bit...
Caching isn't really the issue - you can use mod_cache, or make your own
using CSS::Minifier. I think Bjorn was questioning the
Apache2::Filter::Minifier:: approach.
Here's a different take on Apache2::Filter::Minifier. I run a small web
dev sho
Perrin Harkins wrote:
On 10/13/07, John ORourke <[EMAIL PROTECTED]> wrote:
My simple CMS has become a bit of a behemoth, and I want to complete its
transformation into Optimus Prime by allowing my developers to write
plug-in modules in PHP, Java etc.
The PHP and PHP::Include m
David Scott wrote:
I really want to believe that "enterprise" systems are better than
simple ones. I really want to believe that tools like Eclipse improve
productivity. And I really want to believe that Zend/PHP is doing
something new by "integrating" with other languages on "enterprise"
pl
Hi folks,
My simple CMS has become a bit of a behemoth, and I want to complete its
transformation into Optimus Prime by allowing my developers to write
plug-in modules in PHP, Java etc.
I read this:
http://www.regdeveloper.co.uk/2007/10/12/java_application_server_zend/
(summary: php and java
Carl Johnstone wrote:
Looks like somebody has managed to subscribe one of the PayPal support
email addresses to the list...
No - a zombie somewhere sent an email with 'from' address
[EMAIL PROTECTED], 'to' address [EMAIL PROTECTED], a subject
line from the modperl list and with the message "m
Perrin Harkins wrote:
On 9/24/07, John ORourke <[EMAIL PROTECTED]> wrote:
ProxyPreserveHost
directive which preserves the HTTP Host header when passing the request
on - am I right in thinking the docs need to be corrected, and this is
no longer an issue?
It's no longer
Hi folks, I'm just implementing the usual light/heavy httpd setup with
mod_proxy and mod_cache and have a couple of queries.
The setup is simple - port 80 is my light httpd, serving static and
nearly static content, using mod_cache and mod_proxy to send some
requests to the heavy mod_perl engine
Matthieu FEREYRE wrote:
kill -USR1 apache_pid
do that extremly well but apache doesn't have the rights to launch it
from perl !
Try writing a script which does it - eg.
#!/bin/sh
/etc/init.d/apache restart
put that somewhere and make it setuid root, then in your perl code call
system("/
Marc M. Adkins wrote:
Well, I _am_ using XSLT for my template expansion. That kind of makes
XML important.
Thanks for the responses, and that's about what I figured I would try.
Just wondering if anyone would answer "no it won't work because..."
Let us know how it goes - using XSLT that way
Marc M. Adkins wrote:
The other side of this is that the response handler generates XML and
the output filter handler consumes it. I was thinking that I should
be able to hang the XML object (not the text representation thereof)
on the request object and avoid the overhead of printing the XML
Jonathan Vanasco wrote:
i think the only way around it was to recompile everything from scratch.
generally speaking though... don't run mod_php and mod_perl on the
same server. you're just going to bloat apache and tie up resources.
I'm running both on Fedora Core 5 and 6, but I had to tweak
Jens Helweg wrote:
I thought perl -c mymodule.pm is no option when developing modperl
handler modules because these will only run/build in the apache
modperl environment and not on command line ?
Not sure about your windows environment but a command-line perl -c works
just fine for me on module
Geoffrey Young wrote:
and AuthType/AuthName
directive,
but that is not :) you might run into trouble if you don't define those
directives, but their absence won't prevent the auth phases from running.
Interesting and useful! In that case we need a doc patch - see
http://perl.apac
Hi Martijn,
http://perl.apache.org/docs/2.0/user/handlers/http.html is your friend...
Authen is only called if there is a 'require' and AuthType/AuthName
directive,
Authz is only called if Authen is successful.
cheers
John
Martijn wrote:
Hello.
I'm doing some testing/debugging on a newly b
[EMAIL PROTECTED] wrote:
Do you know where has the sources for popular web structure for a high
traffic site?Such as HA,load balance,cache,db pool,etc.
Assuming you're using MySQL, there are some superb seminars available at
http://www.mysql.com/news-and-events/on-demand-webinars/ - however
t
Jonathan Vanasco wrote:
On Jun 22, 2007, at 4:13 AM, Clinton Gormley wrote:
Disadvantage:
- you can wait for up to a minute before the mail gets processed.
Although, with Schedule::Cron, you can schedule jobs every second
The database idea has some good uses - I run 120 shop sites and of
get stuck on DNS lookups for address
verification.
cheers
John
Frank Wiles wrote:
On Mon, 18 Jun 2007 16:51:18 +0100
John ORourke <[EMAIL PROTECTED]> wrote:
Hi folks,
I'm wondering what modules people use for sending email? At the
moment I'm using MIME::Lite but I
Jonathan Vanasco wrote:
On Jun 18, 2007, at 5:05 PM, John ORourke wrote:
$version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1;
that won't work, because that requires mod_perl to be loaded.
the original poster said:
"How do I check what version of Apache is installed from com
_spitFIRE wrote:
John ORourke wrote:
use Apache2::ServerUtil;
IMHO, doesn't this itself mean that you have Apache 2.x.x installed?
Ah, you didn't say you were detecting v1 or v2 - I thought you just
wanted to know the .x.x bit!
If you're just after a &
_spitFIRE wrote:
When I don't know where apache is installed, how do I do this? I was asking
for a way to write a perl script that would give me the version of apache
installed, if possible!
use Apache2::ServerUtil;
$version = Apache2::ServerUtil::get_server_version()
hth,
John
Hi folks,
I'm wondering what modules people use for sending email? At the moment
I'm using MIME::Lite but I'm doing several things myself which a bigger
module might do for me:
- header encoding - I can't find any modules which will Q- or B-encode
headers that have the UTF-8 flag set
- UT
Hi, I know this isn't the apreq list but
I don't suppose anyone has an example of subclassing APR::Request::Param?
I'm trying this:
package My::Handler;
sub handler {
...
my $query=Apache2::Request->new();
my $params=$query->param();
$params->param_class('My::Param::UTF8');
.
Thanks Gents,
I've got a certain level of abstraction as per Jonathan's approach,
which I can just add the libapreq method.
The note about DBD::MySQL is interesting, I was wondering about that!
cheers
John
Clinton Gormley wrote:
Hi John
I've been using libapreq, which has a charset method
Hi folks,
I've been dragged kicking and screaming into the 21st century and am
making my mod_perl application fully utf-8 aware and transparent. It's
all going OK but I want to know if anyone has a better solution to
receiving form data containing non-ASCII chars.
Output is fine - I can ove
Check out a similar module I wrote last year for mod_perl:
http://www.versatilia.com/downloads/Apache2/Cookie/Validated.pm
It's designed to store simple hashes.
I still haven't got around to putting it on CPAN but have been using it
happily for 18 months and it has a couple of features you mig
Perrin Harkins wrote:
On 5/11/07, John ORourke <[EMAIL PROTECTED]> wrote:
Any idea why Apache::DProf would be failing to list some subroutines
that are definitely being called, in the tmon.out file?
Yes. You're probably loading some of your code before initializing
the deb
Geoffrey Young wrote:
Jeff wrote:
Not sure if its relevant, but from general Perl usage, Devel::Profiler
often fails to properly recognise function names if its USE statement
ends up being executed before your classes have been USEd.
yes, because Devel::Profiler scans for then during it
Hi folks,
Any idea why Apache::DProf would be failing to list some subroutines
that are definitely being called, in the tmon.out file?
I grepped all sub references from tmon.out and it's listing my method
handlers, it's listing some of my constructors, and its listing some
object methods, bu
Hi folks,
Recently I needed to track down some slow page-load times on a
production server, so I took the performance hit and stuck Devel::DProf
on it for a few hours, but then had to get an overall picture.
So I wrote a little script to merge multiple tmon.out files - help
yourselves:
htt
Hi folks,
I just discovered Frank's article on debugging mod_perl... man have I
been coding in the dark ages!
I need to run it on a production server and can't keep the no. of
children at 1, so does anyone know if the tmon.out files from all the
apache children can be merged somehow?
It lo
Come on people, someone's gotta do this for a laugh...
&{"do_".lc(($r->uri()=~/(\w+)\.com\//i))}();
sub AUTOLOAD { return undef; }
sub do_google { }
sub do_yahoo { }
Yeah so I'm bored and ready for home...
John
Hi folks,
I might be having a blind moment, this is probably in the docs but
please pity the stressed coder...
q1) can I put multiple handlers in a call, like: push_handlers(
PerlAccessHandler=>\&access, PerlAuthenHandler=>\&authen ) ?
q2) when set_handler is called, it's only setting the
Not really mod_perl but possibly of interest - here's my version, untested:
#!/usr/bin/perl
use SOAP::Lite +trace;
use Data::Dumper;
$soapobj=SOAP::Lite->service('https://myserver.myhost.com/services/EndUser?wsdl');
$soapresult=$soapobj->getUser('wombat104');
if($soapresult->fault){
print "FAU
I am currently doing something similiar, I just modify the URL to that
of the script to be called.
But I need to generate the HTML code from *within* the authen handler
(needs dynamic generation etc.).
Ah I see - probably best not to output stuff at that stage as it could
confuse the
Hadmut Danisch wrote:
how would I generate a web page (i.e. a login form) from a authen
handler in the case that the user is not authenticated yet ?
Can the authen handler generate HTML code and pass it back to the
client as an immediate reply?
The authen handler can simply return the right
Martin Moss wrote:
It's been a while since I've posted, but I have a new
project which has a SOAP interface. I have limited
experience with SOAP, so I was wondering if there is a
consensus of opinion as to what the best modules to
use are?
I'm with Perrin, SOAP::Lite is the one. I've successf
No problem Lin - I'll post a URL soon!
Lin wrote:
Hi John,
The custom config directives take a bit of time to figure out but I'm
happy to send source code off list.
Why not in-list? I'm interested and there might be others.
Cheers,
Lin
I just realised you're talking per-real-server not per-virtual-server,
in which case you could make a custom directive or a PerlSetVar outside
of a .
The custom config directives take a bit of time to figure out but I'm
happy to send source code off list.
cheers
John
Jonathan Vanasco wrote:
Jonathan Vanasco wrote:
I'm trying to figure out a way to store them in a semi-standard manner.
The only thing i can think of right now, is writing a 'server root'
variable for the dir in which I am installing my mp app, and reading
it based on that.
Not sure if this'll help but for virtual-se
Hi Jonathan,
Jonathan Vanasco wrote:
I've got a question about Server Side image maps
I'm sure you're aware of the accessibility implications of server-side
image maps and you have a valid reason for using these travesties of
useability, so...
How can I reliably catch this under libapreq
Thanks for all the advice guys - due to pressure from the customer I'm
going to concentrate on optimising the app and then look into the server
optimisations. It's suffering from inner-platform-effect at the moment
(http://thedailywtf.com/forums/69415/ShowPost.aspx ) so the DB is doing
way too
Hi folks,
Not sure if this is mod_perl related but the logic goes I've never had
this issue on a non-mod_perl server...
I've got a busy server with quite a few problems, but one in particular
is very odd.
Occasionally the DB gets a bit bogged down and starts taking a while to
respond (opti
Perrin Harkins wrote:
On Mon, 2007-01-15 at 13:02 -0600, Frank Wiles wrote:
Not being a MySQL guy this could be fixed now, but last I heard
MySQL tossed it's cache anytime the table was updated. Not very
efficient IMHO.
Yes, modifying data in a table invalidates the cache fo
Hi folks, please humour me with this slightly OT RFC...
So I've re-invented the wheel (or MVC framework) and need to make it
efficient. A high-traffic site is using the system and is causing me
some grief...
Some questions have come up re efficient caching:
- MySQL caches compiled statement
I wouldn't really call this a modperl question but regardless...
Chris Schults wrote:
It appears that the "+" is getting stripped out at some point as the
script is returning results for "water pollution" instead of
"water+pollution". Is it possible that Apache is the culprit or should
we be loo
cfaust-dougot wrote:
I'm always passing a relitive path to "Location" so I didn't think it
would matter.. Sure enough once I simply added 'Path => '/'," to all
my cookie create statements, SUCCESS!!!
Yay! Has to be said I only thought of the hostname because I do the
path out of habit!
By th
Ummm... this should be obvious but are you redirecting to a different
hostname?
In your code you're not explicitly setting the cookie domain or path, so
the browser will only send the cookie to pages with the same hostname.
That would explain why you don't see it on the redirect...
Note tha
cfaust-dougot wrote:
I've tried both Apache2::Cookie and APR::Request::Cookie (from the
posts I read I got the impression it was better to use
ARP::Request::Cookie then Apache2::Cookie).
Definitely. You also need to read the man pages, but I've saved you the
trouble...
$r->err_headers_out->
onto /content//some/path,
so I wanted to enable/disable it in .
I can tell my custom config to write config values into the server config.
cheers
John
Geoffrey Young wrote:
William A. Rowe, Jr. wrote:
Fred Moyer wrote:
On Fri, 27 Oct 2006, John ORourke wrote:
Hi folks,
I
Hi folks,
I've implemented some custom config directives, works fine.
However, when my MapToStorage handler asks for the per_dir_config hash,
it seems to be getting the server config - all other handlers get the
per-dir no problem.
Any ideas?
cheers
John
Jordan McLain wrote:
just noticed... in the actual code 'handler' is prototyped with ($$)
sub handler {
my ($class, $r) = @_;
my $self = ... # something hashref-ish
I will end up writing another "new()" for use when not called directly
from apache. Is this bad style, since the method
Thanks Adam, not sure why but I didn't look under ModPerl::Util::
Adam Prime x443 wrote:
That should be ModPerl::Util::current_callback for 2.0.
Hi folks,
I can't find anything in the docs (not really sure what to look for) - I
want to retrieve the current phase from within a handler.
Basically I'm trying to implement a per-directory PerlOptions type
directive, so I can turn phase handlers on and off per-directory not
just per-server
Greger,
Greger wrote:
Is there anything in particular that one should take into account regarding
modperl and design patterns vs trad CGI-scripting?
As for now, I return XML from the package methods, and use XSLT for the
transformation to XHTML. This works very well, seems flexible, but are th
Arshavir Grigorian wrote:
I am wondering if anyone has experience with a framework for
dynamically loading certain modules into an application and executing
certain code based on whether a certain module is loaded (available or
not). By "dynamically", I do not mean loading run-time, only being
a
Hi folks, hope this isn't too OT.. just dipping my toes in the water here.
This may not happen (depends on funding) but I'd really like to know if
there are any UK based mod_perl coders who are either contractors or
fancy a bit of out-of-hours work, so I have a case to present to my
business p
Cristi Barladeanu wrote:
Hello,
I come back with more details. This is my complete conf in Apache's
sites-enabled:
I can't see the problem but I would say you should probably have the
"SetHandler" outside the bit - currently it doesn't look like
your PerlTransHandler will run, but I
Jonathan Vanasco wrote:
my mp2 needs to get the ip of the remote address
on some installations, mp2 is on port 80
on other installations, mp2 is on 80xx and the ip is in X-Forwarded-For
You could re-write the remote IP at an early stage - add a
PerlFixupHandler or PerlTransHandler which goe
Not exactly a mod_perl question but I'm sure it's something we've all
thought about before...
Vladimir S. Tikhonjuk wrote:
I want to make a Database Authentication for my site. I have a
PostgreSQL Database. I made a connect_on_init
by user 'web_user' to the database.
The question is: whe
Michael Peters wrote:
John ORourke wrote:
You could even do something really clever and make it map URI onto
module - eg. so /debitor/contract/create calls
Debitor::Contract->create(), but that wouldn't be very secure!
You could use something like Apache::Dispatch to achieve
1 - 100 of 161 matches
Mail list logo