Hi. I found and old thread about having rewrite rules inside
Perl sections in httpd.conf. In these mails it looks like there
is not an easy way to do this.
Is that still true ?
I've tried different guesses unsuccessfully:
$RewriteRule="^/(img/.*) http://other.server/$1";
Dear all,
There is some kind of confusion in my head, and the Eagle book seems
to me even more confusing. Any help appreciated.
First, I always thought that no_cache() does everything regarding
headers, and that you have just to turn it on or off.
However I discovered yesterday that, at least
Hi Gunther,
On Wed, 4 Apr 2001, Gunther Birznieks wrote:
Did you check under the bar...?
:)
Thanks for brightening my day, Gunther.
Wish I was under the bar with Matt.
73,
Ged.
Though I feel rather foolish, the fact remains that I can't seem to
find my SSL environment variables.
httpd.conf has
Directory /
SSLVerifyClient require
SSLOptions+StdEnvVars
# ...
/Directory
Exactly when and where are they set? For example, SSL_CLIENT_S_DN. Once
set,
Hi folks,
could anybody tell me whats wrong with www.activescripting.org ?
There are many links in the net for there OpenASP and I can't retrieve the sources.
There is no answer for weeks.
I tried apache:asp with mod_perl - works fine, but I need to transform ASP in VB from
MS-Server.
The
Dear All,
I'm trying to use AuthCookie to return a wml page for those lucky people on
wap browsers. I've got it all working nicely for normal web browsers, but
am getting errors on wap (and the Nokia Wap Toolkit doesn't tell me very
much about why it's an error). One thing that looks a bit
OK, more examination reveals that:
At the time this BEGIN block is running, this call:
my @keyfile_vars = grep {
$_ =~ /DBI_SecretKeyFile$/
} keys %{ Apache-server-dir_config() };
is returning EMPTY.
Meaning it's evaling too early to see the dir_config???
Apache (as in httpd) will set the 'Expires' header to the same value as the
'Date' header when no_cache is flagged in the request_rec. When your Perl
handler sets $r-no_cache(1), mod_perl (in Apache.xs) is setting the
'Pragma: no-cache' and 'Cache-control: no-cache' headers in addition to
Andrew Lau ([EMAIL PROTECTED]) said something to this effect on
04/04/2001:
I am currently developing a Perl based apache module and was
wondering if such a functionality was available. From within
the module would it be possible to modify the request object so
that the url that gets logged
Hello all,
Having some hard ( for me ) to track memory usage issues. We have moved
our production environment to a new machine with what we thought was
plenty of memory, but we seem to have an erratic bit of code somewhere
that eats all the available memory. We did not have this problem on our
Directory /full/path/to/htdocs/bin
Satisfy any
/Directory
or, assuming that "bin" is at the root level of your document root,
Location /bin
Satisfy any
/Location
- Original Message -
From: "Richard Anderson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 04,
In a private email someone mentioned that removing the \ before the $ might
make the messages more meaningful. That code was copy and pasted from the
current guide so if it should be $ and no \$ in front of UNIVERSAL then Stas
might want to know :^)
I changed it out and now it appears that it
[EMAIL PROTECTED] (Aaron Johnson) wrote:
In "the guide" it is recommended that a sub in the startup.pl file:
sub UNIVERSAL::AUTOLOAD {
my $class = shift;
warn "$class can't \$UNIVERSAL::AUTOLOAD!\n";
}
You'll get more useful information if you get rid
You don't need to trap DESTROY calls. But if you're defining an AUTOLOAD,
you typically want to just return if the subroutine being called is DESTROY.
Thanks,
Tim Tompkins
--
Staff Engineer / Programmer
http://www.arttoday.com/
How about writing your own log handler
PerlLogHandler My::LogModule
or in your code
$r->push_handler(PerlLogHandler => \MyLoghandler);
sub MyLoghandler{
my $r=Apache::Request;
code to log info to file
}
the push_handler method does not pass the request object to the subroutine.
Andrew Lau
I've just started having problems with asp state files for Apache::ASP
2.09 becoming corrupted during use. My application will work just fine but
at somepoint the session asp state files get corrupted and only deleting
them allows the application to continue working. Oddly, this occurs on two
So should the entry in the Guide be rewritten to:
sub UNIVERSAL::AUTOLOAD {
my $class = shift;
if ($UNIVERSAL::AUTOLOAD !~ /DESTROY$/) {
warn "$class can't $UNIVERSAL::AUTOLOAD!\n";
}
}
??
Tim Tompkins wrote:
i think that it should be:
warn "\$class=$class can't \$UNIVERSAL::AUTOLOAD=$UNIVERSAL::AUTOLOAD!\n";
leads to less grepping and a quicker understanding of the problem.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Aaron Johnson wrote:
So should the entry in the Guide be rewritten to:
On Wed, 4 Apr 2001, Ken Williams wrote:
[EMAIL PROTECTED] (Aaron Johnson) wrote:
In "the guide" it is recommended that a sub in the startup.pl file:
sub UNIVERSAL::AUTOLOAD {
my $class = shift;
warn "$class can't \$UNIVERSAL::AUTOLOAD!\n";
}
In addition: here are the httpd.conf configurations for this application:
FilesMatch "\.(htm|asp)$"
PerlSetVar Global /usr/local/etc/infosource/apps/netcfg/
# PerlSetVar Global .
PerlSetVar GlobalPackage INAP::NEIS
PerlSetVar StateDir
I'm looking to see if anyone can verify whether the following behavior is a
Feature or a Bug. From within a PerlRequestHandler:
my $content = $r-content();
my $cookie = CGI::Cookie-parse( $r-headers_in-get('Cookie') );
works fine, but the reversed code:
my $cookie =
Carl Lipo wrote:
I've just started having problems with asp state files for Apache::ASP
2.09 becoming corrupted during use. My application will work just fine but
at somepoint the session asp state files get corrupted and only deleting
them allows the application to continue working. Oddly,
22 matches
Mail list logo